Searched refs:open_fds (Results 1 – 4 of 4) sorted by relevance
60 kfree(fdt->open_fds); in free_fdset()62 vfree(fdt->open_fds); in free_fdset()102 kfree(fdt->open_fds); in free_fdtable_rcu()133 memcpy(nfdt->open_fds, ofdt->open_fds, cpy); in copy_fdtable()134 memset((char *)(nfdt->open_fds) + cpy, 0, set); in copy_fdtable()177 fdt->open_fds = (fd_set *)data; in alloc_fdtable()281 if (fdt->open_fds->fds_bits[--i]) in count_open_files()312 new_fdt->open_fds = (fd_set *)&newf->open_fds_init; in dup_fd()361 memcpy(new_fdt->open_fds->fds_bits, in dup_fd()362 old_fdt->open_fds->fds_bits, open_files/8); in dup_fd()[all …]
321 unsigned long *open_fds; in max_select_fd() local330 open_fds = fdt->open_fds->fds_bits+n; in max_select_fd()335 if (!(set & ~*open_fds)) in max_select_fd()341 open_fds--; in max_select_fd()346 if (set & ~*open_fds) in max_select_fd()
93 if (!tofree && FD_ISSET(newfd, fdt->open_fds)) in SYSCALL_DEFINE3()97 FD_SET(newfd, fdt->open_fds); in SYSCALL_DEFINE3()
986 __FD_CLR(fd, fdt->open_fds); in __put_unused_fd()