Home
last modified time | relevance | path

Searched refs:btrfs_info (Results 1 – 9 of 9) sorted by relevance

/external/u-boot/fs/btrfs/
Dbtrfs.c13 struct btrfs_info btrfs_info; variable
45 (u64) btrfs_info.sb.sectorsize)); in readdir_callback()
82 memset(&btrfs_info, 0, sizeof(btrfs_info)); in btrfs_probe()
93 btrfs_info.tree_root.objectid = 0; in btrfs_probe()
94 btrfs_info.tree_root.bytenr = btrfs_info.sb.root; in btrfs_probe()
95 btrfs_info.chunk_root.objectid = 0; in btrfs_probe()
96 btrfs_info.chunk_root.bytenr = btrfs_info.sb.chunk_root; in btrfs_probe()
104 &btrfs_info.fs_root, NULL)) { in btrfs_probe()
114 struct btrfs_root root = btrfs_info.fs_root; in btrfs_ls()
140 struct btrfs_root root = btrfs_info.fs_root; in btrfs_exists()
[all …]
Dchunk-map.c22 struct rb_node **new = &(btrfs_info.chunks_root.rb_node), *prnt = NULL; in add_chunk_mapping()
62 rb_insert_color(&map_item->node, &btrfs_info.chunks_root); in add_chunk_mapping()
72 struct rb_node *node = btrfs_info.chunks_root.rb_node; in btrfs_map_logical_to_physical()
98 for (now = rb_first_postorder(&btrfs_info.chunks_root); now; now = next) in btrfs_chunk_map_exit()
108 u8 sys_chunk_array_copy[sizeof(btrfs_info.sb.sys_chunk_array)]; in btrfs_chunk_map_init()
110 u8 * const end = start + btrfs_info.sb.sys_chunk_array_size; in btrfs_chunk_map_init()
115 btrfs_info.chunks_root = RB_ROOT; in btrfs_chunk_map_init()
117 memcpy(sys_chunk_array_copy, btrfs_info.sb.sys_chunk_array, in btrfs_chunk_map_init()
155 if (btrfs_search_tree(&btrfs_info.chunk_root, &key, &path)) in btrfs_read_chunk_tree()
Dsuper.c189 btrfs_info.sb.generation = 0; in btrfs_read_superblock()
218 } else if (sb->generation > btrfs_info.sb.generation) { in btrfs_read_superblock()
219 memcpy(&btrfs_info.sb, sb, sizeof(*sb)); in btrfs_read_superblock()
225 if (!btrfs_info.sb.generation) { in btrfs_read_superblock()
230 if (btrfs_check_super_roots(&btrfs_info.sb)) { in btrfs_read_superblock()
235 if (btrfs_info.sb.num_devices != 1) { in btrfs_read_superblock()
238 btrfs_info.sb.num_devices); in btrfs_read_superblock()
243 btrfs_info.sb.generation); in btrfs_read_superblock()
Dbtrfs.h14 struct btrfs_info { struct
24 extern struct btrfs_info btrfs_info; argument
Dsubvolume.c74 if (btrfs_lookup_dir_item(&btrfs_info.tree_root, in btrfs_get_default_subvol_objectid()
75 btrfs_info.sb.root_dir_objectid, "default", 7, in btrfs_get_default_subvol_objectid()
92 if (btrfs_search_tree(&btrfs_info.tree_root, &key, &path)) in list_subvols()
Droot.c40 if (!btrfs_search_tree_key_type(&btrfs_info.tree_root, objectid, in btrfs_find_root()
65 key = btrfs_search_tree_key_type(&btrfs_info.tree_root, subvolid, in btrfs_lookup_root_ref()
Dinode.c121 } else if (extent->ram_bytes >= btrfs_info.sb.sectorsize) { in btrfs_readlink()
147 if (root->objectid != btrfs_info.fs_root.objectid) { in get_parent_inode()
270 (u64) btrfs_info.sb.sectorsize)); in btrfs_lookup_path()
Dcompression.c95 (u32) btrfs_info.sb.sectorsize); in decompress_zlib()
Dctree.c122 size = btrfs_info.sb.nodesize; in read_tree_node()