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()
493 key.objectid = btrfs_ino(inode); in insert_inline_extent()
1146 file_extent.disk_bytenr = ins.objectid; in submit_one_async_extent()
1167 btrfs_dec_block_group_reservations(fs_info, ins.objectid); in submit_one_async_extent()
1177 *alloc_hint = ins.objectid + ins.offset; in submit_one_async_extent()
1187 btrfs_dec_block_group_reservations(fs_info, ins.objectid); in submit_one_async_extent()
1188 btrfs_free_reserved_extent(fs_info, ins.objectid, ins.offset, true); in submit_one_async_extent()
1383 file_extent.disk_bytenr = ins.objectid; in cow_file_range()
1437 btrfs_dec_block_group_reservations(fs_info, ins.objectid); in cow_file_range()
1443 alloc_hint = ins.objectid + ins.offset; in cow_file_range()
1465 btrfs_dec_block_group_reservations(fs_info, ins.objectid); in cow_file_range()
1466 btrfs_free_reserved_extent(fs_info, ins.objectid, ins.offset, true); in cow_file_range()
2087 if (found_key.objectid == ino && in run_delalloc_nocow()
2107 if (found_key.objectid > ino) in run_delalloc_nocow()
2113 if (WARN_ON_ONCE(found_key.objectid < ino) || in run_delalloc_nocow()
2968 ins.objectid = btrfs_ino(inode); in insert_reserved_file_extent()
3004 ins.objectid = disk_bytenr; in insert_reserved_file_extent()
3558 key.objectid = BTRFS_ORPHAN_OBJECTID; in btrfs_orphan_cleanup()
3586 if (found_key.objectid != BTRFS_ORPHAN_OBJECTID) in btrfs_orphan_cleanup()
3616 found_key.objectid = found_key.offset; in btrfs_orphan_cleanup()
3649 (unsigned long)found_key.objectid); in btrfs_orphan_cleanup()
3656 key.offset = found_key.objectid - 1; in btrfs_orphan_cleanup()
3702 found_key.objectid); in btrfs_orphan_cleanup()
3704 found_key.objectid); in btrfs_orphan_cleanup()
3745 int slot, u64 objectid, in acls_after_inode_item() argument
3767 if (found_key.objectid != objectid) in acls_after_inode_item()
4011 if (location.objectid != btrfs_ino(inode)) in btrfs_read_locked_inode()
4396 u64 objectid; in btrfs_unlink_subvol() local
4407 objectid = btrfs_root_id(inode->root); in btrfs_unlink_subvol()
4409 objectid = inode->ref_root_id; in btrfs_unlink_subvol()
4431 WARN_ON(key.type != BTRFS_ROOT_ITEM_KEY || key.objectid != objectid); in btrfs_unlink_subvol()
4461 ret = btrfs_del_root_ref(trans, objectid, in btrfs_unlink_subvol()
4512 if (key.objectid == btrfs_root_id(root)) { in may_destroy_subvol()
4516 key.objectid); in may_destroy_subvol()
4522 key.objectid = btrfs_root_id(root); in may_destroy_subvol()
4541 if (key.objectid == btrfs_root_id(root) && key.type == BTRFS_ROOT_REF_KEY) in may_destroy_subvol()
5610 location->objectid, location->type, location->offset); in btrfs_inode_by_name()
5650 key.objectid = btrfs_root_id(dir->root); in fixup_tree_root_location()
5652 key.offset = location->objectid; in fixup_tree_root_location()
5674 new_root = btrfs_get_fs_root(fs_info, location->objectid, true); in fixup_tree_root_location()
5681 location->objectid = btrfs_root_dirid(&new_root->root_item); in fixup_tree_root_location()
5823 inode->ref_root_id = key->objectid; in new_simple_dir()
5881 inode = btrfs_iget(location.objectid, root); in btrfs_lookup_dentry()
5905 inode = btrfs_iget(location.objectid, sub_root); in btrfs_lookup_dentry()
5968 key.objectid = btrfs_ino(inode); in btrfs_set_inode_index_count()
5993 if (found_key.objectid != btrfs_ino(inode) || in btrfs_set_inode_index_count()
6132 key.objectid = btrfs_ino(BTRFS_I(inode)); in btrfs_real_readdir()
6139 if (found_key.objectid != key.objectid) in btrfs_real_readdir()
6171 put_unaligned(location.objectid, &entry->ino); in btrfs_real_readdir()
6407 u64 objectid; in btrfs_create_new_inode() local
6428 ret = btrfs_get_free_objectid(root, &objectid); in btrfs_create_new_inode()
6431 btrfs_set_inode_number(BTRFS_I(inode), objectid); in btrfs_create_new_inode()
6433 ret = xa_reserve(&root->inodes, objectid, GFP_NOFS); in btrfs_create_new_inode()
6498 key[0].objectid = objectid; in btrfs_create_new_inode()
6511 key[1].objectid = objectid; in btrfs_create_new_inode()
6514 key[1].offset = objectid; in btrfs_create_new_inode()
6648 xa_release(&root->inodes, objectid); in btrfs_create_new_inode()
6673 key.objectid = ino; in btrfs_add_link()
6679 ret = btrfs_add_root_ref(trans, key.objectid, in btrfs_add_link()
6715 ret2 = btrfs_del_root_ref(trans, key.objectid, btrfs_root_id(root), in btrfs_add_link()
6989 u64 objectid = btrfs_ino(inode); in btrfs_get_extent() local
7039 ret = btrfs_lookup_file_extent(NULL, root, path, objectid, start, 0); in btrfs_get_extent()
7053 if (found_key.objectid != objectid || in btrfs_get_extent()
7098 if (found_key.objectid != objectid || in btrfs_get_extent()
7237 if (key.objectid != btrfs_ino(inode) || in can_nocow_extent()
8880 key.objectid = btrfs_ino(BTRFS_I(inode)); in btrfs_symlink()
8930 u64 start = ins->objectid; in insert_prealloc_file_extent()
9050 btrfs_dec_block_group_reservations(fs_info, ins.objectid); in __btrfs_prealloc_file_range()
9053 btrfs_free_reserved_extent(fs_info, ins.objectid, in __btrfs_prealloc_file_range()
9068 em->disk_bytenr = ins.objectid; in __btrfs_prealloc_file_range()
9080 *alloc_hint = ins.objectid + ins.offset; in __btrfs_prealloc_file_range()
9846 file_extent.disk_bytenr = ins.objectid; in btrfs_do_encoded_write()
9867 btrfs_dec_block_group_reservations(fs_info, ins.objectid); in btrfs_do_encoded_write()
9881 btrfs_dec_block_group_reservations(fs_info, ins.objectid); in btrfs_do_encoded_write()
9882 btrfs_free_reserved_extent(fs_info, ins.objectid, ins.offset, true); in btrfs_do_encoded_write()
10174 key.objectid = btrfs_ino(BTRFS_I(inode)); in btrfs_swap_activate()