Home
last modified time | relevance | path

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

/linux/drivers/md/persistent-data/
H A Ddm-bitset.h94 int dm_bitset_empty(struct dm_disk_bitset *info, dm_block_t *new_root);
124 bool default_value, dm_block_t *new_root);
142 uint32_t index, dm_block_t *new_root);
155 uint32_t index, dm_block_t *new_root);
169 uint32_t index, dm_block_t *new_root, bool *result);
179 dm_block_t *new_root);
H A Ddm-bitset.c85 bool default_value, dm_block_t *new_root)
93 &value, new_root); in dm_bitset_resize()
104 dm_block_t *new_root)
116 &value, new_root); in dm_bitset_flush()
146 uint32_t index, dm_block_t *new_root) in read_bits()
155 r = dm_bitset_flush(info, root, new_root); in get_array_entry()
164 uint32_t index, dm_block_t *new_root) in get_array_entry()
169 r = get_array_entry(info, root, index, new_root); in dm_bitset_set_bit()
181 uint32_t index, dm_block_t *new_root)
186 r = get_array_entry(info, root, index, new_root); in dm_bitset_clear_bit()
88 dm_bitset_resize(struct dm_disk_bitset * info,dm_block_t root,uint32_t old_nr_entries,uint32_t new_nr_entries,bool default_value,dm_block_t * new_root) dm_bitset_resize() argument
107 dm_bitset_flush(struct dm_disk_bitset * info,dm_block_t root,dm_block_t * new_root) dm_bitset_flush() argument
149 get_array_entry(struct dm_disk_bitset * info,dm_block_t root,uint32_t index,dm_block_t * new_root) get_array_entry() argument
167 dm_bitset_set_bit(struct dm_disk_bitset * info,dm_block_t root,uint32_t index,dm_block_t * new_root) dm_bitset_set_bit() argument
184 dm_bitset_clear_bit(struct dm_disk_bitset * info,dm_block_t root,uint32_t index,dm_block_t * new_root) dm_bitset_clear_bit() argument
201 dm_bitset_test_bit(struct dm_disk_bitset * info,dm_block_t root,uint32_t index,dm_block_t * new_root,bool * result) dm_bitset_test_bit() argument
[all...]
H A Ddm-btree.h124 uint64_t *keys, void *value, dm_block_t *new_root)
133 uint64_t *keys, void *value, dm_block_t *new_root,
143 uint64_t *keys, dm_block_t *new_root);
153 dm_block_t *new_root, unsigned int *nr_removed);
H A Ddm-array.h112 const void *value, dm_block_t *new_root)
169 uint32_t index, const void *value, dm_block_t *new_root)
H A Ddm-btree-remove.c610 uint64_t *keys, dm_block_t *new_root) in dm_btree_remove()
644 *new_root = shadow_root(&spine);
709 dm_block_t *new_root, unsigned int *nr_removed) in remove_one()
758 *new_root = shadow_root(&spine); in dm_btree_remove_leaves()
766 dm_block_t *new_root, unsigned int *nr_removed) in dm_btree_remove_leaves()
777 *new_root = root;
603 dm_btree_remove(struct dm_btree_info * info,dm_block_t root,uint64_t * keys,dm_block_t * new_root) dm_btree_remove() argument
702 remove_one(struct dm_btree_info * info,dm_block_t root,uint64_t * keys,uint64_t end_key,dm_block_t * new_root,unsigned int * nr_removed) remove_one() argument
759 dm_btree_remove_leaves(struct dm_btree_info * info,dm_block_t root,uint64_t * first_key,uint64_t end_key,dm_block_t * new_root,unsigned int * nr_removed) dm_btree_remove_leaves() argument
H A Ddm-btree.c1204 dm_block_t *new_root, struct dm_block **leaf) in btree_get_overwrite_leaf() argument
1213 *new_root = shadow_root(&spine); in btree_get_overwrite_leaf()
1235 uint64_t *keys, void *value, dm_block_t *new_root, in insert() argument
1309 *new_root = shadow_root(&spine); in insert()
1322 uint64_t *keys, void *value, dm_block_t *new_root) in dm_btree_insert() argument
1325 return insert(info, root, keys, value, new_root, NULL); in dm_btree_insert()
1330 uint64_t *keys, void *value, dm_block_t *new_root, in dm_btree_insert_notify() argument
1334 return insert(info, root, keys, value, new_root, inserted); in dm_btree_insert_notify()
H A Ddm-btree-internal.h160 dm_block_t *new_root, struct dm_block **leaf);
/linux/lib/
H A Dgeneric-radix-tree.c35 struct genradix_root *r = v, *new_root; in __genradix_ptr_alloc() local
50 new_root = ((struct genradix_root *) in __genradix_ptr_alloc()
53 if ((v = cmpxchg_release(&radix->root, r, new_root)) == r) { in __genradix_ptr_alloc()
54 v = new_root; in __genradix_ptr_alloc()
H A Dassoc_array.c1507 struct assoc_array_ptr *new_root; /* The root of the copy */ in assoc_array_gc()
1720 w->new_root = ptr; in assoc_array_gc()
1737 w->new_root = ptr;
1769 w->new_root = assoc_array_node_to_ptr(new_n);
1857 link = &w.new_root;
1875 edit->set[0].to = w.new_root;
1882 assoc_array_destroy_subtree(w.new_root, edit->ops);
1461 struct assoc_array_ptr *new_root, *new_parent, **new_ptr_pp; assoc_array_gc() local
/linux/fs/afs/
H A Dcell.c417 struct afs_cell *old_root, *new_root; in afs_cell_init() local
450 new_root = afs_lookup_cell(net, rootcell, len, vllist, in afs_cell_init()
453 if (IS_ERR(new_root)) { in afs_cell_init()
454 _leave(" = %ld", PTR_ERR(new_root)); in afs_cell_init()
455 return PTR_ERR(new_root); in afs_cell_init()
458 if (!test_and_set_bit(AFS_CELL_FL_NO_GC, &new_root->flags)) in afs_cell_init()
459 afs_use_cell(new_root, afs_cell_trace_use_pin); in afs_cell_init()
463 old_root = rcu_replace_pointer(net->ws_cell, new_root, in afs_cell_init()
/linux/fs/btrfs/
H A Dtree-mod-log.h38 struct extent_buffer *new_root,
H A Dioctl.c576 struct btrfs_root *new_root; in create_subvol()
709 new_root = btrfs_get_new_fs_root(fs_info, objectid, &anon_dev); in create_subvol()
710 if (IS_ERR(new_root)) { in create_subvol()
711 ret = PTR_ERR(new_root); in create_subvol()
715 /* anon_dev is owned by new_root now. */ in create_subvol()
717 BTRFS_I(new_inode_args.inode)->root = new_root; in create_subvol()
718 /* ... and new_root is owned by new_inode_args.inode now. */ in create_subvol()
720 ret = btrfs_record_root_in_trans(trans, new_root); in create_subvol()
747 set_bit(BTRFS_ROOT_ORPHAN_CLEANUP, &new_root->state); in create_subvol()
1898 bool new_root in btrfs_ioctl_ino_lookup()
563 struct btrfs_root *new_root; create_subvol() local
1885 bool new_root = false; btrfs_ioctl_ino_lookup() local
2799 struct btrfs_root *new_root; btrfs_ioctl_default_subvol() local
[all...]
H A Drelocation.c5963 struct btrfs_root *new_root; in btrfs_reloc_post_snapshot()
5984 new_root = pending->snap; in btrfs_reloc_post_snapshot()
5985 reloc_root = create_reloc_root(trans, root->reloc_root, btrfs_root_id(new_root)); in btrfs_reloc_post_snapshot()
5998 new_root->reloc_root = btrfs_grab_root(reloc_root); in btrfs_reloc_post_snapshot()
5966 struct btrfs_root *new_root; btrfs_reloc_post_snapshot() local
H A Dinode.c5761 struct btrfs_root *new_root; in btrfs_evict_inode()
5804 new_root = btrfs_get_fs_root(fs_info, location->objectid, true); in btrfs_inode_by_name()
5805 if (IS_ERR(new_root)) { in btrfs_inode_by_name()
5806 err = PTR_ERR(new_root); in btrfs_inode_by_name()
5810 *sub_root = new_root; in btrfs_inode_by_name()
5811 location->objectid = btrfs_root_dirid(&new_root->root_item); in btrfs_inode_by_name()
5840 struct btrfs_root *new_root; fixup_tree_root_location() local
/linux/tools/perf/util/
H A Dhist.c2361 struct rb_root_cached new_root = RB_ROOT_CACHED; in resort_filtered_entry()
2390 resort_filtered_entry(&new_root, h);
2393 he->hroot_out = new_root; in hists__filter_hierarchy()
2399 struct rb_root_cached new_root = RB_ROOT_CACHED; in hists__filter_hierarchy()
2457 resort_filtered_entry(&new_root, h);
2460 hists->entries = new_root; in hists__filter_by_thread()
2356 struct rb_root_cached new_root = RB_ROOT_CACHED; resort_filtered_entry() local
2394 struct rb_root_cached new_root = RB_ROOT_CACHED; hists__filter_hierarchy() local
/linux/fs/
H A Dnamespace.c4889 /* make sure we can reach put_old from new_root */ in path_pivot_root()
4901 /* mount new_root on / */ in path_pivot_root()
4919 * makes new_root as the new root file system of the current process, and sets
4920 * root/cwd of all processes which had them on the current root to new_root.
4923 * The new_root and put_old must be directories, and must not be on the
4925 * underneath new_root, i.e. adding a non-zero number of /.. to the string
4926 * pointed to by put_old must yield the same directory as new_root. No other
4927 * file system may be mounted on put_old. After all, new_root is a mountpoint.
4941 SYSCALL_DEFINE2(pivot_root, const char __user *, new_root,
4948 error = user_path_at(AT_FDCWD, new_root, in SYSCALL_DEFINE2()
4944 SYSCALL_DEFINE2(pivot_root,const char __user *,new_root,const char __user *,put_old) SYSCALL_DEFINE2() argument
[all...]