Home
last modified time | relevance | path

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

/fs/
Dfile.c37 kvfree(fdt->open_fds); in __free_fdtable()
61 memcpy(nfdt->open_fds, ofdt->open_fds, cpy); in copy_fd_bitmaps()
62 memset((char *)nfdt->open_fds + cpy, 0, set); in copy_fd_bitmaps()
146 fdt->open_fds = data; in alloc_fdtable()
262 __set_bit(fd, fdt->open_fds); in __set_open_fd()
264 if (!~fdt->open_fds[fd]) in __set_open_fd()
270 __clear_bit(fd, fdt->open_fds); in __clear_open_fd()
281 if (fdt->open_fds[--i]) in count_open_files()
337 new_fdt->open_fds = newf->open_fds_init; in dup_fd()
427 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()