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()
491 key.objectid = btrfs_ino(inode); in insert_inline_extent()
1161 file_extent.disk_bytenr = ins.objectid; in submit_one_async_extent()
1182 btrfs_dec_block_group_reservations(fs_info, ins.objectid); in submit_one_async_extent()
1192 *alloc_hint = ins.objectid + ins.offset; in submit_one_async_extent()
1200 btrfs_dec_block_group_reservations(fs_info, ins.objectid); in submit_one_async_extent()
1201 btrfs_free_reserved_extent(fs_info, ins.objectid, ins.offset, 1); in submit_one_async_extent()
1399 file_extent.disk_bytenr = ins.objectid; in cow_file_range()
1453 btrfs_dec_block_group_reservations(fs_info, ins.objectid); in cow_file_range()
1459 alloc_hint = ins.objectid + ins.offset; in cow_file_range()
1481 btrfs_dec_block_group_reservations(fs_info, ins.objectid); in cow_file_range()
1482 btrfs_free_reserved_extent(fs_info, ins.objectid, ins.offset, 1); in cow_file_range()
2047 if (found_key.objectid == ino && in run_delalloc_nocow()
2067 if (found_key.objectid > ino) in run_delalloc_nocow()
2073 if (WARN_ON_ONCE(found_key.objectid < ino) || in run_delalloc_nocow()
2954 ins.objectid = btrfs_ino(inode); in insert_reserved_file_extent()
2990 ins.objectid = disk_bytenr; in insert_reserved_file_extent()
3544 key.objectid = BTRFS_ORPHAN_OBJECTID; in btrfs_orphan_cleanup()
3570 if (found_key.objectid != BTRFS_ORPHAN_OBJECTID) in btrfs_orphan_cleanup()
3600 found_key.objectid = found_key.offset; in btrfs_orphan_cleanup()
3633 (unsigned long)found_key.objectid); in btrfs_orphan_cleanup()
3640 key.offset = found_key.objectid - 1; in btrfs_orphan_cleanup()
3686 found_key.objectid); in btrfs_orphan_cleanup()
3688 found_key.objectid); in btrfs_orphan_cleanup()
3726 int slot, u64 objectid, in acls_after_inode_item() argument
3748 if (found_key.objectid != objectid) in acls_after_inode_item()
3985 if (location.objectid != btrfs_ino(BTRFS_I(inode))) in btrfs_read_locked_inode()
4371 u64 objectid; in btrfs_unlink_subvol() local
4382 objectid = btrfs_root_id(inode->root); in btrfs_unlink_subvol()
4384 objectid = inode->ref_root_id; in btrfs_unlink_subvol()
4406 WARN_ON(key.type != BTRFS_ROOT_ITEM_KEY || key.objectid != objectid); in btrfs_unlink_subvol()
4436 ret = btrfs_del_root_ref(trans, objectid, in btrfs_unlink_subvol()
4487 if (key.objectid == btrfs_root_id(root)) { in may_destroy_subvol()
4491 key.objectid); in may_destroy_subvol()
4497 key.objectid = btrfs_root_id(root); in may_destroy_subvol()
4517 if (key.objectid == btrfs_root_id(root) && key.type == BTRFS_ROOT_REF_KEY) in may_destroy_subvol()
5477 location->objectid, location->type, location->offset); in btrfs_inode_by_name()
5518 key.objectid = btrfs_root_id(dir->root); in fixup_tree_root_location()
5520 key.offset = location->objectid; in fixup_tree_root_location()
5542 new_root = btrfs_get_fs_root(fs_info, location->objectid, true); in fixup_tree_root_location()
5549 location->objectid = btrfs_root_dirid(&new_root->root_item); in fixup_tree_root_location()
5685 BTRFS_I(inode)->ref_root_id = key->objectid; in new_simple_dir()
5743 inode = btrfs_iget(location.objectid, root); in btrfs_lookup_dentry()
5767 inode = btrfs_iget(location.objectid, sub_root); in btrfs_lookup_dentry()
5827 key.objectid = btrfs_ino(inode); in btrfs_set_inode_index_count()
5853 if (found_key.objectid != btrfs_ino(inode) || in btrfs_set_inode_index_count()
5993 key.objectid = btrfs_ino(BTRFS_I(inode)); in btrfs_real_readdir()
6000 if (found_key.objectid != key.objectid) in btrfs_real_readdir()
6032 put_unaligned(location.objectid, &entry->ino); in btrfs_real_readdir()
6270 u64 objectid; in btrfs_create_new_inode() local
6291 ret = btrfs_get_free_objectid(root, &objectid); in btrfs_create_new_inode()
6294 btrfs_set_inode_number(BTRFS_I(inode), objectid); in btrfs_create_new_inode()
6296 ret = xa_reserve(&root->inodes, objectid, GFP_NOFS); in btrfs_create_new_inode()
6359 key[0].objectid = objectid; in btrfs_create_new_inode()
6372 key[1].objectid = objectid; in btrfs_create_new_inode()
6375 key[1].offset = objectid; in btrfs_create_new_inode()
6503 xa_release(&root->inodes, objectid); in btrfs_create_new_inode()
6528 key.objectid = ino; in btrfs_add_link()
6534 ret = btrfs_add_root_ref(trans, key.objectid, in btrfs_add_link()
6577 err = btrfs_del_root_ref(trans, key.objectid, in btrfs_add_link()
6852 u64 objectid = btrfs_ino(inode); in btrfs_get_extent() local
6902 ret = btrfs_lookup_file_extent(NULL, root, path, objectid, start, 0); in btrfs_get_extent()
6916 if (found_key.objectid != objectid || in btrfs_get_extent()
6961 if (found_key.objectid != objectid || in btrfs_get_extent()
7101 if (key.objectid != btrfs_ino(BTRFS_I(inode)) || in can_nocow_extent()
7903 stat->subvol = BTRFS_I(inode)->root->root_key.objectid; in btrfs_getattr()
8701 key.objectid = btrfs_ino(BTRFS_I(inode)); in btrfs_symlink()
8752 u64 start = ins->objectid; in insert_prealloc_file_extent()
8872 btrfs_dec_block_group_reservations(fs_info, ins.objectid); in __btrfs_prealloc_file_range()
8875 btrfs_free_reserved_extent(fs_info, ins.objectid, in __btrfs_prealloc_file_range()
8890 em->disk_bytenr = ins.objectid; in __btrfs_prealloc_file_range()
8902 *alloc_hint = ins.objectid + ins.offset; in __btrfs_prealloc_file_range()
9666 file_extent.disk_bytenr = ins.objectid; in btrfs_do_encoded_write()
9687 btrfs_dec_block_group_reservations(fs_info, ins.objectid); in btrfs_do_encoded_write()
9701 btrfs_dec_block_group_reservations(fs_info, ins.objectid); in btrfs_do_encoded_write()
9702 btrfs_free_reserved_extent(fs_info, ins.objectid, ins.offset, 1); in btrfs_do_encoded_write()
9994 key.objectid = btrfs_ino(BTRFS_I(inode)); in btrfs_swap_activate()