Home
last modified time | relevance | path

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

/fs/
Dfile.c32 kvfree(fdt->open_fds); in __free_fdtable()
56 memcpy(nfdt->open_fds, ofdt->open_fds, cpy); in copy_fd_bitmaps()
57 memset((char *)nfdt->open_fds + cpy, 0, set); in copy_fd_bitmaps()
125 fdt->open_fds = data; in alloc_fdtable()
241 __set_bit(fd, fdt->open_fds); in __set_open_fd()
243 if (!~fdt->open_fds[fd]) in __set_open_fd()
249 __clear_bit(fd, fdt->open_fds); in __clear_open_fd()
260 if (fdt->open_fds[--i]) in count_open_files()
293 new_fdt->open_fds = newf->open_fds_init; in dup_fd()
383 set = fdt->open_fds[j++]; in close_files()
[all …]
Dselect.c421 unsigned long *open_fds; in max_select_fd() local
430 open_fds = fdt->open_fds + n; in max_select_fd()
435 if (!(set & ~*open_fds)) in max_select_fd()
441 open_fds--; in max_select_fd()
446 if (set & ~*open_fds) in max_select_fd()