Home
last modified time | relevance | path

Searched refs:open_files (Results 1 – 7 of 7) sorted by relevance

/linux/fs/
H A Dfile.c367 unsigned int open_files, i; in dup_fd() local
389 open_files = sane_fdtable_size(old_fdt, punch_hole); in dup_fd()
394 while (unlikely(open_files > new_fdt->max_fds)) { in dup_fd()
400 new_fdt = alloc_fdtable(open_files); in dup_fd()
413 open_files = sane_fdtable_size(old_fdt, punch_hole); in dup_fd()
416 copy_fd_bitmaps(new_fdt, old_fdt, open_files / BITS_PER_LONG); in dup_fd()
421 for (i = open_files; i != 0; i--) { in dup_fd()
432 __clear_open_fd(open_files - i, new_fdt); in dup_fd()
439 memset(new_fds, 0, (new_fdt->max_fds - open_files) * sizeof(struct file *)); in dup_fd()
/linux/fs/nfs/
H A Ddelegation.c191 list_for_each_entry_rcu(ctx, &nfsi->open_files, list) { in nfs_delegation_claim_opens()
598 if (inode && list_empty(&NFS_I(inode)->open_files)) in nfs_delegation_need_return()
805 if (list_empty(&NFS_I(inode)->open_files) && in nfs4_inode_set_return_delegation_on_close()
842 list_empty(&NFS_I(inode)->open_files) && in nfs4_inode_return_delegation_on_close()
H A Dinode.c119 WARN_ON_ONCE(!list_empty(&NFS_I(inode)->open_files)); in nfs_clear_inode()
1106 if (!list_empty(&nfsi->open_files)) in nfs_close_context()
1198 if (list_empty(&nfsi->open_files) && in nfs_inode_attach_open_context()
1202 list_add_tail_rcu(&ctx->list, &nfsi->open_files);
1225 list_for_each_entry_rcu(pos, &nfsi->open_files, list) { in nfs_find_open_context()
1517 if (list_empty(&nfsi->open_files)) in nfs_file_has_writers()
2462 INIT_LIST_HEAD(&nfsi->open_files); in init_once()
H A Ddir.c88 if (list_empty(&nfsi->open_files) && in alloc_nfs_open_dir_context()
93 list_add_tail_rcu(&ctx->list, &nfsi->open_files); in alloc_nfs_open_dir_context()
688 list_for_each_entry_rcu (ctx, &nfsi->open_files, list) in nfs_readdir_record_entry_cache_hit()
707 list_for_each_entry_rcu (ctx, &nfsi->open_files, list) in nfs_readdir_record_entry_cache_miss()
H A Dpnfs.c1583 list_for_each_entry_rcu(ctx, &nfsi->open_files, list) { in pnfs_roc()
2751 head = &NFS_I(lo->plh_inode)->open_files; in pnfs_should_return_unused_layout()
H A Dnfs4proc.c2165 list_for_each_entry_rcu(ctx, &nfsi->open_files, list) { in nfs4_state_find_open_context_mode()
/linux/Documentation/admin-guide/cifs/
H A Dusage.rst717 open_files List all the open file handles on all active SMB sessions.