Home
last modified time | relevance | path

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

/fs/
Dfs_struct.c17 struct path old_root; in set_fs_root() local
22 old_root = fs->root; in set_fs_root()
26 if (old_root.dentry) in set_fs_root()
27 path_put(&old_root); in set_fs_root()
59 void chroot_fs_refs(const struct path *old_root, const struct path *new_root) in chroot_fs_refs() argument
73 hits += replace_path(&fs->root, old_root, new_root); in chroot_fs_refs()
74 hits += replace_path(&fs->pwd, old_root, new_root); in chroot_fs_refs()
86 path_put(old_root); in chroot_fs_refs()
/fs/btrfs/
Dctree.c310 struct tree_mod_root old_root; member
615 static noinline int tree_mod_log_insert_root(struct extent_buffer *old_root, in tree_mod_log_insert_root() argument
618 struct btrfs_fs_info *fs_info = old_root->fs_info; in tree_mod_log_insert_root()
628 if (log_removal && btrfs_header_level(old_root) > 0) { in tree_mod_log_insert_root()
629 nritems = btrfs_header_nritems(old_root); in tree_mod_log_insert_root()
637 tm_list[i] = alloc_tree_mod_elem(old_root, i, in tree_mod_log_insert_root()
653 tm->old_root.logical = old_root->start; in tree_mod_log_insert_root()
654 tm->old_root.level = btrfs_header_level(old_root); in tree_mod_log_insert_root()
655 tm->generation = btrfs_header_generation(old_root); in tree_mod_log_insert_root()
1207 root_logical = tm->old_root.logical; in __tree_mod_log_oldest_root()
[all …]
Dqgroup.c1581 struct ulist *old_root; in btrfs_qgroup_trace_extent_post() local
1585 ret = btrfs_find_all_roots(NULL, fs_info, bytenr, 0, &old_root, false); in btrfs_qgroup_trace_extent_post()
1601 qrecord->old_roots = old_root; in btrfs_qgroup_trace_extent_post()
/fs/afs/
Dcell.c333 struct afs_cell *old_root, *new_root; in afs_cell_init() local
369 old_root = rcu_access_pointer(net->ws_cell); in afs_cell_init()
373 afs_put_cell(net, old_root); in afs_cell_init()
/fs/nfs/
Dsuper.c2028 memcpy(data->root.data, data->old_root.data, NFS2_FHSIZE); in nfs23_validate_mount_data()