Searched refs:new_fd (Results 1 - 5 of 5) sorted by relevance

/opensolaris-onvv-gate/usr/src/cmd/fs.d/nfs/lib/
H A Dnfs_tbind.c1299 int new_fd; local
1334 new_fd = nfslib_transport_open(nconf);
1335 if (new_fd == -1) {
1345 if (t_bind(new_fd, (struct t_bind *)NULL,
1347 nfslib_log_tli_error("t_bind", new_fd, nconf);
1351 (void) t_close(new_fd);
1355 while (t_accept(fd, new_fd, call) == -1) {
1363 (void) t_close(new_fd);
1391 (void) t_close(new_fd);
1397 if (set_addrmask(new_fd, ncon
[all...]
/opensolaris-onvv-gate/usr/src/cmd/avs/rdc/
H A Dsndrd.c1060 int new_fd; local
1092 new_fd = rdc_transport_open(nconf);
1093 if (new_fd == -1) {
1103 if (t_bind(new_fd, (struct t_bind *)NULL,
1105 rdcd_log_tli_error("t_bind", new_fd, nconf);
1109 (void) t_close(new_fd);
1113 while (t_accept(fd, new_fd, call) == -1) {
1119 (void) t_close(new_fd);
1150 (void) t_close(new_fd);
1156 if (set_addrmask(new_fd, ncon
[all...]
/opensolaris-onvv-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftKeystoreUtil.c1248 int old_fd, new_fd, version, ret_val = -1; local
1266 new_fd = open_nointr(new_obj_name,
1268 if (new_fd < 0) {
1273 if (lock_file(new_fd, B_FALSE, B_TRUE) != 0) {
1277 (void) close(new_fd);
1291 if (writen_nointr(new_fd, (char *)&version, OBJ_VER_SIZE)
1306 if (writen_nointr(new_fd, (char *)iv, OBJ_IV_SIZE) != OBJ_IV_SIZE) {
1380 if (writen_nointr(new_fd, (char *)hmac, OBJ_HMAC_SIZE)
1387 if (writen_nointr(new_fd, (void *)buf, encrypted_len)
1398 (void) lock_file(new_fd, B_FALS
[all...]
/opensolaris-onvv-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dmain.c2059 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);
/opensolaris-onvv-gate/usr/src/uts/common/os/
H A Dfio.c494 int *new_fd; local
519 new_fd = kmem_alloc(new_nfd * sizeof (afd->a_fd[0]), KM_SLEEP);
524 afd->a_fd = new_fd;

Completed in 175 milliseconds