Home
last modified time | relevance | path

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

/fs/xfs/
Dxfs_trans_ail.c658 int nr_items, in xfs_trans_ail_update_bulk() argument
666 ASSERT(nr_items > 0); /* Not required, but true. */ in xfs_trans_ail_update_bulk()
669 for (i = 0; i < nr_items; i++) { in xfs_trans_ail_update_bulk()
Dxfs_trans.c779 int nr_items, in xfs_log_item_batch_insert() argument
786 xfs_trans_ail_update_bulk(ailp, cur, log_items, nr_items, commit_lsn); in xfs_log_item_batch_insert()
788 for (i = 0; i < nr_items; i++) { in xfs_log_item_batch_insert()
Dxfs_trans_priv.h86 struct xfs_log_item **log_items, int nr_items,
/fs/btrfs/
Dctree.c306 int nr_items; member
546 int nr_items) in tree_mod_log_insert_move() argument
557 tm_list = kcalloc(nr_items, sizeof(struct tree_mod_elem *), GFP_NOFS); in tree_mod_log_insert_move()
570 tm->move.nr_items = nr_items; in tree_mod_log_insert_move()
573 for (i = 0; i + dst_slot < src_slot && i < nr_items; i++) { in tree_mod_log_insert_move()
591 for (i = 0; i + dst_slot < src_slot && i < nr_items; i++) { in tree_mod_log_insert_move()
605 for (i = 0; i < nr_items; i++) { in tree_mod_log_insert_move()
778 unsigned long src_offset, int nr_items) in tree_mod_log_eb_copy() argument
792 tm_list = kcalloc(nr_items * 2, sizeof(struct tree_mod_elem *), in tree_mod_log_eb_copy()
798 tm_list_rem = tm_list + nr_items; in tree_mod_log_eb_copy()
[all …]
Dvolumes.c7224 if (stats->nr_items > i) in btrfs_get_dev_stats()
7234 if (stats->nr_items > i) in btrfs_get_dev_stats()
7237 if (stats->nr_items > BTRFS_DEV_STAT_VALUES_MAX) in btrfs_get_dev_stats()
7238 stats->nr_items = BTRFS_DEV_STAT_VALUES_MAX; in btrfs_get_dev_stats()
Dioctl.c2048 if (*num_found >= sk->nr_items) { in copy_to_sk()
2141 sk->nr_items = num_found; in search_ioctl()
Dextent-tree.c4811 unsigned long nr_pages, int nr_items) in btrfs_writeback_inodes_sb_nr() argument
4826 btrfs_start_delalloc_roots(fs_info, 0, nr_items); in btrfs_writeback_inodes_sb_nr()
4828 btrfs_wait_ordered_roots(fs_info, nr_items, 0, (u64)-1); in btrfs_writeback_inodes_sb_nr()