Home
last modified time | relevance | path

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

/linux-4.1.27/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.c1348 char *btrfs_ref_to_path(struct btrfs_root *fs_root, struct btrfs_path *path, argument
1376 ret = btrfs_find_item(fs_root, path, parent, 0,
1714 static int iterate_inode_refs(u64 inum, struct btrfs_root *fs_root, argument
1731 ret = btrfs_find_item(fs_root, path, inum,
1763 fs_root->objectid);
1780 static int iterate_inode_extrefs(u64 inum, struct btrfs_root *fs_root, argument
1796 ret = btrfs_find_one_extref(fs_root, inum, offset, path, &extref,
1847 static int iterate_irefs(u64 inum, struct btrfs_root *fs_root, argument
1854 ret = iterate_inode_refs(inum, fs_root, path, iterate, ctx);
1860 ret = iterate_inode_extrefs(inum, fs_root, path, iterate, ctx);
[all …]
Dfree-space-cache.h108 u64 btrfs_find_ino_for_alloc(struct btrfs_root *fs_root);
Drelocation.c2527 struct btrfs_root *fs_root = NULL; local
2543 fs_root = root;
2553 if (!fs_root)
2555 return fs_root;
4327 struct btrfs_root *fs_root; local
4374 fs_root = read_fs_root(root->fs_info,
4376 if (IS_ERR(fs_root)) {
4377 ret = PTR_ERR(fs_root);
4430 fs_root = read_fs_root(root->fs_info,
4432 if (IS_ERR(fs_root)) {
[all …]
Ddisk-io.c1988 if (info->fs_root && info->fs_root->node) { in backup_super_roots()
1990 info->fs_root->node->start); in backup_super_roots()
1992 btrfs_header_generation(info->fs_root->node)); in backup_super_roots()
1994 btrfs_header_level(info->fs_root->node)); in backup_super_roots()
3009 fs_info->fs_root = btrfs_read_fs_root_no_name(fs_info, &location); in open_ctree()
3010 if (IS_ERR(fs_info->fs_root)) { in open_ctree()
3011 err = PTR_ERR(fs_info->fs_root); in open_ctree()
3019 if ((ret = btrfs_orphan_cleanup(fs_info->fs_root)) || in open_ctree()
Dqgroup.c2758 trans = btrfs_start_transaction(fs_info->fs_root, 0); in btrfs_qgroup_rescan_worker()
2770 btrfs_commit_transaction(trans, fs_info->fs_root); in btrfs_qgroup_rescan_worker()
2772 btrfs_end_transaction(trans, fs_info->fs_root); in btrfs_qgroup_rescan_worker()
2919 trans = btrfs_join_transaction(fs_info->fs_root); in btrfs_qgroup_rescan()
2924 ret = btrfs_commit_transaction(trans, fs_info->fs_root); in btrfs_qgroup_rescan()
Dsuper.c892 new_root = fs_info->fs_root; in get_default_root()
965 inode = btrfs_iget(sb, &key, fs_info->fs_root, NULL); in btrfs_fill_super()
Dctree.h424 __le64 fs_root; member
1394 struct btrfs_root *fs_root; member
2941 fs_root, 64);
3577 int btrfs_find_item(struct btrfs_root *fs_root, struct btrfs_path *path,
Dctree.c2616 int btrfs_find_item(struct btrfs_root *fs_root, struct btrfs_path *path, in btrfs_find_item() argument
2631 ret = btrfs_search_slot(NULL, fs_root, &key, path, 0, 0); in btrfs_find_item()
2637 ret = btrfs_next_leaf(fs_root, path); in btrfs_find_item()
Dfree-space-cache.c3343 u64 btrfs_find_ino_for_alloc(struct btrfs_root *fs_root) in btrfs_find_ino_for_alloc() argument
3345 struct btrfs_free_space_ctl *ctl = fs_root->free_ino_ctl; in btrfs_find_ino_for_alloc()
Dscrub.c1459 ret = raid56_parity_recover(fs_info->fs_root, bio, page->recover->bbio, in scrub_submit_raid56_bio_wait()
Dextent-tree.c4624 to_reclaim = btrfs_calc_reclaim_metadata_size(fs_info->fs_root, in btrfs_async_reclaim_metadata_space()
4631 flush_space(fs_info->fs_root, space_info, to_reclaim, in btrfs_async_reclaim_metadata_space()
/linux-4.1.27/fs/btrfs/tests/
Dqgroup-tests.c440 root->fs_info->fs_root = tmp_root; in btrfs_test_qgroups()
/linux-4.1.27/fs/
Dnamespace.c3179 struct path fs_root; in current_chrooted() local
3189 get_fs_root(current->fs, &fs_root); in current_chrooted()
3191 chrooted = !path_equal(&fs_root, &ns_root); in current_chrooted()
3193 path_put(&fs_root); in current_chrooted()