Home
last modified time | relevance | path

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

/fs/xfs/
Dxfs_trans_ail.c643 int nr_items, in xfs_trans_ail_update_bulk() argument
651 ASSERT(nr_items > 0); /* Not required, but true. */ in xfs_trans_ail_update_bulk()
654 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.c303 int nr_items; member
569 int nr_items, gfp_t flags) in tree_mod_log_insert_move() argument
580 tm_list = kcalloc(nr_items, sizeof(struct tree_mod_elem *), flags); in tree_mod_log_insert_move()
593 tm->move.nr_items = nr_items; in tree_mod_log_insert_move()
596 for (i = 0; i + dst_slot < src_slot && i < nr_items; i++) { in tree_mod_log_insert_move()
614 for (i = 0; i + dst_slot < src_slot && i < nr_items; i++) { in tree_mod_log_insert_move()
628 for (i = 0; i < nr_items; i++) { in tree_mod_log_insert_move()
801 unsigned long src_offset, int nr_items) in tree_mod_log_eb_copy() argument
815 tm_list = kcalloc(nr_items * 2, sizeof(struct tree_mod_elem *), in tree_mod_log_eb_copy()
821 tm_list_rem = tm_list + nr_items; in tree_mod_log_eb_copy()
[all …]
Dvolumes.c7120 if (stats->nr_items > i) in btrfs_get_dev_stats()
7128 if (stats->nr_items > i) in btrfs_get_dev_stats()
7131 if (stats->nr_items > BTRFS_DEV_STAT_VALUES_MAX) in btrfs_get_dev_stats()
7132 stats->nr_items = BTRFS_DEV_STAT_VALUES_MAX; in btrfs_get_dev_stats()
Dioctl.c2049 if (*num_found >= sk->nr_items) { in copy_to_sk()
2142 sk->nr_items = num_found; in search_ioctl()
Dextent-tree.c4663 unsigned long nr_pages, int nr_items) in btrfs_writeback_inodes_sb_nr() argument
4678 btrfs_start_delalloc_roots(root->fs_info, 0, nr_items); in btrfs_writeback_inodes_sb_nr()
4680 btrfs_wait_ordered_roots(root->fs_info, nr_items, in btrfs_writeback_inodes_sb_nr()