| /onnv/onnv-gate/usr/src/lib/libstmfproxy/common/ |
| stmftransport.c | 77 int sfd, new_sfd; local 84 if ((sfd = socket(AF_INET, SOCK_STREAM, 0)) <= 0) { 92 if (setsockopt(sfd, SOL_SOCKET, SO_REUSEADDR, &on, 105 if (bind(sfd, (struct sockaddr *)&serv_addr, 112 (void) listen(sfd, 5); 114 new_sfd = accept(sfd, (struct sockaddr *)&cli_addr, &cliLen); 124 close(sfd); 139 (void) close(sfd); 145 (void) close(sfd); 152 while (connect(sfd, (struct sockaddr *)&sin [all...] |
| /onnv/onnv-gate/usr/src/cmd/ipf/lib/common/ |
| ipft_sn.c | 47 static int sfd = -1, s_type = -1; variable 60 if (sfd != -1) 61 return sfd; 80 sfd = fd; 90 return close(sfd); 103 if (read(sfd, (char *)rec, sizeof(*rec)) != sizeof(*rec)) 141 if (read(sfd, bufp, i) != i) 174 if (read(sfd, s, i) != i)
|
| /onnv/onnv-gate/usr/src/cmd/truss/ |
| ramdata.c | 48 int sfd; /* shared tmp file descriptor */ variable
|
| ramdata.h | 132 extern int sfd; /* file descriptor to shared tmp file */
|
| main.c | 598 sfd = open(tmps, O_CREAT|O_APPEND|O_EXCL|O_RDWR, 0600); 599 if (sfd == -1) [all...] |
| /onnv/onnv-gate/usr/src/cmd/filesync/ |
| recon.c | 666 { int sfd, dfd; local 672 sfd = open(srcname, 0); 673 if (sfd < 0) 678 close(sfd); 683 count = read(sfd, srcbuf, COPY_BSIZE); 685 count = read(sfd, srcbuf, COPY_BSIZE)) { 706 close(sfd);
|
| /onnv/onnv-gate/usr/src/cmd/svc/startd/ |
| fork.c | 517 int efd, sfd; local 539 sfd = contract_open(ctid, "process", "status", O_RDONLY); 540 if (sfd < 0) { 545 if (err = ct_status_read(sfd, CTD_COMMON, &status)) { 550 startd_close(sfd); 558 startd_close(sfd);
|
| restarter.c | 2047 int efd, sfd; local [all...] |
| /onnv/onnv-gate/usr/src/cmd/ipf/tools/ |
| ipfs.c | 443 int sfd = -1, i; local 449 sfd = open(file, O_RDONLY, 0600); 450 if (sfd == -1) { 462 i = read(sfd, &ips, sizeof(ips)); 465 close(sfd); 473 close(sfd); 511 close(sfd);
|
| /onnv/onnv-gate/usr/src/lib/udapl/udapl_tavor/tavor/ |
| dapl_tavor_hca.c | 294 int instance, sfd, retval, af; local 339 sfd = socket(af, SOCK_DGRAM, 0); 340 if (sfd < 0) { 357 (void) close(sfd); 367 retval = ioctl(sfd, SIOCGLIFADDR, (caddr_t)&lifreq); 369 (void) close(sfd); 387 (void) close(sfd);
|
| /onnv/onnv-gate/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/ |
| ipsecalgs.c | 246 int sfd = socket(PF_POLICY, SOCK_RAW, PF_POLICY_V1); local 252 if (sfd < 0) { 295 cnt = write(sfd, sync_req_buf, req_len); 305 cnt = read(sfd, sync_req_buf, req_len); 326 (void) close(sfd); 332 int sfd = socket(PF_POLICY, SOCK_RAW, PF_POLICY_V1); local 345 if (sfd < 0) { 354 cnt = write(sfd, &msg, sizeof (msg)); 364 cnt = read(sfd, reply_buf, sizeof (reply_buf)); 375 (void) close(sfd); [all...] |
| ipsecconf.c | 598 int sfd; local 610 sfd = get_pf_pol_socket(); 611 if (sfd < 0) { 620 cnt = write(sfd, &msg, sizeof (msg)); 629 cnt = read(sfd, reply_buf, sizeof (reply_buf)); 641 (void) close(sfd); 708 (void) close(sfd); 2585 int sfd; local 2668 int sfd; local 2751 int sfd; local [all...] |
| /onnv/onnv-gate/usr/src/lib/libcmdutils/common/ |
| process_xattrs.c | 37 get_attrdirs(int indfd, int outdfd, char *attrfile, int *sfd, int *tfd) 50 *sfd = fd1;
|
| /onnv/onnv-gate/usr/src/cmd/rpcsvc/nis/rpc.nisd/ |
| nisinit.c | 259 int sfd, dfd, i, status, nhosts = 1; local 668 sfd = open(coldstart, O_RDONLY, 0); 669 if (sfd == -1) { 682 while ((i = read(sfd, buf, 1024)) > 0) 685 close(sfd);
|
| /onnv/onnv-gate/usr/src/cmd/tip/ |
| tip.h | 248 int sfd; /* for ~< operation */ variable
|
| cmds.c | 66 if ((sfd = creat(cp, 0666)) < 0) { 78 transfer(buf, sfd, value(EOFREAD));
|
| /onnv/onnv-gate/usr/src/lib/libdiskmgt/common/ |
| slice.c | 532 int sfd; local 535 if ((sfd = open(sp->devpath, O_RDONLY|O_NDELAY)) >= 0) { 536 if (ioctl(sfd, DKIOCINFO, &dkinfo) >= 0) { 539 (void) close(sfd);
|
| /onnv/onnv-gate/usr/src/cmd/sysdef/ |
| sysdef.c | 542 int sfd; local 644 if ((sfd = open(sorted_fname, O_RDWR|O_CREAT|O_EXCL, 698 * A note on data synchronization. We opened sfd above, 702 * another file. We have never read from sfd, there 705 if ((fp = fdopen(sfd, "r")) == NULL) {
|
| /onnv/onnv-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
| sys-solaris.c | 3063 int sfd; local [all...] |
| /onnv/onnv-gate/usr/src/cmd/fs.d/pcfs/mkfs/ |
| mkfs.c | 156 int dfd, int sfd, int remaining); [all...] |
| /onnv/onnv-gate/usr/src/cmd/sendmail/src/ |
| map.c | 4387 SM_FILE_T *sfd; local [all...] |