Lines Matching refs:nr_items
37 int nr_items; member
253 int nr_items) in btrfs_tree_mod_log_insert_move() argument
264 tm_list = kcalloc(nr_items, sizeof(struct tree_mod_elem *), GFP_NOFS); in btrfs_tree_mod_log_insert_move()
277 tm->move.nr_items = nr_items; in btrfs_tree_mod_log_insert_move()
280 for (i = 0; i + dst_slot < src_slot && i < nr_items; i++) { in btrfs_tree_mod_log_insert_move()
298 for (i = 0; i + dst_slot < src_slot && i < nr_items; i++) { in btrfs_tree_mod_log_insert_move()
313 for (i = 0; i < nr_items; i++) { in btrfs_tree_mod_log_insert_move()
484 int nr_items) in btrfs_tree_mod_log_eb_copy() argument
499 tm_list = kcalloc(nr_items * 2, sizeof(struct tree_mod_elem *), in btrfs_tree_mod_log_eb_copy()
505 tm_list_rem = tm_list + nr_items; in btrfs_tree_mod_log_eb_copy()
506 for (i = 0; i < nr_items; i++) { in btrfs_tree_mod_log_eb_copy()
526 for (i = 0; i < nr_items; i++) { in btrfs_tree_mod_log_eb_copy()
541 for (i = 0; i < nr_items * 2; i++) { in btrfs_tree_mod_log_eb_copy()
703 tm->move.nr_items * p_size); in tree_mod_log_rewind()