Searched refs:nr_items (Results 1 - 13 of 13) sorted by relevance

/linux-master/fs/btrfs/
H A Dtree-mod-log.h53 int nr_items);
56 int nr_items);
H A Dtree-mod-log.c37 int nr_items; member in struct:tree_mod_elem::__anon1718
263 int nr_items)
274 tm->move.nr_items = nr_items;
283 int nr_items)
294 tm_list = kcalloc(nr_items, sizeof(struct tree_mod_elem *), GFP_NOFS);
300 tm = tree_mod_log_alloc_move(eb, dst_slot, src_slot, nr_items);
307 for (i = 0; i + dst_slot < src_slot && i < nr_items; i++) {
339 for (i = 0; i + dst_slot < src_slot && i < nr_items; i++) {
355 for (i = 0; i < nr_items;
261 tree_mod_log_alloc_move(struct extent_buffer *eb, int dst_slot, int src_slot, int nr_items) argument
281 btrfs_tree_mod_log_insert_move(struct extent_buffer *eb, int dst_slot, int src_slot, int nr_items) argument
537 btrfs_tree_mod_log_eb_copy(struct extent_buffer *dst, struct extent_buffer *src, unsigned long dst_offset, unsigned long src_offset, int nr_items) argument
[all...]
H A Dctree.c117 * @nr_items: the number of items to copy
123 int dst_item, int src_item, int nr_items)
127 nr_items * sizeof(struct btrfs_item));
137 * @nr_items: the number of items to copy
144 int dst_item, int src_item, int nr_items)
148 nr_items * sizeof(struct btrfs_item));
122 memmove_leaf_items(const struct extent_buffer *leaf, int dst_item, int src_item, int nr_items) argument
142 copy_leaf_items(const struct extent_buffer *dst, const struct extent_buffer *src, int dst_item, int src_item, int nr_items) argument
H A Dvolumes.c7517 const int nr_items = btrfs_header_nritems(node); local
7519 for (i = 0; i < nr_items; i++)
7935 if (stats->nr_items > i)
7945 if (stats->nr_items > i)
7948 if (stats->nr_items > BTRFS_DEV_STAT_VALUES_MAX)
7949 stats->nr_items = BTRFS_DEV_STAT_VALUES_MAX;
H A Dioctl.c1666 if (*num_found >= sk->nr_items) {
1765 sk->nr_items = num_found;
/linux-master/mm/
H A Dlist_lru.c99 if (!l->nr_items++)
101 nlru->nr_items++;
130 l->nr_items--;
131 nlru->nr_items--;
153 list->nr_items--;
161 list->nr_items--;
173 count = l ? READ_ONCE(l->nr_items) : 0;
188 return nlru->nr_items;
225 nlru->nr_items--;
324 l->nr_items
[all...]
H A Dshrinker.c16 static inline int shrinker_unit_size(int nr_items) argument
18 return (DIV_ROUND_UP(nr_items, SHRINKER_UNIT_BITS) * sizeof(struct shrinker_info_unit *));
/linux-master/fs/xfs/scrub/
H A Drcbag.c27 uint64_t nr_items; member in struct:rcbag
43 bag->nr_items = 0;
120 bag->nr_items++;
134 return rcbag->nr_items;
254 bag->nr_items -= bagrec.rbg_refcount;
/linux-master/include/linux/
H A Dlist_lru.h34 long nr_items; member in struct:list_lru_one
48 long nr_items; member in struct:list_lru_node
/linux-master/fs/xfs/
H A Dxfs_trans_priv.h73 struct xfs_log_item **log_items, int nr_items,
H A Dxfs_trans_ail.c799 int nr_items,
807 ASSERT(nr_items > 0); /* Not required, but true. */
810 for (i = 0; i < nr_items; i++) {
H A Dxfs_trans.c730 int nr_items,
737 xfs_trans_ail_update_bulk(ailp, cur, log_items, nr_items, commit_lsn);
739 for (i = 0; i < nr_items; i++) {
726 xfs_log_item_batch_insert( struct xfs_ail *ailp, struct xfs_ail_cursor *cur, struct xfs_log_item **log_items, int nr_items, xfs_lsn_t commit_lsn) argument
/linux-master/include/uapi/linux/
H A Dbtrfs.h557 * - reaching the input nr_items amount of items
560 __u32 nr_items; /* in/out */ member in struct:btrfs_ioctl_search_key
745 __u64 nr_items; /* in/out */ member in struct:btrfs_ioctl_get_dev_stats

Completed in 214 milliseconds