Home
last modified time | relevance | path

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

/linux/fs/btrfs/
H A Dbackref.c2124 char *btrfs_ref_to_path(struct btrfs_root *fs_root, struct btrfs_path *path, in btrfs_ref_to_path() argument
2150 ret = btrfs_find_item(fs_root, path, parent, 0, in btrfs_ref_to_path()
2589 struct btrfs_root *fs_root = ipath->fs_root; in iterate_inode_refs() local
2596 ret = btrfs_find_item(fs_root, path, inum, in iterate_inode_refs()
2622 btrfs_debug(fs_root->fs_info, in iterate_inode_refs()
2625 btrfs_root_id(fs_root)); in iterate_inode_refs()
2648 struct btrfs_root *fs_root = ipath->fs_root; in iterate_inode_extrefs() local
2657 ret = btrfs_find_one_extref(fs_root, inum, offset, path, &extref, in iterate_inode_extrefs()
2720 fspath = btrfs_ref_to_path(ipath->fs_root, ipath->btrfs_path, name_len, in inode_to_path()
2790 struct inode_fs_paths *init_ipath(s32 total_bytes, struct btrfs_root *fs_root, in init_ipath() argument
[all …]
H A Dsuper.c804 struct btrfs_root *fs_root = NULL; in btrfs_get_subvol_name_from_objectid() local
859 fs_root = btrfs_get_fs_root(fs_info, subvol_objectid, true); in btrfs_get_subvol_name_from_objectid()
860 if (IS_ERR(fs_root)) { in btrfs_get_subvol_name_from_objectid()
861 ret = PTR_ERR(fs_root); in btrfs_get_subvol_name_from_objectid()
862 fs_root = NULL; in btrfs_get_subvol_name_from_objectid()
875 ret = btrfs_search_backwards(fs_root, &key, path); in btrfs_get_subvol_name_from_objectid()
900 btrfs_put_root(fs_root); in btrfs_get_subvol_name_from_objectid()
901 fs_root = NULL; in btrfs_get_subvol_name_from_objectid()
913 btrfs_put_root(fs_root); in btrfs_get_subvol_name_from_objectid()
989 inode = btrfs_iget(BTRFS_FIRST_FREE_OBJECTID, fs_info->fs_root); in btrfs_fill_super()
H A Drelocation.c2065 struct btrfs_root *fs_root = NULL; in select_one_root() local
2087 fs_root = root; in select_one_root()
2097 if (!fs_root) in select_one_root()
2099 return fs_root; in select_one_root()
4176 ret = btrfs_reserve_extent(fs_info->fs_root, length, length, min_size, in move_existing_remap()
4989 ret = btrfs_reserve_extent(fs_info->fs_root, remap_length, remap_length, in do_remap_reloc_trans()
5456 struct btrfs_root *fs_root; in btrfs_recover_relocation() local
5503 fs_root = btrfs_get_fs_root(fs_info, in btrfs_recover_relocation()
5505 if (IS_ERR(fs_root)) { in btrfs_recover_relocation()
5506 ret = PTR_ERR(fs_root); in btrfs_recover_relocation()
[all …]
H A Ddisk-io.c1218 btrfs_put_root(fs_info->fs_root); in btrfs_free_fs_info()
1644 if (info->fs_root && info->fs_root->node) { in backup_super_roots()
1646 info->fs_root->node->start); in backup_super_roots()
1648 btrfs_header_generation(info->fs_root->node)); in backup_super_roots()
1650 btrfs_header_level(info->fs_root->node)); in backup_super_roots()
1775 free_root_extent_buffers(info->fs_root); in free_root_pointers()
3109 if ((ret = btrfs_orphan_cleanup(fs_info->fs_root)) || in btrfs_start_pre_rw_mount()
3642 fs_info->fs_root = btrfs_get_fs_root(fs_info, BTRFS_FS_TREE_OBJECTID, true); in open_ctree()
3643 if (IS_ERR(fs_info->fs_root)) { in open_ctree()
3644 ret = PTR_ERR(fs_info->fs_root); in open_ctree()
[all …]
H A Dfs.h493 struct btrfs_root *fs_root; member
H A Dqgroup.c3854 trans = btrfs_start_transaction(fs_info->fs_root, 0); in btrfs_qgroup_rescan_worker()
4042 ret = btrfs_commit_current_transaction(fs_info->fs_root); in btrfs_qgroup_rescan()
/linux/fs/btrfs/tests/
H A Dqgroup-tests.c518 root->fs_info->fs_root = tmp_root; in btrfs_test_qgroups()
/linux/include/uapi/linux/
H A Dbtrfs_tree.h526 __le64 fs_root;
519 __le64 fs_root; global() member
/linux/drivers/infiniband/hw/mlx5/
H A Dmr.c823 debugfs_remove_recursive(dev->cache.fs_root); in mlx5_mkey_cache_debugfs_cleanup()
824 dev->cache.fs_root = NULL; in mlx5_mkey_cache_debugfs_cleanup()
840 dir = debugfs_create_dir(ent->name, dev->cache.fs_root); in mlx5_mkey_cache_debugfs_add_ent()
855 cache->fs_root = debugfs_create_dir("mr_cache", dbg_root); in mlx5_mkey_cache_debugfs_init()
/linux/fs/
H A Dnamespace.c6294 struct path fs_root __free(path_put) = {}; in current_chrooted()
6297 get_fs_root(current->fs, &fs_root); in current_chrooted()
6305 return fs_root.mnt != &root->mnt || !path_mounted(&fs_root); in current_chrooted()