Home
last modified time | relevance | path

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

/Linux-v5.4/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.c513 uint64_t *keys, dm_block_t *new_root) in dm_btree_remove() argument
546 *new_root = shadow_root(&spine); in dm_btree_remove()
610 dm_block_t *new_root, unsigned *nr_removed) in remove_one() argument
659 *new_root = shadow_root(&spine); in remove_one()
667 dm_block_t *new_root, unsigned *nr_removed) in dm_btree_remove_leaves() argument
678 *new_root = root; in dm_btree_remove_leaves()
Ddm-btree.c763 uint64_t *keys, void *value, dm_block_t *new_root, in insert() argument
837 *new_root = shadow_root(&spine); in insert()
850 uint64_t *keys, void *value, dm_block_t *new_root) in dm_btree_insert() argument
853 return insert(info, root, keys, value, new_root, NULL); in dm_btree_insert()
858 uint64_t *keys, void *value, dm_block_t *new_root, in dm_btree_insert_notify() argument
862 return insert(info, root, keys, value, new_root, inserted); in dm_btree_insert_notify()
/Linux-v5.4/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.c3616 SYSCALL_DEFINE2(pivot_root, const char __user *, new_root, in SYSCALL_DEFINE2() argument
3627 error = user_path_at(AT_FDCWD, new_root, in SYSCALL_DEFINE2()
/Linux-v5.4/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.4/fs/afs/
Dcell.c324 struct afs_cell *old_root, *new_root; in afs_cell_init() local
349 new_root = afs_lookup_cell(net, rootcell, len, vllist, false); in afs_cell_init()
350 if (IS_ERR(new_root)) { in afs_cell_init()
351 _leave(" = %ld", PTR_ERR(new_root)); in afs_cell_init()
352 return PTR_ERR(new_root); in afs_cell_init()
355 if (!test_and_set_bit(AFS_CELL_FL_NO_GC, &new_root->flags)) in afs_cell_init()
356 afs_get_cell(new_root); in afs_cell_init()
361 rcu_assign_pointer(net->ws_cell, new_root); in afs_cell_init()
/Linux-v5.4/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.4/fs/btrfs/
Dioctl.c568 struct btrfs_root *new_root; in create_subvol() local
670 new_root = btrfs_read_fs_root_no_name(fs_info, &key); in create_subvol()
671 if (IS_ERR(new_root)) { in create_subvol()
672 ret = PTR_ERR(new_root); in create_subvol()
677 btrfs_record_root_in_trans(trans, new_root); in create_subvol()
679 ret = btrfs_create_subvol_root(trans, new_root, root, new_dirid); in create_subvol()
686 mutex_lock(&new_root->objectid_mutex); in create_subvol()
687 new_root->highest_objectid = new_dirid; in create_subvol()
688 mutex_unlock(&new_root->objectid_mutex); in create_subvol()
3955 struct btrfs_root *new_root; in btrfs_ioctl_default_subvol() local
[all …]
Dinode.c5603 struct btrfs_root *new_root; in fixup_tree_root_location() local
5642 new_root = btrfs_read_fs_root_no_name(fs_info, location); in fixup_tree_root_location()
5643 if (IS_ERR(new_root)) { in fixup_tree_root_location()
5644 err = PTR_ERR(new_root); in fixup_tree_root_location()
5648 *sub_root = new_root; in fixup_tree_root_location()
5649 location->objectid = btrfs_root_dirid(&new_root->root_item); in fixup_tree_root_location()
9242 struct btrfs_root *new_root, in btrfs_create_subvol_root() argument
9250 inode = btrfs_new_inode(trans, new_root, NULL, "..", 2, in btrfs_create_subvol_root()
9263 err = btrfs_subvol_inherit_props(trans, new_root, parent_root); in btrfs_create_subvol_root()
9265 btrfs_err(new_root->fs_info, in btrfs_create_subvol_root()
[all …]
Drelocation.c4753 struct btrfs_root *new_root; in btrfs_reloc_post_snapshot() local
4771 new_root = pending->snap; in btrfs_reloc_post_snapshot()
4773 new_root->root_key.objectid); in btrfs_reloc_post_snapshot()
4779 new_root->reloc_root = reloc_root; in btrfs_reloc_post_snapshot()
Dctree.c616 struct extent_buffer *new_root, int log_removal) in tree_mod_log_insert_root() argument
652 tm->logical = new_root->start; in tree_mod_log_insert_root()
Dctree.h2848 struct btrfs_root *new_root,
/Linux-v5.4/mm/
Drmap.c234 struct anon_vma *new_root = anon_vma->root; in lock_anon_vma_root() local
235 if (new_root != root) { in lock_anon_vma_root()
238 root = new_root; in lock_anon_vma_root()
/Linux-v5.4/tools/perf/util/
Dhist.c2116 struct rb_root_cached new_root = RB_ROOT_CACHED; in resort_filtered_entry() local
2145 resort_filtered_entry(&new_root, h); in resort_filtered_entry()
2148 he->hroot_out = new_root; in resort_filtered_entry()
2154 struct rb_root_cached new_root = RB_ROOT_CACHED; in hists__filter_hierarchy() local
2212 resort_filtered_entry(&new_root, h); in hists__filter_hierarchy()
2215 hists->entries = new_root; in hists__filter_hierarchy()
/Linux-v5.4/include/linux/
Dsyscalls.h410 asmlinkage long sys_pivot_root(const char __user *new_root,