Searched refs:nr_items (Results 1 – 13 of 13) sorted by relevance
/linux-6.6.21/fs/btrfs/ |
D | tree-mod-log.c | 37 int nr_items; member 264 int nr_items) in tree_mod_log_alloc_move() argument 275 tm->move.nr_items = nr_items; in tree_mod_log_alloc_move() 284 int nr_items) in btrfs_tree_mod_log_insert_move() argument 295 tm_list = kcalloc(nr_items, sizeof(struct tree_mod_elem *), GFP_NOFS); in btrfs_tree_mod_log_insert_move() 301 tm = tree_mod_log_alloc_move(eb, dst_slot, src_slot, nr_items); in btrfs_tree_mod_log_insert_move() 308 for (i = 0; i + dst_slot < src_slot && i < nr_items; i++) { in btrfs_tree_mod_log_insert_move() 340 for (i = 0; i + dst_slot < src_slot && i < nr_items; i++) { in btrfs_tree_mod_log_insert_move() 356 for (i = 0; i < nr_items; i++) { in btrfs_tree_mod_log_insert_move() 542 int nr_items) in btrfs_tree_mod_log_eb_copy() argument [all …]
|
D | tree-mod-log.h | 47 int nr_items); 50 int nr_items);
|
D | ctree.c | 123 int dst_item, int src_item, int nr_items) in memmove_leaf_items() argument 127 nr_items * sizeof(struct btrfs_item)); in memmove_leaf_items() 144 int dst_item, int src_item, int nr_items) in copy_leaf_items() argument 148 nr_items * sizeof(struct btrfs_item)); in copy_leaf_items()
|
D | volumes.c | 7224 const int nr_items = btrfs_header_nritems(node); in readahead_tree_node_children() local 7226 for (i = 0; i < nr_items; i++) in readahead_tree_node_children() 7642 if (stats->nr_items > i) in btrfs_get_dev_stats() 7652 if (stats->nr_items > i) in btrfs_get_dev_stats() 7655 if (stats->nr_items > BTRFS_DEV_STAT_VALUES_MAX) in btrfs_get_dev_stats() 7656 stats->nr_items = BTRFS_DEV_STAT_VALUES_MAX; in btrfs_get_dev_stats()
|
D | extent-tree.c | 1835 int nr_items = 1; /* Dropping this ref head update. */ in btrfs_cleanup_ref_head_accounting() local 1845 nr_items += btrfs_csum_bytes_to_leaves(fs_info, head->num_bytes); in btrfs_cleanup_ref_head_accounting() 1848 btrfs_delayed_refs_rsv_release(fs_info, nr_items); in btrfs_cleanup_ref_head_accounting()
|
D | ioctl.c | 1637 if (*num_found >= sk->nr_items) { in copy_to_sk() 1736 sk->nr_items = num_found; in search_ioctl()
|
/linux-6.6.21/mm/ |
D | list_lru.c | 131 if (!l->nr_items++) in list_lru_add() 134 nlru->nr_items++; in list_lru_add() 153 l->nr_items--; in list_lru_del() 154 nlru->nr_items--; in list_lru_del() 166 list->nr_items--; in list_lru_isolate() 174 list->nr_items--; in list_lru_isolate_move() 186 count = l ? READ_ONCE(l->nr_items) : 0; in list_lru_count_one() 201 return nlru->nr_items; in list_lru_count_node() 238 nlru->nr_items--; in __list_lru_walk_one() 334 l->nr_items = 0; in init_one_lru() [all …]
|
D | vmscan.c | 198 static inline int shrinker_map_size(int nr_items) in shrinker_map_size() argument 200 return (DIV_ROUND_UP(nr_items, BITS_PER_LONG) * sizeof(unsigned long)); in shrinker_map_size() 203 static inline int shrinker_defer_size(int nr_items) in shrinker_defer_size() argument 205 return (round_up(nr_items, BITS_PER_LONG) * sizeof(atomic_long_t)); in shrinker_defer_size()
|
/linux-6.6.21/include/linux/ |
D | list_lru.h | 32 long nr_items; member 46 long nr_items; member
|
/linux-6.6.21/fs/xfs/ |
D | xfs_trans_ail.c | 799 int nr_items, in xfs_trans_ail_update_bulk() argument 807 ASSERT(nr_items > 0); /* Not required, but true. */ in xfs_trans_ail_update_bulk() 810 for (i = 0; i < nr_items; i++) { in xfs_trans_ail_update_bulk()
|
D | xfs_trans_priv.h | 73 struct xfs_log_item **log_items, int nr_items,
|
D | xfs_trans.c | 725 int nr_items, in xfs_log_item_batch_insert() argument 732 xfs_trans_ail_update_bulk(ailp, cur, log_items, nr_items, commit_lsn); in xfs_log_item_batch_insert() 734 for (i = 0; i < nr_items; i++) { in xfs_log_item_batch_insert()
|
/linux-6.6.21/include/uapi/linux/ |
D | btrfs.h | 557 __u32 nr_items; /* in/out */ member 742 __u64 nr_items; /* in/out */ member
|