Home
last modified time | relevance | path

Searched refs:fs_root (Results 1 – 12 of 12) sorted by relevance

/Linux-v4.19/fs/btrfs/
Dbackref.h15 struct btrfs_root *fs_root; member
46 char *btrfs_ref_to_path(struct btrfs_root *fs_root, struct btrfs_path *path,
52 struct inode_fs_paths *init_ipath(s32 total_bytes, struct btrfs_root *fs_root,
Dbackref.c1605 char *btrfs_ref_to_path(struct btrfs_root *fs_root, struct btrfs_path *path, argument
1633 ret = btrfs_find_item(fs_root, path, parent, 0,
1985 static int iterate_inode_refs(u64 inum, struct btrfs_root *fs_root, argument
2002 ret = btrfs_find_item(fs_root, path, inum,
2032 btrfs_debug(fs_root->fs_info,
2034 cur, found_key.objectid, fs_root->objectid);
2051 static int iterate_inode_extrefs(u64 inum, struct btrfs_root *fs_root, argument
2067 ret = btrfs_find_one_extref(fs_root, inum, offset, path, &extref,
2118 static int iterate_irefs(u64 inum, struct btrfs_root *fs_root, argument
2125 ret = iterate_inode_refs(inum, fs_root, path, iterate, ctx);
[all …]
Dfree-space-cache.h95 u64 btrfs_find_ino_for_alloc(struct btrfs_root *fs_root);
Drelocation.c2535 struct btrfs_root *fs_root = NULL; in select_one_root() local
2551 fs_root = root; in select_one_root()
2561 if (!fs_root) in select_one_root()
2563 return fs_root; in select_one_root()
4360 struct btrfs_root *fs_root; in btrfs_recover_relocation() local
4407 fs_root = read_fs_root(fs_info, in btrfs_recover_relocation()
4409 if (IS_ERR(fs_root)) { in btrfs_recover_relocation()
4410 ret = PTR_ERR(fs_root); in btrfs_recover_relocation()
4463 fs_root = read_fs_root(fs_info, reloc_root->root_key.offset); in btrfs_recover_relocation()
4464 if (IS_ERR(fs_root)) { in btrfs_recover_relocation()
[all …]
Dsuper.c1003 struct btrfs_root *fs_root; in get_subvol_name_from_objectid() local
1071 fs_root = btrfs_read_fs_root_no_name(fs_info, &key); in get_subvol_name_from_objectid()
1072 if (IS_ERR(fs_root)) { in get_subvol_name_from_objectid()
1073 ret = PTR_ERR(fs_root); in get_subvol_name_from_objectid()
1086 ret = btrfs_search_slot(NULL, fs_root, &key, path, 0, 0); in get_subvol_name_from_objectid()
1090 ret = btrfs_previous_item(fs_root, path, dirid, in get_subvol_name_from_objectid()
1213 inode = btrfs_iget(sb, &key, fs_info->fs_root, NULL); in btrfs_fill_super()
Ddisk-io.c1929 if (info->fs_root && info->fs_root->node) { in backup_super_roots()
1931 info->fs_root->node->start); in backup_super_roots()
1933 btrfs_header_generation(info->fs_root->node)); in backup_super_roots()
1935 btrfs_header_level(info->fs_root->node)); in backup_super_roots()
3175 fs_info->fs_root = btrfs_read_fs_root_no_name(fs_info, &location); in open_ctree()
3176 if (IS_ERR(fs_info->fs_root)) { in open_ctree()
3177 err = PTR_ERR(fs_info->fs_root); in open_ctree()
3218 if ((ret = btrfs_orphan_cleanup(fs_info->fs_root)) || in open_ctree()
Dctree.h174 __le64 fs_root; member
760 struct btrfs_root *fs_root; member
2192 fs_root, 64);
2861 int btrfs_find_item(struct btrfs_root *fs_root, struct btrfs_path *path,
Dqgroup.c2752 trans = btrfs_start_transaction(fs_info->fs_root, 0); in btrfs_qgroup_rescan_worker()
2925 trans = btrfs_join_transaction(fs_info->fs_root); in btrfs_qgroup_rescan()
Dctree.c2562 int btrfs_find_item(struct btrfs_root *fs_root, struct btrfs_path *path, in btrfs_find_item() argument
2577 ret = btrfs_search_slot(NULL, fs_root, &key, path, 0, 0); in btrfs_find_item()
2583 ret = btrfs_next_leaf(fs_root, path); in btrfs_find_item()
Dfree-space-cache.c3380 u64 btrfs_find_ino_for_alloc(struct btrfs_root *fs_root) in btrfs_find_ino_for_alloc() argument
3382 struct btrfs_free_space_ctl *ctl = fs_root->free_ino_ctl; in btrfs_find_ino_for_alloc()
/Linux-v4.19/fs/btrfs/tests/
Dqgroup-tests.c504 root->fs_info->fs_root = tmp_root; in btrfs_test_qgroups()
/Linux-v4.19/fs/
Dnamespace.c3275 struct path fs_root; in current_chrooted() local
3285 get_fs_root(current->fs, &fs_root); in current_chrooted()
3287 chrooted = !path_equal(&fs_root, &ns_root); in current_chrooted()
3289 path_put(&fs_root); in current_chrooted()