/linux-4.19.296/fs/btrfs/ |
D | root-tree.c | 66 struct btrfs_key *root_key) in btrfs_find_root() argument 100 if (root_key) in btrfs_find_root() 101 memcpy(root_key, &found_key, sizeof(found_key)); in btrfs_find_root() 142 root->root_key.objectid); in btrfs_update_root() 213 struct btrfs_key root_key; in btrfs_find_orphan_roots() local 226 root_key.type = BTRFS_ROOT_ITEM_KEY; in btrfs_find_orphan_roots() 227 root_key.offset = (u64)-1; in btrfs_find_orphan_roots() 253 root_key.objectid = key.offset; in btrfs_find_orphan_roots() 263 root = btrfs_lookup_fs_root(fs_info, root_key.objectid); in btrfs_find_orphan_roots() 272 root = btrfs_read_fs_root(tree_root, &root_key); in btrfs_find_orphan_roots() [all …]
|
D | inode-map.c | 181 root->root_key.objectid); in start_caching() 410 if (root->root_key.objectid != BTRFS_FS_TREE_OBJECTID && in btrfs_save_ino_cache() 411 (root->root_key.objectid < BTRFS_FIRST_FREE_OBJECTID || in btrfs_save_ino_cache() 412 root->root_key.objectid > BTRFS_LAST_FREE_OBJECTID)) in btrfs_save_ino_cache() 568 root->root_key.objectid); in btrfs_find_free_objectid()
|
D | relocation.c | 1344 struct btrfs_key root_key; in create_reloc_root() local 1350 root_key.objectid = BTRFS_TREE_RELOC_OBJECTID; in create_reloc_root() 1351 root_key.type = BTRFS_ROOT_ITEM_KEY; in create_reloc_root() 1352 root_key.offset = objectid; in create_reloc_root() 1354 if (root->root_key.objectid == objectid) { in create_reloc_root() 1389 if (root->root_key.objectid == objectid) { in create_reloc_root() 1400 &root_key, root_item); in create_reloc_root() 1404 reloc_root = btrfs_read_fs_root(fs_info->tree_root, &root_key); in create_reloc_root() 1431 root->root_key.objectid == BTRFS_TREE_RELOC_OBJECTID) in btrfs_init_reloc_root() 1439 reloc_root = create_reloc_root(trans, root, root->root_key.objectid); in btrfs_init_reloc_root() [all …]
|
D | export.c | 172 key.objectid = root->root_key.objectid; in btrfs_get_parent() 251 key.objectid = BTRFS_I(inode)->root->root_key.objectid; in btrfs_get_name()
|
D | transaction.c | 327 (unsigned long)root->root_key.objectid, in record_root_in_trans() 373 (unsigned long)root->root_key.objectid, in btrfs_add_dropped_root() 449 root->root_key.objectid == BTRFS_TREE_RELOC_OBJECTID || in need_reserve_reloc_root() 1063 ASSERT(log_root->root_key.objectid == BTRFS_TREE_LOG_OBJECTID); in btrfs_wait_tree_log_extents() 1138 &root->root_key, in update_cowonly_root() 1272 (unsigned long)root->root_key.objectid, in commit_fs_roots() 1293 &root->root_key, in commit_fs_roots() 1390 ret = btrfs_qgroup_inherit(trans, src->root_key.objectid, dst_objectid, in qgroup_account_snapshot() 1609 parent_root->root_key.objectid, in create_pending_snapshot()
|
D | disk-io.c | 1204 memset(&root->root_key, 0, sizeof(root->root_key)); in __setup_root() 1211 root->root_key.objectid = objectid; in __setup_root() 1270 root->root_key.objectid = objectid; in btrfs_create_tree() 1271 root->root_key.type = BTRFS_ROOT_ITEM_KEY; in btrfs_create_tree() 1272 root->root_key.offset = 0; in btrfs_create_tree() 1335 root->root_key.objectid = BTRFS_TREE_LOG_OBJECTID; in alloc_log_tree() 1336 root->root_key.type = BTRFS_ROOT_ITEM_KEY; in alloc_log_tree() 1337 root->root_key.offset = BTRFS_TREE_LOG_OBJECTID; in alloc_log_tree() 1387 log_root->root_key.offset = root->root_key.objectid; in btrfs_add_log_tree() 1430 &root->root_item, &root->root_key); in btrfs_read_tree_root() [all …]
|
D | extent-tree.c | 3065 if (data_ref->root != root->root_key.objectid || in check_delayed_ref() 3135 root->root_key.objectid || in check_committed_ref() 3175 if (root->root_key.objectid == BTRFS_DATA_RELOC_TREE_OBJECTID) in btrfs_cross_ref_exist() 6998 if (root->root_key.objectid != BTRFS_TREE_LOG_OBJECTID) { in btrfs_free_tree_block() 7002 root->root_key.objectid, in btrfs_free_tree_block() 7007 root->root_key.objectid, in btrfs_free_tree_block() 7018 if (root->root_key.objectid != BTRFS_TREE_LOG_OBJECTID) { in btrfs_free_tree_block() 7044 root->root_key.objectid); in btrfs_free_tree_block() 8068 BUG_ON(root->root_key.objectid == BTRFS_TREE_LOG_OBJECTID); in btrfs_alloc_reserved_file_extent() 8071 root->root_key.objectid, owner, offset, in btrfs_alloc_reserved_file_extent() [all …]
|
D | inode.c | 1050 if (root->root_key.objectid == BTRFS_DATA_RELOC_TREE_OBJECTID) in cow_file_range() 1085 if (root->root_key.objectid == in cow_file_range() 1561 if (root->root_key.objectid == in run_delalloc_nocow() 1915 if (root->root_key.objectid != BTRFS_DATA_RELOC_TREE_OBJECTID && in btrfs_clear_bit_hook() 2070 if (root->root_key.objectid == BTRFS_DATA_RELOC_TREE_OBJECTID) in btrfs_submit_bio_hook() 2443 if (BTRFS_I(inode)->root->root_key.objectid == root_id && in record_one_backref() 3317 if (root->root_key.objectid == BTRFS_DATA_RELOC_TREE_OBJECTID && in btrfs_readpage_end_io_hook() 3498 if (dead_root->root_key.objectid == in btrfs_orphan_cleanup() 3819 root->root_key.objectid, ret); in btrfs_read_locked_inode() 3958 && root->root_key.objectid != BTRFS_DATA_RELOC_TREE_OBJECTID in btrfs_update_inode() [all …]
|
D | file-item.c | 236 if (BTRFS_I(inode)->root->root_key.objectid == in __btrfs_lookup_bio_sums() 594 root->root_key.objectid == BTRFS_TREE_LOG_OBJECTID); in btrfs_del_csums() 999 root->root_key.objectid); in btrfs_extent_item_to_extent_map()
|
D | ctree.c | 937 if (root->root_key.objectid == BTRFS_TREE_RELOC_OBJECTID || in update_ref_for_cow() 949 if ((owner == root->root_key.objectid || in update_ref_for_cow() 950 root->root_key.objectid == BTRFS_TREE_RELOC_OBJECTID) && in update_ref_for_cow() 956 if (root->root_key.objectid == in update_ref_for_cow() 968 if (root->root_key.objectid == in update_ref_for_cow() 988 if (root->root_key.objectid == in update_ref_for_cow() 1040 root->root_key.objectid, disk_key, level, in alloc_tree_block_no_bg_flush() 1091 if ((root->root_key.objectid == BTRFS_TREE_RELOC_OBJECTID) && parent) in __btrfs_cow_block() 1107 if (root->root_key.objectid == BTRFS_TREE_RELOC_OBJECTID) in __btrfs_cow_block() 1110 btrfs_set_header_owner(cow, root->root_key.objectid); in __btrfs_cow_block() [all …]
|
D | backref.c | 509 struct btrfs_key root_key; in resolve_indirect_ref() local 516 root_key.objectid = ref->root_id; in resolve_indirect_ref() 517 root_key.type = BTRFS_ROOT_ITEM_KEY; in resolve_indirect_ref() 518 root_key.offset = (u64)-1; in resolve_indirect_ref() 522 root = btrfs_get_fs_root(fs_info, &root_key, false); in resolve_indirect_ref()
|
D | ioctl.c | 729 ret = btrfs_add_root_ref(trans, objectid, root->root_key.objectid, in create_subvol() 1989 root->root_key.objectid); in btrfs_ioctl_subvol_setflags() 2002 &root->root_key, &root->root_item); in btrfs_ioctl_subvol_setflags() 2410 u64 treeid = BTRFS_I(inode)->root->root_key.objectid; in btrfs_search_path_in_tree_user() 2585 args->treeid = BTRFS_I(inode)->root->root_key.objectid; in btrfs_ioctl_ino_lookup() 2683 key.objectid = BTRFS_I(inode)->root->root_key.objectid; in btrfs_ioctl_get_subvol_info() 2803 objectid = BTRFS_I(inode)->root->root_key.objectid; in btrfs_ioctl_get_subvol_rootref() 4169 root->root_key.objectid, in btrfs_clone() 4498 btrfs_cpu_key_to_disk(&disk_key, &new_root->root_key); in btrfs_ioctl_default_subvol() 5388 qgroupid = root->root_key.objectid; in btrfs_ioctl_qgroup_limit() [all …]
|
D | props.c | 270 root->root_key.objectid, ret); in inode_prop_iterator()
|
D | file.c | 158 defrag->root = root->root_key.objectid; in btrfs_add_inode_defrag() 914 root->root_key.objectid, in __btrfs_drop_extents() 998 root->root_key.objectid, in __btrfs_drop_extents() 1291 0, root->root_key.objectid, in btrfs_mark_extent_written() 1325 0, root->root_key.objectid, in btrfs_mark_extent_written() 1345 0, root->root_key.objectid, in btrfs_mark_extent_written()
|
D | super.c | 1370 BTRFS_I(d_inode(dentry))->root->root_key.objectid); in btrfs_show_options() 1372 BTRFS_I(d_inode(dentry))->root->root_key.objectid); in btrfs_show_options() 1440 u64 root_objectid = BTRFS_I(root_inode)->root->root_key.objectid; in mount_subvol()
|
D | scrub.c | 656 struct btrfs_key root_key; in scrub_print_warning_inode() local 659 root_key.objectid = root; in scrub_print_warning_inode() 660 root_key.type = BTRFS_ROOT_ITEM_KEY; in scrub_print_warning_inode() 661 root_key.offset = (u64)-1; in scrub_print_warning_inode() 662 local_root = btrfs_read_fs_root_no_name(fs_info, &root_key); in scrub_print_warning_inode()
|
D | tree-log.c | 348 if (root->root_key.objectid != BTRFS_TREE_LOG_OBJECTID) in overwrite_item() 711 0, root->root_key.objectid, in replay_one_extent() 721 root->root_key.objectid, in replay_one_extent() 2889 WARN_ON(log->root_key.objectid != in walk_log_tree() 2917 &log->root_key, root_item); in update_log_root() 2920 &log->root_key, root_item); in update_log_root()
|
D | qgroup.c | 1112 ret = btrfs_del_root(trans, "a_root->root_key); in btrfs_quota_disable() 2533 u64 ref_root = root->root_key.objectid; in qgroup_reserve() 3118 btrfs_qgroup_free_refroot(root->fs_info, root->root_key.objectid, in btrfs_qgroup_reserve_data()
|
D | send.c | 302 sctx->send_root->root_key.objectid, in inconsistent_snapshot_error() 304 sctx->parent_root->root_key.objectid : 0)); in inconsistent_snapshot_error() 1525 ino, root->root_key.objectid); in read_symlink() 4971 sctx->send_root->root_key.objectid); in fill_read_buf() 6787 root->send_in_progress, root->root_key.objectid); in btrfs_root_dec_send_in_progress()
|
D | free-space-tree.c | 1239 ret = btrfs_del_root(trans, &free_space_root->root_key); in btrfs_clear_free_space_tree()
|
D | free-space-cache.c | 3547 root->root_key.objectid); in load_free_ino_cache() 3589 root->root_key.objectid); in btrfs_write_out_ino_cache()
|
D | ctree.h | 1172 struct btrfs_key root_key; member 3017 struct btrfs_key *root_key);
|
/linux-4.19.296/include/trace/events/ |
D | btrfs.h | 121 __entry->root_objectid = root->root_key.objectid; 153 BTRFS_I(inode)->root->root_key.objectid; 230 __entry->root_objectid = root->root_key.objectid; 471 BTRFS_I(inode)->root->root_key.objectid; 557 BTRFS_I(inode)->root->root_key.objectid; 603 BTRFS_I(page->mapping->host)->root->root_key.objectid; 636 BTRFS_I(inode)->root->root_key.objectid; 920 __entry->root_objectid = fs_info->chunk_root->root_key.objectid; 965 __entry->root_objectid = root->root_key.objectid;
|
/linux-4.19.296/fs/btrfs/tests/ |
D | qgroup-tests.c | 505 tmp_root->root_key.objectid = BTRFS_FS_TREE_OBJECTID; in btrfs_test_qgroups() 520 tmp_root->root_key.objectid = BTRFS_FIRST_FREE_OBJECTID; in btrfs_test_qgroups()
|
/linux-4.19.296/fs/reiserfs/ |
D | reiserfs.h | 1632 extern struct reiserfs_key root_key;
|