Home
last modified time | relevance | path

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

/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.c1612 char *btrfs_ref_to_path(struct btrfs_root *fs_root, struct btrfs_path *path, argument
1640 ret = btrfs_find_item(fs_root, path, parent, 0,
1998 static int iterate_inode_refs(u64 inum, struct btrfs_root *fs_root, argument
2015 ret = btrfs_find_item(fs_root, path, inum,
2042 btrfs_debug(fs_root->fs_info,
2045 fs_root->root_key.objectid);
2061 static int iterate_inode_extrefs(u64 inum, struct btrfs_root *fs_root, argument
2077 ret = btrfs_find_one_extref(fs_root, inum, offset, path, &extref,
2123 static int iterate_irefs(u64 inum, struct btrfs_root *fs_root, argument
2130 ret = iterate_inode_refs(inum, fs_root, path, iterate, ctx);
[all …]
Drelocation.c2663 struct btrfs_root *fs_root = NULL; in select_one_root() local
2679 fs_root = root; in select_one_root()
2689 if (!fs_root) in select_one_root()
2691 return fs_root; in select_one_root()
4493 struct btrfs_root *fs_root; in btrfs_recover_relocation() local
4540 fs_root = read_fs_root(fs_info, in btrfs_recover_relocation()
4542 if (IS_ERR(fs_root)) { in btrfs_recover_relocation()
4543 ret = PTR_ERR(fs_root); in btrfs_recover_relocation()
4596 fs_root = read_fs_root(fs_info, reloc_root->root_key.offset); in btrfs_recover_relocation()
4597 if (IS_ERR(fs_root)) { in btrfs_recover_relocation()
[all …]
Dsuper.c1012 struct btrfs_root *fs_root; in get_subvol_name_from_objectid() local
1080 fs_root = btrfs_read_fs_root_no_name(fs_info, &key); in get_subvol_name_from_objectid()
1081 if (IS_ERR(fs_root)) { in get_subvol_name_from_objectid()
1082 ret = PTR_ERR(fs_root); in get_subvol_name_from_objectid()
1095 ret = btrfs_search_slot(NULL, fs_root, &key, path, 0, 0); in get_subvol_name_from_objectid()
1099 ret = btrfs_previous_item(fs_root, path, dirid, in get_subvol_name_from_objectid()
1222 inode = btrfs_iget(sb, &key, fs_info->fs_root, NULL); in btrfs_fill_super()
Dfree-space-cache.h98 u64 btrfs_find_ino_for_alloc(struct btrfs_root *fs_root);
Ddisk-io.c1892 if (info->fs_root && info->fs_root->node) { in backup_super_roots()
1894 info->fs_root->node->start); in backup_super_roots()
1896 btrfs_header_generation(info->fs_root->node)); in backup_super_roots()
1898 btrfs_header_level(info->fs_root->node)); in backup_super_roots()
3202 fs_info->fs_root = btrfs_read_fs_root_no_name(fs_info, &location); in open_ctree()
3203 if (IS_ERR(fs_info->fs_root)) { in open_ctree()
3204 err = PTR_ERR(fs_info->fs_root); in open_ctree()
3245 if ((ret = btrfs_orphan_cleanup(fs_info->fs_root)) || in open_ctree()
Dctree.h189 __le64 fs_root; member
536 struct btrfs_root *fs_root; member
2003 fs_root, 64);
2552 int btrfs_find_item(struct btrfs_root *fs_root, struct btrfs_path *path,
Dctree.c2589 int btrfs_find_item(struct btrfs_root *fs_root, struct btrfs_path *path, in btrfs_find_item() argument
2604 ret = btrfs_search_slot(NULL, fs_root, &key, path, 0, 0); in btrfs_find_item()
2610 ret = btrfs_next_leaf(fs_root, path); in btrfs_find_item()
Dfree-space-cache.c3433 u64 btrfs_find_ino_for_alloc(struct btrfs_root *fs_root) in btrfs_find_ino_for_alloc() argument
3435 struct btrfs_free_space_ctl *ctl = fs_root->free_ino_ctl; in btrfs_find_ino_for_alloc()
Dqgroup.c3153 trans = btrfs_start_transaction(fs_info->fs_root, 0); in btrfs_qgroup_rescan_worker()
3331 trans = btrfs_join_transaction(fs_info->fs_root); in btrfs_qgroup_rescan()
/fs/btrfs/tests/
Dqgroup-tests.c504 root->fs_info->fs_root = tmp_root; in btrfs_test_qgroups()
/fs/
Dnamespace.c3853 struct path fs_root; in current_chrooted() local
3863 get_fs_root(current->fs, &fs_root); in current_chrooted()
3865 chrooted = !path_equal(&fs_root, &ns_root); in current_chrooted()
3867 path_put(&fs_root); in current_chrooted()