Home
last modified time | relevance | path

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

/kernel/linux/linux-5.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
553 *new_root = shadow_root(&spine); in dm_btree_remove()
617 dm_block_t *new_root, unsigned *nr_removed) in remove_one() argument
666 *new_root = shadow_root(&spine); in remove_one()
674 dm_block_t *new_root, unsigned *nr_removed) in dm_btree_remove_leaves() argument
685 *new_root = root; in dm_btree_remove_leaves()
Ddm-btree.c766 uint64_t *keys, void *value, dm_block_t *new_root, in insert() argument
840 *new_root = shadow_root(&spine); in insert()
853 uint64_t *keys, void *value, dm_block_t *new_root) in dm_btree_insert() argument
856 return insert(info, root, keys, value, new_root, NULL); in dm_btree_insert()
861 uint64_t *keys, void *value, dm_block_t *new_root, in dm_btree_insert_notify() argument
865 return insert(info, root, keys, value, new_root, inserted); in dm_btree_insert_notify()
/kernel/linux/linux-5.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.c3710 SYSCALL_DEFINE2(pivot_root, const char __user *, new_root, in SYSCALL_DEFINE2() argument
3721 error = user_path_at(AT_FDCWD, new_root, in SYSCALL_DEFINE2()
/kernel/linux/linux-5.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
1482 new_root = new_parent = NULL; in assoc_array_gc()
1483 new_ptr_pp = &new_root; in assoc_array_gc()
1638 new_root = ptr; in assoc_array_gc()
1655 new_root = ptr; in assoc_array_gc()
1688 new_root = assoc_array_node_to_ptr(new_n); in assoc_array_gc()
1718 edit->set[0].to = new_root; in assoc_array_gc()
1725 assoc_array_destroy_subtree(new_root, edit->ops); in assoc_array_gc()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.10/fs/btrfs/
Dioctl.c589 struct btrfs_root *new_root; in create_subvol() local
707 new_root = btrfs_get_new_fs_root(fs_info, objectid, anon_dev); in create_subvol()
708 if (IS_ERR(new_root)) { in create_subvol()
710 ret = PTR_ERR(new_root); in create_subvol()
717 btrfs_record_root_in_trans(trans, new_root); in create_subvol()
719 ret = btrfs_create_subvol_root(trans, new_root, root, new_dirid); in create_subvol()
720 btrfs_put_root(new_root); in create_subvol()
727 mutex_lock(&new_root->objectid_mutex); in create_subvol()
728 new_root->highest_objectid = new_dirid; in create_subvol()
729 mutex_unlock(&new_root->objectid_mutex); in create_subvol()
[all …]
Dinode.c5278 struct btrfs_root *new_root; in fixup_tree_root_location() local
5317 new_root = btrfs_get_fs_root(fs_info, location->objectid, true); in fixup_tree_root_location()
5318 if (IS_ERR(new_root)) { in fixup_tree_root_location()
5319 err = PTR_ERR(new_root); in fixup_tree_root_location()
5323 *sub_root = new_root; in fixup_tree_root_location()
5324 location->objectid = btrfs_root_dirid(&new_root->root_item); in fixup_tree_root_location()
8640 struct btrfs_root *new_root, in btrfs_create_subvol_root() argument
8648 inode = btrfs_new_inode(trans, new_root, NULL, "..", 2, in btrfs_create_subvol_root()
8661 err = btrfs_subvol_inherit_props(trans, new_root, parent_root); in btrfs_create_subvol_root()
8663 btrfs_err(new_root->fs_info, in btrfs_create_subvol_root()
[all …]
Drelocation.c4047 struct btrfs_root *new_root; in btrfs_reloc_post_snapshot() local
4065 new_root = pending->snap; in btrfs_reloc_post_snapshot()
4067 new_root->root_key.objectid); in btrfs_reloc_post_snapshot()
4073 new_root->reloc_root = btrfs_grab_root(reloc_root); in btrfs_reloc_post_snapshot()
Dctree.c577 struct extent_buffer *new_root, int log_removal) in tree_mod_log_insert_root() argument
613 tm->logical = new_root->start; in tree_mod_log_insert_root()
Dctree.h3018 struct btrfs_root *new_root,
/kernel/linux/linux-5.10/mm/
Drmap.c242 struct anon_vma *new_root = anon_vma->root; in lock_anon_vma_root() local
243 if (new_root != root) { in lock_anon_vma_root()
246 root = new_root; in lock_anon_vma_root()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.10/include/linux/
Dsyscalls.h433 asmlinkage long sys_pivot_root(const char __user *new_root,