/illumos-gate/usr/src/lib/libsocket/socket/ |
H A D | socketpair.c | 87 int fd1, fd2; in _socketpair_create() local 96 fd2 = _socket_create(family, type, protocol, version); in _socketpair_create() 97 if (fd2 < 0) { in _socketpair_create() 105 sv[1] = fd2; in _socketpair_create() 111 (void) close(fd2); in _socketpair_create() 123 if (sv[1] != fd2) in _socketpair_create() 124 (void) close(fd2); in _socketpair_create()
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | pipe.c | 114 int fd1, fd2; in pipe() local 138 if (error = falloc(vp2, FWRITE|FREAD, &fp2, &fd2)) in pipe() 182 copyout(&fd2, &((int *)arg)[1], sizeof (int))) { in pipe() 193 setf(fd2, fp2); in pipe() 200 f_setfd_or(fd2, FD_CLOEXEC); in pipe() 205 f_setfd_or(fd2, FD_CLOFORK); in pipe() 213 setf(fd2, NULL); in pipe()
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | cpmv.c | 47 register int fd1, fd2; local 70 if ((fd2 = mkstemp(temp_p)) == -1) { 74 if ((fd2 = open(temp_p, O_CREAT | O_TRUNC | O_WRONLY, 86 (nw = write(fd2, buf, nr)) == nr) 90 close(fd2);
|
H A D | xio.c | 174 int fd2; in xrddata() local 181 fd2 = fileno( fp2 ); in xrddata() 189 if( ret == SUCCESS && write( fd2, bufr, len ) != len ) in xrddata()
|
H A D | gio.c | 167 int fd2; in grddata() local 175 fd2 = fileno( fp2 ); in grddata() 183 if ( ret == SUCCESS && write( fd2, bufr, len ) != len) { in grddata()
|
H A D | dio.c | 205 register int fd2; local 212 fd2 = fileno( fp2 ); 220 if( ret == SUCCESS && write( fd2, bufr, len ) != len )
|
H A D | eio.c | 198 int fd2; in erddata() local 230 fd2 = fileno( fp2 ); in erddata() 265 if ( ret == SUCCESS && write( fd2, bufr, len ) != len ) { in erddata()
|
/illumos-gate/usr/src/lib/libc/port/sys/ |
H A D | link.c | 34 linkat(int fd1, const char *path1, int fd2, const char *path2, int flag) in linkat() argument 36 return (syscall(SYS_linkat, fd1, path1, fd2, path2, flag)); in linkat()
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/bltins/ |
H A D | mkservice.c | 155 static int fdnotify(int fd1, int fd2) in fdnotify() argument 159 (*covered_fdnotify)(fd1, fd2); in fdnotify() 160 if(fd2!=SH_FDCLOSE) in fdnotify() 163 service_list[fd2] = service_list[fd1]; in fdnotify() 169 file_list[i] = fd2; in fdnotify()
|
/illumos-gate/usr/src/uts/common/io/mac/ |
H A D | mac_flow.c | 1798 flow_desc_t *fd1 = &f1->fe_flow_desc, *fd2 = &f2->fe_flow_desc; in flow_l2_match_fe() local 1800 ASSERT(fd1->fd_mac_len == fd2->fd_mac_len && fd1->fd_mac_len != 0); in flow_l2_match_fe() 1801 return (bcmp(&fd1->fd_dst_mac, &fd2->fd_dst_mac, in flow_l2_match_fe() 1802 fd1->fd_mac_len) == 0 && fd1->fd_vid == fd2->fd_vid); in flow_l2_match_fe() 2103 flow_desc_t *fd1 = &f1->fe_flow_desc, *fd2 = &f2->fe_flow_desc; in flow_ip_proto_match_fe() local 2105 return (fd1->fd_protocol == fd2->fd_protocol); in flow_ip_proto_match_fe() 2112 flow_desc_t *fd1 = &f1->fe_flow_desc, *fd2 = &f2->fe_flow_desc; in flow_ip_match_fe() local 2115 ASSERT(fd1->fd_mask == fd2->fd_mask); in flow_ip_match_fe() 2117 return (fd1->fd_dsfield == fd2->fd_dsfield && in flow_ip_match_fe() 2118 fd1->fd_dsfield_mask == fd2->fd_dsfield_mask); in flow_ip_match_fe() [all …]
|
/illumos-gate/usr/src/lib/libcmdutils/common/ |
H A D | process_xattrs.c | 41 int fd2; in get_attrdirs() local 57 if ((fd2 = attropen(attrfile, ".", O_RDONLY)) == -1) { in get_attrdirs() 62 *tfd = fd2; in get_attrdirs()
|
/illumos-gate/usr/src/lib/libpkg/common/ |
H A D | dstream.c | 716 int fd2, fd; in ds_ginit() local 730 fd2 = fcntl(fd, F_DUPFD, fd); in ds_ginit() 745 (void) fcntl(fd2, F_DUPFD, fd); in ds_ginit() 746 (void) close(fd2); in ds_ginit()
|
/illumos-gate/usr/src/cmd/mpathadm/ |
H A D | mpathadm.c | 1078 int fd1, fd2; in compareLUName() local 1091 fd1 = fd2 = -1; in compareLUName() 1093 ((fd2 = open(deviceProperty, O_RDONLY|O_NDELAY)) >= 0) && in compareLUName() 1095 (devid_get(fd2, &devid2) == 0) && in compareLUName() 1113 if (fd2 >= 0) { in compareLUName() 1114 (void) close(fd2); in compareLUName() 1762 int fd1, fd2; in getLogicalUnitOid() local 1835 fd1 = fd2 = -1; in getLogicalUnitOid() 1839 ((fd2 = open(luProps.deviceFileName, in getLogicalUnitOid() 1842 (devid_get(fd2, &devid2) == 0) && in getLogicalUnitOid() [all …]
|
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | mandocdb.c | 2208 int fd1, fd2; in dbwrite() local 2248 fd1 = fd2 = -1; in dbwrite() 2258 if ((fd2 = open(tfn, O_RDONLY, 0)) == -1) { in dbwrite() 2266 if (fstat(fd2, &sb2) == -1) { in dbwrite() 2278 fd2, 0)) == MAP_FAILED) { in dbwrite() 2298 if (fd2 != -1) in dbwrite() 2299 close(fd2); in dbwrite()
|
/illumos-gate/usr/src/cmd/fs.d/nfs/nfsref/ |
H A D | nfsref.c | 196 int fd, fd2; in delref() local
|
/illumos-gate/usr/src/data/hwdata/ |
H A D | pci.ids | 771 1028 1fd2 HBA330 MX 8210 2fd2 PCI-7350 11953 0fd2 GK107M [GeForce GT 640M] 34378 2fd2 Xeon E7 v3/Xeon E5 v3/Core i7 Integrated Memory Controller 1 Channel 0 ERROR Registers 35987 6fd2 Xeon E7 v4/Xeon E5 v4/Xeon E3 v4/Xeon D Memory Controller 1 - Channel 0 Error
|
H A D | usb.ids | 15920 0fd2 Seac Banche
|