Lines Matching refs:nritems
328 int nritems) in tree_mod_log_free_eb() argument
333 for (i = nritems - 1; i >= 0; i--) { in tree_mod_log_free_eb()
336 for (j = nritems - 1; j > i; j--) in tree_mod_log_free_eb()
353 int nritems = 0; in btrfs_tree_mod_log_insert_root() local
361 nritems = btrfs_header_nritems(old_root); in btrfs_tree_mod_log_insert_root()
362 tm_list = kcalloc(nritems, sizeof(struct tree_mod_elem *), in btrfs_tree_mod_log_insert_root()
368 for (i = 0; i < nritems; i++) { in btrfs_tree_mod_log_insert_root()
394 ret = tree_mod_log_free_eb(fs_info, tm_list, nritems); in btrfs_tree_mod_log_insert_root()
407 for (i = 0; i < nritems; i++) in btrfs_tree_mod_log_insert_root()
556 int nritems = 0; in btrfs_tree_mod_log_free_eb() local
563 nritems = btrfs_header_nritems(eb); in btrfs_tree_mod_log_free_eb()
564 tm_list = kcalloc(nritems, sizeof(struct tree_mod_elem *), GFP_NOFS); in btrfs_tree_mod_log_free_eb()
568 for (i = 0; i < nritems; i++) { in btrfs_tree_mod_log_free_eb()
580 ret = tree_mod_log_free_eb(eb->fs_info, tm_list, nritems); in btrfs_tree_mod_log_free_eb()
589 for (i = 0; i < nritems; i++) in btrfs_tree_mod_log_free_eb()