Lines Matching refs:open_fds
106 kvfree(fdt->open_fds); in __free_fdtable()
129 bitmap_copy_and_extend(nfdt->open_fds, ofdt->open_fds, in copy_fd_bitmaps()
229 fdt->open_fds = data; in alloc_fdtable()
335 __set_bit(fd, fdt->open_fds); in __set_open_fd()
338 if (!~fdt->open_fds[fd]) in __set_open_fd()
344 __clear_bit(fd, fdt->open_fds); in __clear_open_fd()
352 return test_bit(fd, fdt->open_fds); in fd_is_open()
366 unsigned int last = find_last_bit(fdt->open_fds, fdt->max_fds); in sane_fdtable_size()
371 last = find_last_bit(fdt->open_fds, punch_hole->from); in sane_fdtable_size()
403 new_fdt->open_fds = newf->open_fds_init; in dup_fd()
489 set = fdt->open_fds[j++]; in close_files()
537 .open_fds = init_files.open_fds_init,
554 bit = find_next_zero_bit(&fdt->open_fds[bitbit], BITS_PER_LONG, in find_next_fd()
564 return find_next_zero_bit(fdt->open_fds, maxfd, start); in find_next_fd()
788 for (fd = find_next_bit(fdt->open_fds, max_fd + 1, fd); in __range_close()
790 fd = find_next_bit(fdt->open_fds, max_fd + 1, fd + 1)) { in __range_close()