Home
last modified time | relevance | path

Searched refs:open_fds (Results 1 – 2 of 2) sorted by relevance

/fs/
Dfile.c52 free_fdmem(fdt->open_fds); in __free_fdtable()
78 memcpy(nfdt->open_fds, ofdt->open_fds, cpy); in copy_fdtable()
79 memset((char *)(nfdt->open_fds) + cpy, 0, set); in copy_fdtable()
123 fdt->open_fds = data; in alloc_fdtable()
219 __set_bit(fd, fdt->open_fds); in __set_open_fd()
224 __clear_bit(fd, fdt->open_fds); in __clear_open_fd()
234 if (fdt->open_fds[--i]) in count_open_files()
265 new_fdt->open_fds = newf->open_fds_init; in dup_fd()
307 memcpy(new_fdt->open_fds, old_fdt->open_fds, open_files / 8); in dup_fd()
337 memset(&new_fdt->open_fds[start], 0, left); in dup_fd()
[all …]
Dselect.c344 unsigned long *open_fds; in max_select_fd() local
353 open_fds = fdt->open_fds + n; in max_select_fd()
358 if (!(set & ~*open_fds)) in max_select_fd()
364 open_fds--; in max_select_fd()
369 if (set & ~*open_fds) in max_select_fd()