new_fd 79 nsswitch/wb_common.c int new_fd; new_fd 82 nsswitch/wb_common.c if ((new_fd = fcntl(fd, F_DUPFD, 3)) == -1) { new_fd 86 nsswitch/wb_common.c if (new_fd < 3) { new_fd 87 nsswitch/wb_common.c close(new_fd); new_fd 91 nsswitch/wb_common.c return new_fd; new_fd 96 nsswitch/wb_common.c new_fd = dup(fd); new_fd 97 nsswitch/wb_common.c if (new_fd == -1) new_fd 101 nsswitch/wb_common.c new_fd = make_nonstd_fd_internals(new_fd, limit - 1); new_fd 103 nsswitch/wb_common.c return new_fd; new_fd 120 nsswitch/wb_common.c int new_fd = make_nonstd_fd_internals(fd, RECURSION_LIMIT); new_fd 121 nsswitch/wb_common.c if (new_fd == -1) { new_fd 137 nsswitch/wb_common.c if ((flags = fcntl(new_fd, F_GETFL)) == -1) { new_fd 138 nsswitch/wb_common.c close(new_fd); new_fd 143 nsswitch/wb_common.c if (fcntl(new_fd, F_SETFL, flags) == -1) { new_fd 144 nsswitch/wb_common.c close(new_fd); new_fd 152 nsswitch/wb_common.c result = flags = fcntl(new_fd, F_GETFD, 0); new_fd 155 nsswitch/wb_common.c result = fcntl( new_fd, F_SETFD, flags ); new_fd 158 nsswitch/wb_common.c close(new_fd); new_fd 162 nsswitch/wb_common.c return new_fd; new_fd 147 source3/client/umount.cifs.c FILE * new_fd; new_fd 173 source3/client/umount.cifs.c new_fd = setmntent(MOUNTED_TEMP,"w"); new_fd 174 source3/client/umount.cifs.c if(new_fd == NULL) { new_fd 203 source3/client/umount.cifs.c addmntent(new_fd, mount_entry); new_fd 206 source3/client/umount.cifs.c addmntent(new_fd, mount_entry); new_fd 215 source3/client/umount.cifs.c rc = fchmod (fileno (new_fd), S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH); new_fd 220 source3/client/umount.cifs.c endmntent(new_fd); new_fd 67 source3/lib/wbclient.c int new_fd = make_nonstd_fd(fd); new_fd 69 source3/lib/wbclient.c if (new_fd == -1) { new_fd 85 source3/lib/wbclient.c if ((flags = fcntl(new_fd, F_GETFL)) == -1) { new_fd 90 source3/lib/wbclient.c if (fcntl(new_fd, F_SETFL, flags) == -1) { new_fd 98 source3/lib/wbclient.c result = flags = fcntl(new_fd, F_GETFD, 0); new_fd 101 source3/lib/wbclient.c result = fcntl( new_fd, F_SETFD, flags ); new_fd 107 source3/lib/wbclient.c return new_fd; new_fd 110 source3/lib/wbclient.c if (new_fd != -1) { new_fd 112 source3/lib/wbclient.c close(new_fd); new_fd 211 source4/lib/socket/socket_ip.c int new_fd; new_fd 217 source4/lib/socket/socket_ip.c new_fd = accept(sock->fd, (struct sockaddr *)&cli_addr, &cli_addr_len); new_fd 218 source4/lib/socket/socket_ip.c if (new_fd == -1) { new_fd 223 source4/lib/socket/socket_ip.c int ret = set_blocking(new_fd, false); new_fd 225 source4/lib/socket/socket_ip.c close(new_fd); new_fd 238 source4/lib/socket/socket_ip.c close(new_fd); new_fd 247 source4/lib/socket/socket_ip.c (*new_sock)->fd = new_fd; new_fd 716 source4/lib/socket/socket_ip.c int new_fd; new_fd 722 source4/lib/socket/socket_ip.c new_fd = accept(sock->fd, (struct sockaddr *)&cli_addr, &cli_addr_len); new_fd 723 source4/lib/socket/socket_ip.c if (new_fd == -1) { new_fd 728 source4/lib/socket/socket_ip.c int ret = set_blocking(new_fd, false); new_fd 730 source4/lib/socket/socket_ip.c close(new_fd); new_fd 743 source4/lib/socket/socket_ip.c close(new_fd); new_fd 752 source4/lib/socket/socket_ip.c (*new_sock)->fd = new_fd; new_fd 181 source4/lib/socket/socket_unix.c int new_fd; new_fd 187 source4/lib/socket/socket_unix.c new_fd = accept(sock->fd, (struct sockaddr *)&cli_addr, &cli_addr_len); new_fd 188 source4/lib/socket/socket_unix.c if (new_fd == -1) { new_fd 193 source4/lib/socket/socket_unix.c int ret = set_blocking(new_fd, false); new_fd 195 source4/lib/socket/socket_unix.c close(new_fd); new_fd 202 source4/lib/socket/socket_unix.c close(new_fd); new_fd 211 source4/lib/socket/socket_unix.c (*new_sock)->fd = new_fd;