Searched refs:new_fd (Results 1 – 7 of 7) sorted by relevance
/titanic_41/usr/src/lib/libsmbfs/smb/ |
H A D | print.c | 62 int err, tlen, new_fd; in smb_open_printer() local 74 new_fd = smb_open_driver(); in smb_open_printer() 75 if (new_fd < 0) in smb_open_printer() 78 if (ioctl(new_fd, SMBIOC_DUP_DEV, &from_fd) == -1) { in smb_open_printer() 91 if (ioctl(new_fd, SMBIOC_PRINTJOB, &ioc) == -1) { in smb_open_printer() 96 return (new_fd); in smb_open_printer() 99 close(new_fd); in smb_open_printer()
|
H A D | file.c | 79 int new_fd = -1; in smb_fh_ntcreate() local 93 new_fd = smb_open_driver(); in smb_fh_ntcreate() 94 if (new_fd < 0) { in smb_fh_ntcreate() 99 if (ioctl(new_fd, SMBIOC_DUP_DEV, &from_fd) == -1) { in smb_fh_ntcreate() 114 if (ioctl(new_fd, SMBIOC_NTCREATE, &ioc) == -1) { in smb_fh_ntcreate() 119 return (new_fd); in smb_fh_ntcreate() 122 if (new_fd != -1) in smb_fh_ntcreate() 123 close(new_fd); in smb_fh_ntcreate()
|
/titanic_41/usr/src/cmd/fs.d/nfs/lib/ |
H A D | nfs_tbind.c | 1310 int new_fd; in cots_listen_event() local 1345 new_fd = nfslib_transport_open(nconf); in cots_listen_event() 1346 if (new_fd == -1) { in cots_listen_event() 1356 if (t_bind(new_fd, NULL, NULL) == -1) { in cots_listen_event() 1357 nfslib_log_tli_error("t_bind", new_fd, nconf); in cots_listen_event() 1361 (void) t_close(new_fd); in cots_listen_event() 1365 while (t_accept(fd, new_fd, call) == -1) { in cots_listen_event() 1373 (void) t_close(new_fd); in cots_listen_event() 1401 (void) t_close(new_fd); in cots_listen_event() 1407 if (set_addrmask(new_fd, nconf, &addrmask) < 0) { in cots_listen_event() [all …]
|
/titanic_41/usr/src/cmd/avs/rdc/ |
H A D | sndrd.c | 1062 int new_fd; in cots_listen_event() local 1094 new_fd = rdc_transport_open(nconf); in cots_listen_event() 1095 if (new_fd == -1) { in cots_listen_event() 1105 if (t_bind(new_fd, NULL, NULL) == -1) { in cots_listen_event() 1106 rdcd_log_tli_error("t_bind", new_fd, nconf); in cots_listen_event() 1110 (void) t_close(new_fd); in cots_listen_event() 1114 while (t_accept(fd, new_fd, call) == -1) { in cots_listen_event() 1120 (void) t_close(new_fd); in cots_listen_event() 1142 (void) t_close(new_fd); in cots_listen_event() 1148 if (set_addrmask(new_fd, nconf, &addrmask) < 0) { in cots_listen_event() [all …]
|
/titanic_41/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softKeystoreUtil.c | 1248 int old_fd, new_fd, version, ret_val = -1; in reencrypt_obj() local 1266 new_fd = open_nointr(new_obj_name, in reencrypt_obj() 1268 if (new_fd < 0) { in reencrypt_obj() 1273 if (lock_file(new_fd, B_FALSE, B_TRUE) != 0) { in reencrypt_obj() 1277 (void) close(new_fd); in reencrypt_obj() 1291 if (writen_nointr(new_fd, (char *)&version, OBJ_VER_SIZE) in reencrypt_obj() 1306 if (writen_nointr(new_fd, (char *)iv, OBJ_IV_SIZE) != OBJ_IV_SIZE) { in reencrypt_obj() 1380 if (writen_nointr(new_fd, (char *)hmac, OBJ_HMAC_SIZE) in reencrypt_obj() 1387 if (writen_nointr(new_fd, (void *)buf, encrypted_len) in reencrypt_obj() 1398 (void) lock_file(new_fd, B_FALSE, B_FALSE); in reencrypt_obj() [all …]
|
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | main.c | 2059 int new_fd; local 2079 new_fd = open (_PATH_DEVNULL, O_RDWR); 2080 if (new_fd >= 0) { 2081 if (new_fd != 0) { 2082 if (dup2(new_fd, 0) < 0) /* stdin <- /dev/null */ 2084 (void) close(new_fd);
|
/titanic_41/usr/src/uts/common/os/ |
H A D | fio.c | 496 int *new_fd; in set_active_fd() local 521 new_fd = kmem_alloc(new_nfd * sizeof (afd->a_fd[0]), KM_SLEEP); in set_active_fd() 526 afd->a_fd = new_fd; in set_active_fd()
|