Home
last modified time | relevance | path

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

/linux/fs/btrfs/
H A Ddisk-io.c1116 return btrfs_grab_root(fs_info->chunk_root); in btrfs_get_global_root()
1214 btrfs_put_root(fs_info->chunk_root); in btrfs_free_fs_info()
1616 btrfs_set_backup_chunk_root(root_backup, info->chunk_root->node->start); in backup_super_roots()
1618 btrfs_header_generation(info->chunk_root->node)); in backup_super_roots()
1620 btrfs_header_level(info->chunk_root->node)); in backup_super_roots()
1781 free_root_extent_buffers(info->chunk_root); in free_root_pointers()
3292 struct btrfs_root *chunk_root; in open_ctree() local
3305 chunk_root = btrfs_alloc_root(fs_info, BTRFS_CHUNK_TREE_OBJECTID, in open_ctree()
3307 fs_info->chunk_root = chunk_root; in open_ctree()
3308 if (!tree_root || !chunk_root) { in open_ctree()
[all …]
H A Dvolumes.c2034 ret = btrfs_search_slot(NULL, fs_info->chunk_root, &key, path, 0, 0); in find_next_devid()
2044 ret = btrfs_previous_item(fs_info->chunk_root, path, in find_next_devid()
2080 ret = btrfs_insert_empty_item(trans, trans->fs_info->chunk_root, path, in btrfs_add_dev_item()
2132 struct btrfs_root *root = device->fs_info->chunk_root; in btrfs_rm_dev_item()
2349 trans = btrfs_start_transaction(fs_info->chunk_root, 0); in btrfs_rm_device()
2736 struct btrfs_root *root = fs_info->chunk_root; in btrfs_finish_sprout()
3054 struct btrfs_root *root = device->fs_info->chunk_root; in btrfs_update_device()
3136 struct btrfs_root *root = fs_info->chunk_root; in btrfs_free_chunk()
3527 struct btrfs_root *root = fs_info->chunk_root; in btrfs_relocate_chunk_finish()
3619 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()
1972 root_item = &fs_info->chunk_root->root_item; in update_super_roots()
1973 super->chunk_root = root_item->bytenr; in update_super_roots()
2522 btrfs_set_root_node(&fs_info->chunk_root->root_item, in btrfs_commit_transaction()
2523 fs_info->chunk_root->node); in btrfs_commit_transaction()
2524 list_add_tail(&fs_info->chunk_root->dirty_list, in btrfs_commit_transaction()
H A Dfs.h491 struct btrfs_root *chunk_root; member
H A Drelocation.c2572 if (root == root->fs_info->chunk_root) in relocate_cowonly_block()
2579 if (root == root->fs_info->chunk_root) in relocate_cowonly_block()
4672 ret = btrfs_search_slot(trans, fs_info->chunk_root, &key, path, 0, 1); in remove_chunk_stripes()
4919 ret = btrfs_search_slot(trans, fs_info->chunk_root, &key, path, 0, 1); in mark_chunk_remapped()
H A Dextent-tree.c2593 else if (root == fs_info->chunk_root) in get_alloc_profile_by_root()
4262 struct btrfs_root *root = fs_info->chunk_root; in find_free_extent_update_loop()
/linux/include/uapi/linux/
H A Dbtrfs_tree.h520 __le64 chunk_root;
687 __le64 chunk_root;
513 __le64 chunk_root; global() member
680 __le64 chunk_root; global() member
/linux/include/trace/events/
H A Dbtrfs.h1050 __entry->root_objectid = btrfs_root_id(fs_info->chunk_root);