Lines Matching refs:objectid
144 key.objectid = inum; in data_reloc_print_warning_inode()
290 ctx.bytenr = found_key.objectid; in print_data_reloc_error()
291 ctx.extent_item_pos = logical - found_key.objectid; in print_data_reloc_error()
529 key.objectid = btrfs_ino(inode); in insert_inline_extent()
1232 file_extent.disk_bytenr = ins.objectid; in submit_one_async_extent()
1253 btrfs_dec_block_group_reservations(fs_info, ins.objectid); in submit_one_async_extent()
1263 *alloc_hint = ins.objectid + ins.offset; in submit_one_async_extent()
1271 btrfs_dec_block_group_reservations(fs_info, ins.objectid); in submit_one_async_extent()
1272 btrfs_free_reserved_extent(fs_info, ins.objectid, ins.offset, 1); in submit_one_async_extent()
1459 file_extent.disk_bytenr = ins.objectid; in cow_file_range()
1509 btrfs_dec_block_group_reservations(fs_info, ins.objectid); in cow_file_range()
1530 alloc_hint = ins.objectid + ins.offset; in cow_file_range()
1550 btrfs_dec_block_group_reservations(fs_info, ins.objectid); in cow_file_range()
1551 btrfs_free_reserved_extent(fs_info, ins.objectid, ins.offset, 1); in cow_file_range()
2067 if (found_key.objectid == ino && in run_delalloc_nocow()
2087 if (found_key.objectid > ino) in run_delalloc_nocow()
2093 if (WARN_ON_ONCE(found_key.objectid < ino) || in run_delalloc_nocow()
2940 ins.objectid = btrfs_ino(inode); in insert_reserved_file_extent()
2977 ins.objectid = disk_bytenr; in insert_reserved_file_extent()
3526 key.objectid = BTRFS_ORPHAN_OBJECTID; in btrfs_orphan_cleanup()
3552 if (found_key.objectid != BTRFS_ORPHAN_OBJECTID) in btrfs_orphan_cleanup()
3582 found_key.objectid = found_key.offset; in btrfs_orphan_cleanup()
3615 (unsigned long)found_key.objectid); in btrfs_orphan_cleanup()
3622 key.offset = found_key.objectid - 1; in btrfs_orphan_cleanup()
3668 found_key.objectid); in btrfs_orphan_cleanup()
3670 found_key.objectid); in btrfs_orphan_cleanup()
3708 int slot, u64 objectid, in acls_after_inode_item() argument
3730 if (found_key.objectid != objectid) in acls_after_inode_item()
3936 if (location.objectid != btrfs_ino(BTRFS_I(inode))) in btrfs_read_locked_inode()
4317 u64 objectid; in btrfs_unlink_subvol() local
4328 objectid = btrfs_root_id(inode->root); in btrfs_unlink_subvol()
4330 objectid = inode->ref_root_id; in btrfs_unlink_subvol()
4352 WARN_ON(key.type != BTRFS_ROOT_ITEM_KEY || key.objectid != objectid); in btrfs_unlink_subvol()
4382 ret = btrfs_del_root_ref(trans, objectid, in btrfs_unlink_subvol()
4433 if (key.objectid == btrfs_root_id(root)) { in may_destroy_subvol()
4437 key.objectid); in may_destroy_subvol()
4443 key.objectid = btrfs_root_id(root); in may_destroy_subvol()
4463 if (key.objectid == btrfs_root_id(root) && key.type == BTRFS_ROOT_REF_KEY) in may_destroy_subvol()
5423 location->objectid, location->type, location->offset); in btrfs_inode_by_name()
5464 key.objectid = btrfs_root_id(dir->root); in fixup_tree_root_location()
5466 key.offset = location->objectid; in fixup_tree_root_location()
5488 new_root = btrfs_get_fs_root(fs_info, location->objectid, true); in fixup_tree_root_location()
5495 location->objectid = btrfs_root_dirid(&new_root->root_item); in fixup_tree_root_location()
5651 BTRFS_I(inode)->ref_root_id = key->objectid; in new_simple_dir()
5709 inode = btrfs_iget(location.objectid, root); in btrfs_lookup_dentry()
5733 inode = btrfs_iget(location.objectid, sub_root); in btrfs_lookup_dentry()
5793 key.objectid = btrfs_ino(inode); in btrfs_set_inode_index_count()
5819 if (found_key.objectid != btrfs_ino(inode) || in btrfs_set_inode_index_count()
5959 key.objectid = btrfs_ino(BTRFS_I(inode)); in btrfs_real_readdir()
5966 if (found_key.objectid != key.objectid) in btrfs_real_readdir()
5998 put_unaligned(location.objectid, &entry->ino); in btrfs_real_readdir()
6236 u64 objectid; in btrfs_create_new_inode() local
6257 ret = btrfs_get_free_objectid(root, &objectid); in btrfs_create_new_inode()
6260 btrfs_set_inode_number(BTRFS_I(inode), objectid); in btrfs_create_new_inode()
6262 ret = xa_reserve(&root->inodes, objectid, GFP_NOFS); in btrfs_create_new_inode()
6325 key[0].objectid = objectid; in btrfs_create_new_inode()
6338 key[1].objectid = objectid; in btrfs_create_new_inode()
6341 key[1].offset = objectid; in btrfs_create_new_inode()
6470 xa_release(&root->inodes, objectid); in btrfs_create_new_inode()
6495 key.objectid = ino; in btrfs_add_link()
6501 ret = btrfs_add_root_ref(trans, key.objectid, in btrfs_add_link()
6544 err = btrfs_del_root_ref(trans, key.objectid, in btrfs_add_link()
6820 u64 objectid = btrfs_ino(inode); in btrfs_get_extent() local
6870 ret = btrfs_lookup_file_extent(NULL, root, path, objectid, start, 0); in btrfs_get_extent()
6884 if (found_key.objectid != objectid || in btrfs_get_extent()
6929 if (found_key.objectid != objectid || in btrfs_get_extent()
7071 if (key.objectid != btrfs_ino(BTRFS_I(inode)) || in can_nocow_extent()
7874 stat->subvol = BTRFS_I(inode)->root->root_key.objectid; in btrfs_getattr()
8642 key.objectid = btrfs_ino(BTRFS_I(inode)); in btrfs_symlink()
8694 u64 start = ins->objectid; in insert_prealloc_file_extent()
8814 btrfs_dec_block_group_reservations(fs_info, ins.objectid); in __btrfs_prealloc_file_range()
8817 btrfs_free_reserved_extent(fs_info, ins.objectid, in __btrfs_prealloc_file_range()
8832 em->disk_bytenr = ins.objectid; in __btrfs_prealloc_file_range()
8844 *alloc_hint = ins.objectid + ins.offset; in __btrfs_prealloc_file_range()
9575 file_extent.disk_bytenr = ins.objectid; in btrfs_do_encoded_write()
9596 btrfs_dec_block_group_reservations(fs_info, ins.objectid); in btrfs_do_encoded_write()
9610 btrfs_dec_block_group_reservations(fs_info, ins.objectid); in btrfs_do_encoded_write()
9611 btrfs_free_reserved_extent(fs_info, ins.objectid, ins.offset, 1); in btrfs_do_encoded_write()