Searched refs:nr_items (Results 1 – 13 of 13) sorted by relevance
/linux-6.12.1/fs/btrfs/ |
D | tree-mod-log.c | 37 int nr_items; member 263 int nr_items) in tree_mod_log_alloc_move() argument 274 tm->move.nr_items = nr_items; in tree_mod_log_alloc_move() 283 int nr_items) in btrfs_tree_mod_log_insert_move() argument 294 tm_list = kcalloc(nr_items, sizeof(struct tree_mod_elem *), GFP_NOFS); in btrfs_tree_mod_log_insert_move() 300 tm = tree_mod_log_alloc_move(eb, dst_slot, src_slot, nr_items); in btrfs_tree_mod_log_insert_move() 307 for (i = 0; i + dst_slot < src_slot && i < nr_items; i++) { in btrfs_tree_mod_log_insert_move() 339 for (i = 0; i + dst_slot < src_slot && i < nr_items; i++) { in btrfs_tree_mod_log_insert_move() 355 for (i = 0; i < nr_items; i++) { in btrfs_tree_mod_log_insert_move() 541 int nr_items) in btrfs_tree_mod_log_eb_copy() argument [all …]
|
D | tree-mod-log.h | 53 int nr_items); 56 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 | 7333 const int nr_items = btrfs_header_nritems(node); in readahead_tree_node_children() local 7335 for (i = 0; i < nr_items; i++) in readahead_tree_node_children() 7751 if (stats->nr_items > i) in btrfs_get_dev_stats() 7761 if (stats->nr_items > i) in btrfs_get_dev_stats() 7764 if (stats->nr_items > BTRFS_DEV_STAT_VALUES_MAX) in btrfs_get_dev_stats() 7765 stats->nr_items = BTRFS_DEV_STAT_VALUES_MAX; in btrfs_get_dev_stats()
|
D | ioctl.c | 1665 if (*num_found >= sk->nr_items) { in copy_to_sk() 1764 sk->nr_items = num_found; in search_ioctl()
|
/linux-6.12.1/mm/ |
D | list_lru.c | 100 if (!l->nr_items++) in list_lru_add() 102 nlru->nr_items++; in list_lru_add() 139 l->nr_items--; in list_lru_del() 140 nlru->nr_items--; in list_lru_del() 169 list->nr_items--; in list_lru_isolate() 177 list->nr_items--; in list_lru_isolate_move() 189 count = l ? READ_ONCE(l->nr_items) : 0; in list_lru_count_one() 204 return nlru->nr_items; in list_lru_count_node() 241 nlru->nr_items--; in __list_lru_walk_one() 340 l->nr_items = 0; in init_one_lru() [all …]
|
D | shrinker.c | 16 static inline int shrinker_unit_size(int nr_items) in shrinker_unit_size() argument 18 return (DIV_ROUND_UP(nr_items, SHRINKER_UNIT_BITS) * sizeof(struct shrinker_info_unit *)); in shrinker_unit_size()
|
/linux-6.12.1/fs/xfs/scrub/ |
D | rcbag.c | 27 uint64_t nr_items; member 43 bag->nr_items = 0; in rcbag_init() 120 bag->nr_items++; in rcbag_add() 134 return rcbag->nr_items; in rcbag_count() 254 bag->nr_items -= bagrec.rbg_refcount; in rcbag_remove_ending_at()
|
/linux-6.12.1/include/linux/ |
D | list_lru.h | 34 long nr_items; member 48 long nr_items; member
|
/linux-6.12.1/fs/xfs/ |
D | xfs_trans_ail.c | 811 int nr_items, in xfs_trans_ail_update_bulk() argument 819 ASSERT(nr_items > 0); /* Not required, but true. */ in xfs_trans_ail_update_bulk() 822 for (i = 0; i < nr_items; i++) { in xfs_trans_ail_update_bulk()
|
D | xfs_trans_priv.h | 74 struct xfs_log_item **log_items, int nr_items,
|
D | xfs_log_cil.c | 699 int nr_items, in xlog_cil_ail_insert_batch() argument 706 xfs_trans_ail_update_bulk(ailp, cur, log_items, nr_items, commit_lsn); in xlog_cil_ail_insert_batch() 708 for (i = 0; i < nr_items; i++) { in xlog_cil_ail_insert_batch()
|
/linux-6.12.1/include/uapi/linux/ |
D | btrfs.h | 560 __u32 nr_items; /* in/out */ member 745 __u64 nr_items; /* in/out */ member
|