Home
last modified time | relevance | path

Searched refs:chunk_root (Results 1 – 7 of 7) sorted by relevance

/linux/include/uapi/linux/
H A Dbtrfs_tree.h513 __le64 chunk_root; member
680 __le64 chunk_root; member
/linux/fs/btrfs/
H A Ddisk-io.c1163 return btrfs_grab_root(fs_info->chunk_root); in btrfs_get_global_root()
1261 btrfs_put_root(fs_info->chunk_root); in btrfs_free_fs_info()
1658 btrfs_set_backup_chunk_root(root_backup, info->chunk_root->node->start); in backup_super_roots()
1660 btrfs_header_generation(info->chunk_root->node)); in backup_super_roots()
1662 btrfs_header_level(info->chunk_root->node)); in backup_super_roots()
1822 free_root_extent_buffers(info->chunk_root); in free_root_pointers()
3277 struct btrfs_root *chunk_root; in open_ctree() local
3289 chunk_root = btrfs_alloc_root(fs_info, BTRFS_CHUNK_TREE_OBJECTID, in open_ctree()
3291 fs_info->chunk_root = chunk_root; in open_ctree()
3292 if (!tree_root || !chunk_root) { in open_ctree()
[all …]
H A Dvolumes.c1908 ret = btrfs_search_slot(NULL, fs_info->chunk_root, &key, path, 0, 0); in find_next_devid()
1918 ret = btrfs_previous_item(fs_info->chunk_root, path, in find_next_devid()
1954 ret = btrfs_insert_empty_item(trans, trans->fs_info->chunk_root, path, in btrfs_add_dev_item()
2006 struct btrfs_root *root = device->fs_info->chunk_root; in btrfs_rm_dev_item()
2223 trans = btrfs_start_transaction(fs_info->chunk_root, 0); in btrfs_rm_device()
2612 struct btrfs_root *root = fs_info->chunk_root; in btrfs_finish_sprout()
2931 struct btrfs_root *root = device->fs_info->chunk_root; in btrfs_update_device()
3013 struct btrfs_root *root = fs_info->chunk_root; in btrfs_free_chunk()
3398 struct btrfs_root *root = fs_info->chunk_root; in btrfs_relocate_chunk()
3478 struct btrfs_root *chunk_root = fs_info->chunk_root; in btrfs_relocate_sys_chunks() local
[all …]
H A Dtransaction.c631 if (num_items && root != fs_info->chunk_root) { in start_transaction()
1955 root_item = &fs_info->chunk_root->root_item; in update_super_roots()
1956 super->chunk_root = root_item->bytenr; in update_super_roots()
2498 btrfs_set_root_node(&fs_info->chunk_root->root_item, in btrfs_commit_transaction()
2499 fs_info->chunk_root->node); in btrfs_commit_transaction()
2500 list_add_tail(&fs_info->chunk_root->dirty_list, in btrfs_commit_transaction()
H A Dfs.h468 struct btrfs_root *chunk_root; member
H A Drelocation.c2571 if (root == root->fs_info->chunk_root) in relocate_cowonly_block()
2578 if (root == root->fs_info->chunk_root) in relocate_cowonly_block()
/linux/include/trace/events/
H A Dbtrfs.h1050 __entry->root_objectid = btrfs_root_id(fs_info->chunk_root);