Home
last modified time | relevance | path

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

/linux/mm/
A Dlist_lru.c133 if (!l->nr_items++) in list_lru_add()
136 nlru->nr_items++; in list_lru_add()
155 l->nr_items--; in list_lru_del()
156 nlru->nr_items--; in list_lru_del()
168 list->nr_items--; in list_lru_isolate()
176 list->nr_items--; in list_lru_isolate_move()
238 nlru->nr_items--; in __list_lru_walk_one()
327 l->nr_items = 0; in init_one_lru()
532 if (src->nr_items) { in memcg_drain_list_lru_node()
533 dst->nr_items += src->nr_items; in memcg_drain_list_lru_node()
[all …]
A Dvmscan.c198 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/fs/btrfs/
A Dtree-mod-log.c33 int nr_items; member
250 int nr_items) in btrfs_tree_mod_log_insert_move() argument
274 tm->move.nr_items = nr_items; in btrfs_tree_mod_log_insert_move()
277 for (i = 0; i + dst_slot < src_slot && i < nr_items; i++) { in btrfs_tree_mod_log_insert_move()
310 for (i = 0; i < nr_items; i++) { in btrfs_tree_mod_log_insert_move()
481 int nr_items) in btrfs_tree_mod_log_eb_copy() argument
502 tm_list_rem = tm_list + nr_items; in btrfs_tree_mod_log_eb_copy()
503 for (i = 0; i < nr_items; i++) { in btrfs_tree_mod_log_eb_copy()
523 for (i = 0; i < nr_items; i++) { in btrfs_tree_mod_log_eb_copy()
538 for (i = 0; i < nr_items * 2; i++) { in btrfs_tree_mod_log_eb_copy()
[all …]
A Dtree-mod-log.h47 int nr_items);
50 int nr_items);
A Dvolumes.c7527 const int nr_items = btrfs_header_nritems(node); in readahead_tree_node_children() local
7529 for (i = 0; i < nr_items; i++) in readahead_tree_node_children()
7949 if (stats->nr_items > i) in btrfs_get_dev_stats()
7959 if (stats->nr_items > i) in btrfs_get_dev_stats()
7962 if (stats->nr_items > BTRFS_DEV_STAT_VALUES_MAX) in btrfs_get_dev_stats()
7963 stats->nr_items = BTRFS_DEV_STAT_VALUES_MAX; in btrfs_get_dev_stats()
A Dextent-tree.c1793 int nr_items = 1; /* Dropping this ref head update. */ in btrfs_cleanup_ref_head_accounting() local
1803 nr_items += btrfs_csum_bytes_to_leaves(fs_info, head->num_bytes); in btrfs_cleanup_ref_head_accounting()
1806 btrfs_delayed_refs_rsv_release(fs_info, nr_items); in btrfs_cleanup_ref_head_accounting()
A Dioctl.c2153 if (*num_found >= sk->nr_items) { in copy_to_sk()
2247 sk->nr_items = num_found; in search_ioctl()
/linux/include/linux/
A Dlist_lru.h31 long nr_items; member
49 long nr_items; member
/linux/fs/xfs/
A Dxfs_trans_ail.c787 int nr_items, in xfs_trans_ail_update_bulk() argument
795 ASSERT(nr_items > 0); /* Not required, but true. */ in xfs_trans_ail_update_bulk()
798 for (i = 0; i < nr_items; i++) { in xfs_trans_ail_update_bulk()
A Dxfs_trans_priv.h71 struct xfs_log_item **log_items, int nr_items,
A Dxfs_trans.c697 int nr_items, in xfs_log_item_batch_insert() argument
704 xfs_trans_ail_update_bulk(ailp, cur, log_items, nr_items, commit_lsn); in xfs_log_item_batch_insert()
706 for (i = 0; i < nr_items; i++) { in xfs_log_item_batch_insert()
/linux/include/uapi/linux/
A Dbtrfs.h527 __u32 nr_items; /* in/out */ member
701 __u64 nr_items; /* in/out */ member

Completed in 62 milliseconds