Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/md/persistent-data/
Ddm-bitset.h93 int dm_bitset_empty(struct dm_disk_bitset *info, dm_block_t *new_root);
123 bool default_value, dm_block_t *new_root);
141 uint32_t index, dm_block_t *new_root);
154 uint32_t index, dm_block_t *new_root);
168 uint32_t index, dm_block_t *new_root, bool *result);
178 dm_block_t *new_root);
Ddm-bitset.c86 bool default_value, dm_block_t *new_root) in dm_bitset_resize() argument
94 &value, new_root); in dm_bitset_resize()
105 dm_block_t *new_root) in dm_bitset_flush() argument
117 &value, new_root); in dm_bitset_flush()
147 uint32_t index, dm_block_t *new_root) in get_array_entry() argument
156 r = dm_bitset_flush(info, root, new_root); in get_array_entry()
165 uint32_t index, dm_block_t *new_root) in dm_bitset_set_bit() argument
170 r = get_array_entry(info, root, index, new_root); in dm_bitset_set_bit()
182 uint32_t index, dm_block_t *new_root) in dm_bitset_clear_bit() argument
187 r = get_array_entry(info, root, index, new_root); in dm_bitset_clear_bit()
[all …]
Ddm-btree.h123 uint64_t *keys, void *value, dm_block_t *new_root)
132 uint64_t *keys, void *value, dm_block_t *new_root,
142 uint64_t *keys, dm_block_t *new_root);
152 dm_block_t *new_root, unsigned *nr_removed);
Ddm-array.h111 const void *value, dm_block_t *new_root)
168 uint32_t index, const void *value, dm_block_t *new_root)
Ddm-array.c657 const void *value, dm_block_t *new_root) in array_resize() argument
663 *new_root = root; in array_resize()
683 *new_root = resize.root; in array_resize()
689 const void *value, dm_block_t *new_root) in dm_array_resize() argument
692 int r = array_resize(info, root, old_size, new_size, value, new_root); in dm_array_resize()
797 uint32_t index, const void *value, dm_block_t *new_root) in array_set_value() argument
814 *new_root = root; in array_set_value()
838 uint32_t index, const void *value, dm_block_t *new_root) in dm_array_set_value() argument
843 r = array_set_value(info, root, index, value, new_root); in dm_array_set_value()
Ddm-btree-remove.c519 uint64_t *keys, dm_block_t *new_root) in dm_btree_remove() argument
552 *new_root = shadow_root(&spine); in dm_btree_remove()
616 dm_block_t *new_root, unsigned *nr_removed) in remove_one() argument
665 *new_root = shadow_root(&spine); in remove_one()
673 dm_block_t *new_root, unsigned *nr_removed) in dm_btree_remove_leaves() argument
684 *new_root = root; in dm_btree_remove_leaves()
Ddm-btree.c764 uint64_t *keys, void *value, dm_block_t *new_root, in insert() argument
838 *new_root = shadow_root(&spine); in insert()
851 uint64_t *keys, void *value, dm_block_t *new_root) in dm_btree_insert() argument
854 return insert(info, root, keys, value, new_root, NULL); in dm_btree_insert()
859 uint64_t *keys, void *value, dm_block_t *new_root, in dm_btree_insert_notify() argument
863 return insert(info, root, keys, value, new_root, inserted); in dm_btree_insert_notify()
/Linux-v5.10/fs/
Dfs_struct.c58 void chroot_fs_refs(const struct path *old_root, const struct path *new_root) in chroot_fs_refs() argument
72 hits += replace_path(&fs->root, old_root, new_root); in chroot_fs_refs()
73 hits += replace_path(&fs->pwd, old_root, new_root); in chroot_fs_refs()
77 path_get(new_root); in chroot_fs_refs()
Dnamespace.c3685 SYSCALL_DEFINE2(pivot_root, const char __user *, new_root, in SYSCALL_DEFINE2() argument
3696 error = user_path_at(AT_FDCWD, new_root, in SYSCALL_DEFINE2()
/Linux-v5.10/lib/
Dgeneric-radix-tree.c113 struct genradix_root *r = v, *new_root; in __genradix_ptr_alloc() local
128 new_root = ((struct genradix_root *) in __genradix_ptr_alloc()
131 if ((v = cmpxchg_release(&radix->root, r, new_root)) == r) { in __genradix_ptr_alloc()
132 v = new_root; in __genradix_ptr_alloc()
Dassoc_array.c1463 struct assoc_array_ptr *new_root, *new_parent, **new_ptr_pp; in assoc_array_gc() local
1481 new_root = new_parent = NULL; in assoc_array_gc()
1482 new_ptr_pp = &new_root; in assoc_array_gc()
1630 new_root = ptr; in assoc_array_gc()
1647 new_root = ptr; in assoc_array_gc()
1680 new_root = assoc_array_node_to_ptr(new_n); in assoc_array_gc()
1710 edit->set[0].to = new_root; in assoc_array_gc()
1717 assoc_array_destroy_subtree(new_root, edit->ops); in assoc_array_gc()
/Linux-v5.10/fs/afs/
Dcell.c343 struct afs_cell *old_root, *new_root; in afs_cell_init() local
368 new_root = afs_lookup_cell(net, rootcell, len, vllist, false); in afs_cell_init()
369 if (IS_ERR(new_root)) { in afs_cell_init()
370 _leave(" = %ld", PTR_ERR(new_root)); in afs_cell_init()
371 return PTR_ERR(new_root); in afs_cell_init()
374 if (!test_and_set_bit(AFS_CELL_FL_NO_GC, &new_root->flags)) in afs_cell_init()
375 afs_use_cell(new_root, afs_cell_trace_use_pin); in afs_cell_init()
379 afs_see_cell(new_root, afs_cell_trace_see_ws); in afs_cell_init()
381 net->ws_cell = new_root; in afs_cell_init()
/Linux-v5.10/fs/reiserfs/
Dibalance.c658 struct buffer_head *new_root; in balance_internal_when_delete() local
669 new_root = tb->R[h - 1]; in balance_internal_when_delete()
671 new_root = tb->L[h - 1]; in balance_internal_when_delete()
675 PUT_SB_ROOT_BLOCK(tb->tb_sb, new_root->b_blocknr); in balance_internal_when_delete()
686 check_internal(new_root); in balance_internal_when_delete()
/Linux-v5.10/fs/btrfs/
Dioctl.c589 struct btrfs_root *new_root; in create_subvol() local
695 new_root = btrfs_get_new_fs_root(fs_info, objectid, anon_dev); in create_subvol()
696 if (IS_ERR(new_root)) { in create_subvol()
698 ret = PTR_ERR(new_root); in create_subvol()
705 btrfs_record_root_in_trans(trans, new_root); in create_subvol()
707 ret = btrfs_create_subvol_root(trans, new_root, root, new_dirid); in create_subvol()
708 btrfs_put_root(new_root); in create_subvol()
715 mutex_lock(&new_root->objectid_mutex); in create_subvol()
716 new_root->highest_objectid = new_dirid; in create_subvol()
717 mutex_unlock(&new_root->objectid_mutex); in create_subvol()
[all …]
Dinode.c5259 struct btrfs_root *new_root; in fixup_tree_root_location() local
5298 new_root = btrfs_get_fs_root(fs_info, location->objectid, true); in fixup_tree_root_location()
5299 if (IS_ERR(new_root)) { in fixup_tree_root_location()
5300 err = PTR_ERR(new_root); in fixup_tree_root_location()
5304 *sub_root = new_root; in fixup_tree_root_location()
5305 location->objectid = btrfs_root_dirid(&new_root->root_item); in fixup_tree_root_location()
8594 struct btrfs_root *new_root, in btrfs_create_subvol_root() argument
8602 inode = btrfs_new_inode(trans, new_root, NULL, "..", 2, in btrfs_create_subvol_root()
8615 err = btrfs_subvol_inherit_props(trans, new_root, parent_root); in btrfs_create_subvol_root()
8617 btrfs_err(new_root->fs_info, in btrfs_create_subvol_root()
[all …]
Drelocation.c4024 struct btrfs_root *new_root; in btrfs_reloc_post_snapshot() local
4042 new_root = pending->snap; in btrfs_reloc_post_snapshot()
4044 new_root->root_key.objectid); in btrfs_reloc_post_snapshot()
4050 new_root->reloc_root = btrfs_grab_root(reloc_root); in btrfs_reloc_post_snapshot()
Dctree.c574 struct extent_buffer *new_root, int log_removal) in tree_mod_log_insert_root() argument
610 tm->logical = new_root->start; in tree_mod_log_insert_root()
Dctree.h3010 struct btrfs_root *new_root,
/Linux-v5.10/mm/
Drmap.c240 struct anon_vma *new_root = anon_vma->root; in lock_anon_vma_root() local
241 if (new_root != root) { in lock_anon_vma_root()
244 root = new_root; in lock_anon_vma_root()
/Linux-v5.10/tools/perf/util/
Dhist.c2163 struct rb_root_cached new_root = RB_ROOT_CACHED; in resort_filtered_entry() local
2192 resort_filtered_entry(&new_root, h); in resort_filtered_entry()
2195 he->hroot_out = new_root; in resort_filtered_entry()
2201 struct rb_root_cached new_root = RB_ROOT_CACHED; in hists__filter_hierarchy() local
2259 resort_filtered_entry(&new_root, h); in hists__filter_hierarchy()
2262 hists->entries = new_root; in hists__filter_hierarchy()
/Linux-v5.10/include/linux/
Dsyscalls.h409 asmlinkage long sys_pivot_root(const char __user *new_root,