Home
last modified time | relevance | path

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

/linux-4.4.14/fs/btrfs/
Dbackref.h28 struct btrfs_root *fs_root; member
57 char *btrfs_ref_to_path(struct btrfs_root *fs_root, struct btrfs_path *path,
63 struct inode_fs_paths *init_ipath(s32 total_bytes, struct btrfs_root *fs_root,
Dbackref.c1396 char *btrfs_ref_to_path(struct btrfs_root *fs_root, struct btrfs_path *path, argument
1424 ret = btrfs_find_item(fs_root, path, parent, 0,
1762 static int iterate_inode_refs(u64 inum, struct btrfs_root *fs_root, argument
1779 ret = btrfs_find_item(fs_root, path, inum,
1811 fs_root->objectid);
1828 static int iterate_inode_extrefs(u64 inum, struct btrfs_root *fs_root, argument
1844 ret = btrfs_find_one_extref(fs_root, inum, offset, path, &extref,
1895 static int iterate_irefs(u64 inum, struct btrfs_root *fs_root, argument
1902 ret = iterate_inode_refs(inum, fs_root, path, iterate, ctx);
1908 ret = iterate_inode_extrefs(inum, fs_root, path, iterate, ctx);
[all …]
Dfree-space-cache.h109 u64 btrfs_find_ino_for_alloc(struct btrfs_root *fs_root);
Dsuper.c850 struct btrfs_root *fs_root; in get_subvol_name_from_objectid() local
918 fs_root = btrfs_read_fs_root_no_name(fs_info, &key); in get_subvol_name_from_objectid()
919 if (IS_ERR(fs_root)) { in get_subvol_name_from_objectid()
920 ret = PTR_ERR(fs_root); in get_subvol_name_from_objectid()
933 ret = btrfs_search_slot(NULL, fs_root, &key, path, 0, 0); in get_subvol_name_from_objectid()
937 ret = btrfs_previous_item(fs_root, path, dirid, in get_subvol_name_from_objectid()
1053 inode = btrfs_iget(sb, &key, fs_info->fs_root, NULL); in btrfs_fill_super()
Drelocation.c2528 struct btrfs_root *fs_root = NULL; local
2544 fs_root = root;
2554 if (!fs_root)
2556 return fs_root;
4334 struct btrfs_root *fs_root; local
4381 fs_root = read_fs_root(root->fs_info,
4383 if (IS_ERR(fs_root)) {
4384 ret = PTR_ERR(fs_root);
4437 fs_root = read_fs_root(root->fs_info,
4439 if (IS_ERR(fs_root)) {
[all …]
Ddisk-io.c2034 if (info->fs_root && info->fs_root->node) { in backup_super_roots()
2036 info->fs_root->node->start); in backup_super_roots()
2038 btrfs_header_generation(info->fs_root->node)); in backup_super_roots()
2040 btrfs_header_level(info->fs_root->node)); in backup_super_roots()
3075 fs_info->fs_root = btrfs_read_fs_root_no_name(fs_info, &location); in open_ctree()
3076 if (IS_ERR(fs_info->fs_root)) { in open_ctree()
3077 err = PTR_ERR(fs_info->fs_root); in open_ctree()
3085 if ((ret = btrfs_orphan_cleanup(fs_info->fs_root)) || in open_ctree()
Dqgroup.c2292 trans = btrfs_start_transaction(fs_info->fs_root, 0); in btrfs_qgroup_rescan_worker()
2303 btrfs_commit_transaction(trans, fs_info->fs_root); in btrfs_qgroup_rescan_worker()
2305 btrfs_end_transaction(trans, fs_info->fs_root); in btrfs_qgroup_rescan_worker()
2451 trans = btrfs_join_transaction(fs_info->fs_root); in btrfs_qgroup_rescan()
2456 ret = btrfs_commit_transaction(trans, fs_info->fs_root); in btrfs_qgroup_rescan()
Dctree.h424 __le64 fs_root; member
1428 struct btrfs_root *fs_root; member
2985 fs_root, 64);
3635 int btrfs_find_item(struct btrfs_root *fs_root, struct btrfs_path *path,
Dctree.c2622 int btrfs_find_item(struct btrfs_root *fs_root, struct btrfs_path *path, in btrfs_find_item() argument
2637 ret = btrfs_search_slot(NULL, fs_root, &key, path, 0, 0); in btrfs_find_item()
2643 ret = btrfs_next_leaf(fs_root, path); in btrfs_find_item()
Dfree-space-cache.c3397 u64 btrfs_find_ino_for_alloc(struct btrfs_root *fs_root) in btrfs_find_ino_for_alloc() argument
3399 struct btrfs_free_space_ctl *ctl = fs_root->free_ino_ctl; in btrfs_find_ino_for_alloc()
Dscrub.c1454 ret = raid56_parity_recover(fs_info->fs_root, bio, page->recover->bbio, in scrub_submit_raid56_bio_wait()
Dextent-tree.c4836 to_reclaim = btrfs_calc_reclaim_metadata_size(fs_info->fs_root, in btrfs_async_reclaim_metadata_space()
4843 flush_space(fs_info->fs_root, space_info, to_reclaim, in btrfs_async_reclaim_metadata_space()
/linux-4.4.14/fs/btrfs/tests/
Dqgroup-tests.c497 root->fs_info->fs_root = tmp_root; in btrfs_test_qgroups()
/linux-4.4.14/fs/
Dnamespace.c3188 struct path fs_root; in current_chrooted() local
3198 get_fs_root(current->fs, &fs_root); in current_chrooted()
3200 chrooted = !path_equal(&fs_root, &ns_root); in current_chrooted()
3202 path_put(&fs_root); in current_chrooted()