Home
last modified time | relevance | path

Searched refs:num_entries (Results 1 – 12 of 12) sorted by relevance

/fs/ceph/
Dmds_client.c1643 int order, num_entries; in ceph_alloc_readdir_reply_buffer() local
1646 num_entries = ci->i_files + ci->i_subdirs; in ceph_alloc_readdir_reply_buffer()
1648 num_entries = max(num_entries, 1); in ceph_alloc_readdir_reply_buffer()
1649 num_entries = min(num_entries, opt->max_readdir); in ceph_alloc_readdir_reply_buffer()
1651 order = get_order(size * num_entries); in ceph_alloc_readdir_reply_buffer()
1663 num_entries = (PAGE_SIZE << order) / size; in ceph_alloc_readdir_reply_buffer()
1664 num_entries = min(num_entries, opt->max_readdir); in ceph_alloc_readdir_reply_buffer()
1667 req->r_num_caps = num_entries + 1; in ceph_alloc_readdir_reply_buffer()
1668 req->r_args.readdir.max_entries = cpu_to_le32(num_entries); in ceph_alloc_readdir_reply_buffer()
/fs/btrfs/
Ddelayed-ref.h170 atomic_t num_entries; member
Ddelayed-ref.c195 atomic_dec(&delayed_refs->num_entries); in drop_delayed_ref()
447 atomic_inc(&root->num_entries); in add_delayed_ref_tail_merge()
636 atomic_inc(&delayed_refs->num_entries); in add_delayed_ref_head()
Dfree-space-cache.c678 u64 num_entries; in __load_free_space_cache() local
705 num_entries = btrfs_free_space_entries(leaf, header); in __load_free_space_cache()
724 if (!num_entries) in __load_free_space_cache()
747 while (num_entries) { in __load_free_space_cache()
797 num_entries--; in __load_free_space_cache()
Draid56.c206 int num_entries = 1 << BTRFS_STRIPE_HASH_TABLE_BITS; in btrfs_alloc_stripe_hash_table() local
220 table_size = sizeof(*table) + sizeof(*h) * num_entries; in btrfs_alloc_stripe_hash_table()
233 for (i = 0; i < num_entries; i++) { in btrfs_alloc_stripe_hash_table()
Dextent-tree.c2627 atomic_dec(&delayed_refs->num_entries); in __btrfs_run_delayed_refs()
2824 u64 num_entries = in btrfs_should_throttle_delayed_refs() local
2825 atomic_read(&trans->transaction->delayed_refs.num_entries); in btrfs_should_throttle_delayed_refs()
2831 val = num_entries * avg_runtime; in btrfs_should_throttle_delayed_refs()
2832 if (num_entries * avg_runtime >= NSEC_PER_SEC) in btrfs_should_throttle_delayed_refs()
2958 count = atomic_read(&delayed_refs->num_entries) * 2; in btrfs_run_delayed_refs()
7139 atomic_dec(&delayed_refs->num_entries); in check_ref_cleanup()
Ddisk-io.c4344 if (atomic_read(&delayed_refs->num_entries) == 0) { in btrfs_destroy_delayed_refs()
4372 atomic_dec(&delayed_refs->num_entries); in btrfs_destroy_delayed_refs()
4381 atomic_dec(&delayed_refs->num_entries); in btrfs_destroy_delayed_refs()
Dtransaction.c269 atomic_set(&cur_trans->delayed_refs.num_entries, 0); in join_transaction()
Dctree.h1922 num_entries, 64);
/fs/cifs/
Dsmb2pdu.c2556 num_entries(char *bufstart, char *end_of_buf, char **lastentry, size_t size) in num_entries() function
2702 num_entries(srch_inf->srch_entries_start, end_of_smb, in SMB2_query_directory()
/fs/ocfs2/
Ddir.c2315 int dx_inline, u32 num_entries, in ocfs2_dx_dir_attach_index() argument
2362 dx_root->dr_num_entries = cpu_to_le32(num_entries); in ocfs2_dx_dir_attach_index()
Dxattr.c1427 int num_entries) in ocfs2_xa_check_space_helper() argument
1436 (num_entries * sizeof(struct ocfs2_xattr_entry)) - in ocfs2_xa_check_space_helper()