Home
last modified time | relevance | path

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

/fs/btrfs/
Dtree-mod-log.c253 struct tree_mod_elem **tm_list = NULL; in btrfs_tree_mod_log_insert_move() local
261 tm_list = kcalloc(nr_items, sizeof(struct tree_mod_elem *), GFP_NOFS); in btrfs_tree_mod_log_insert_move()
262 if (!tm_list) in btrfs_tree_mod_log_insert_move()
278 tm_list[i] = alloc_tree_mod_elem(eb, i + dst_slot, in btrfs_tree_mod_log_insert_move()
280 if (!tm_list[i]) { in btrfs_tree_mod_log_insert_move()
296 ret = tree_mod_log_insert(eb->fs_info, tm_list[i]); in btrfs_tree_mod_log_insert_move()
305 kfree(tm_list); in btrfs_tree_mod_log_insert_move()
311 if (tm_list[i] && !RB_EMPTY_NODE(&tm_list[i]->node)) in btrfs_tree_mod_log_insert_move()
312 rb_erase(&tm_list[i]->node, &eb->fs_info->tree_mod_log); in btrfs_tree_mod_log_insert_move()
313 kfree(tm_list[i]); in btrfs_tree_mod_log_insert_move()
[all …]