Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/mm/
Dlist_lru.c127 if (!l->nr_items++) in list_lru_add()
130 nlru->nr_items++; in list_lru_add()
149 l->nr_items--; in list_lru_del()
150 nlru->nr_items--; in list_lru_del()
162 list->nr_items--; in list_lru_isolate()
170 list->nr_items--; in list_lru_isolate_move()
183 count = READ_ONCE(l->nr_items); in list_lru_count_one()
195 return nlru->nr_items; in list_lru_count_node()
229 nlru->nr_items--; in __list_lru_walk_one()
318 l->nr_items = 0; in init_one_lru()
[all …]
/kernel/linux/linux-5.10/include/linux/
Dlist_lru.h31 long nr_items; member
49 long nr_items; member
/kernel/linux/linux-5.10/fs/xfs/
Dxfs_trans_ail.c782 int nr_items, in xfs_trans_ail_update_bulk() argument
790 ASSERT(nr_items > 0); /* Not required, but true. */ in xfs_trans_ail_update_bulk()
793 for (i = 0; i < nr_items; i++) { in xfs_trans_ail_update_bulk()
Dxfs_trans_priv.h71 struct xfs_log_item **log_items, int nr_items,
Dxfs_trans.c693 int nr_items, in xfs_log_item_batch_insert() argument
700 xfs_trans_ail_update_bulk(ailp, cur, log_items, nr_items, commit_lsn); in xfs_log_item_batch_insert()
702 for (i = 0; i < nr_items; i++) { in xfs_log_item_batch_insert()
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dbtrfs.h282 __u32 nr_items; member
379 __u64 nr_items; member
/kernel/linux/linux-5.10/include/uapi/linux/
Dbtrfs.h525 __u32 nr_items; /* in/out */ member
699 __u64 nr_items; /* in/out */ member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dbtrfs.h280 __u32 nr_items; member
390 __u64 nr_items; member
/kernel/linux/linux-5.10/fs/btrfs/
Dctree.c270 int nr_items; member
483 int dst_slot, int src_slot, int nr_items) in tree_mod_log_insert_move() argument
494 tm_list = kcalloc(nr_items, sizeof(struct tree_mod_elem *), GFP_NOFS); in tree_mod_log_insert_move()
507 tm->move.nr_items = nr_items; in tree_mod_log_insert_move()
510 for (i = 0; i + dst_slot < src_slot && i < nr_items; i++) { in tree_mod_log_insert_move()
528 for (i = 0; i + dst_slot < src_slot && i < nr_items; i++) { in tree_mod_log_insert_move()
542 for (i = 0; i < nr_items; i++) { in tree_mod_log_insert_move()
712 unsigned long src_offset, int nr_items) in tree_mod_log_eb_copy() argument
727 tm_list = kcalloc(nr_items * 2, sizeof(struct tree_mod_elem *), in tree_mod_log_eb_copy()
733 tm_list_rem = tm_list + nr_items; in tree_mod_log_eb_copy()
[all …]
Dvolumes.c7122 const int nr_items = btrfs_header_nritems(node); in readahead_tree_node_children() local
7124 for (i = 0; i < nr_items; i++) { in readahead_tree_node_children()
7528 if (stats->nr_items > i) in btrfs_get_dev_stats()
7538 if (stats->nr_items > i) in btrfs_get_dev_stats()
7541 if (stats->nr_items > BTRFS_DEV_STAT_VALUES_MAX) in btrfs_get_dev_stats()
7542 stats->nr_items = BTRFS_DEV_STAT_VALUES_MAX; in btrfs_get_dev_stats()
Dextent-tree.c1765 int nr_items = 1; /* Dropping this ref head update. */ in btrfs_cleanup_ref_head_accounting() local
1775 nr_items += btrfs_csum_bytes_to_leaves(fs_info, head->num_bytes); in btrfs_cleanup_ref_head_accounting()
1791 btrfs_delayed_refs_rsv_release(fs_info, nr_items); in btrfs_cleanup_ref_head_accounting()
Dioctl.c2201 if (*num_found >= sk->nr_items) { in copy_to_sk()
2296 sk->nr_items = num_found; in search_ioctl()