Lines Matching refs:objectid
309 key.objectid = btrfs_ino(inode); in insert_inline_extent()
1006 ins.objectid, /* block_start */ in submit_one_async_extent()
1021 ins.objectid, /* disk_bytenr */ in submit_one_async_extent()
1030 btrfs_dec_block_group_reservations(fs_info, ins.objectid); in submit_one_async_extent()
1038 ins.objectid, /* disk_bytenr */ in submit_one_async_extent()
1053 *alloc_hint = ins.objectid + ins.offset; in submit_one_async_extent()
1058 btrfs_dec_block_group_reservations(fs_info, ins.objectid); in submit_one_async_extent()
1059 btrfs_free_reserved_extent(fs_info, ins.objectid, ins.offset, 1); in submit_one_async_extent()
1099 inode->root->root_key.objectid, in submit_compressed_extents()
1287 ins.objectid, /* block_start */ in cow_file_range()
1300 ins.objectid, cur_alloc_size, 0, in cow_file_range()
1326 btrfs_dec_block_group_reservations(fs_info, ins.objectid); in cow_file_range()
1347 alloc_hint = ins.objectid + ins.offset; in cow_file_range()
1365 btrfs_dec_block_group_reservations(fs_info, ins.objectid); in cow_file_range()
1366 btrfs_free_reserved_extent(fs_info, ins.objectid, ins.offset, 1); in cow_file_range()
1959 if (found_key.objectid == ino && in run_delalloc_nocow()
1982 if (found_key.objectid > ino) in run_delalloc_nocow()
1988 if (WARN_ON_ONCE(found_key.objectid < ino) || in run_delalloc_nocow()
3088 ins.objectid = btrfs_ino(inode); in insert_reserved_file_extent()
3125 ins.objectid = disk_bytenr; in insert_reserved_file_extent()
3694 key.objectid = BTRFS_ORPHAN_OBJECTID; in btrfs_orphan_cleanup()
3720 if (found_key.objectid != BTRFS_ORPHAN_OBJECTID) in btrfs_orphan_cleanup()
3743 found_key.objectid = found_key.offset; in btrfs_orphan_cleanup()
3773 (unsigned long)found_key.objectid); in btrfs_orphan_cleanup()
3780 key.offset = found_key.objectid - 1; in btrfs_orphan_cleanup()
3825 found_key.objectid); in btrfs_orphan_cleanup()
3827 found_key.objectid); in btrfs_orphan_cleanup()
3865 int slot, u64 objectid, in acls_after_inode_item() argument
3887 if (found_key.objectid != objectid) in acls_after_inode_item()
4065 if (location.objectid != btrfs_ino(BTRFS_I(inode))) in btrfs_read_locked_inode()
4095 root->root_key.objectid, ret); in btrfs_read_locked_inode()
4450 u64 objectid; in btrfs_unlink_subvol() local
4454 objectid = inode->root->root_key.objectid; in btrfs_unlink_subvol()
4456 objectid = inode->location.objectid; in btrfs_unlink_subvol()
4475 WARN_ON(key.type != BTRFS_ROOT_ITEM_KEY || key.objectid != objectid); in btrfs_unlink_subvol()
4509 ret = btrfs_del_root_ref(trans, objectid, in btrfs_unlink_subvol()
4510 root->root_key.objectid, dir_ino, in btrfs_unlink_subvol()
4559 if (key.objectid == root->root_key.objectid) { in may_destroy_subvol()
4563 key.objectid); in may_destroy_subvol()
4569 key.objectid = root->root_key.objectid; in may_destroy_subvol()
4582 if (key.objectid == root->root_key.objectid && in may_destroy_subvol()
4599 u64 objectid = 0; in btrfs_prune_dentries() local
4612 if (objectid < btrfs_ino(entry)) in btrfs_prune_dentries()
4614 else if (objectid > btrfs_ino(entry)) in btrfs_prune_dentries()
4622 if (objectid <= btrfs_ino(entry)) { in btrfs_prune_dentries()
4631 objectid = btrfs_ino(entry) + 1; in btrfs_prune_dentries()
4676 dest->root_key.objectid); in btrfs_delete_subvolume()
4683 root->root_key.objectid); in btrfs_delete_subvolume()
4737 dest->root_key.objectid); in btrfs_delete_subvolume()
4746 dest->root_key.objectid); in btrfs_delete_subvolume()
4755 dest->root_key.objectid); in btrfs_delete_subvolume()
5411 root->root_key.objectid != BTRFS_ROOT_TREE_OBJECTID) || in btrfs_evict_inode()
5425 root->root_key.objectid != BTRFS_ROOT_TREE_OBJECTID); in btrfs_evict_inode()
5542 location->objectid, location->type, location->offset); in btrfs_inode_by_name()
5577 key.objectid = BTRFS_I(dir)->root->root_key.objectid; in fixup_tree_root_location()
5579 key.offset = location->objectid; in fixup_tree_root_location()
5602 new_root = btrfs_get_fs_root(fs_info, location->objectid, true); in fixup_tree_root_location()
5609 location->objectid = btrfs_root_dirid(&new_root->root_item); in fixup_tree_root_location()
5682 BTRFS_I(inode)->location.objectid = args->ino; in btrfs_init_locked_inode()
5699 return args->ino == BTRFS_I(inode)->location.objectid && in btrfs_find_actor()
5824 inode = btrfs_iget(dir->i_sb, location.objectid, root); in btrfs_lookup_dentry()
5848 inode = btrfs_iget(dir->i_sb, location.objectid, sub_root); in btrfs_lookup_dentry()
5983 key.objectid = btrfs_ino(BTRFS_I(inode)); in btrfs_real_readdir()
5989 if (found_key.objectid != key.objectid) in btrfs_real_readdir()
6019 put_unaligned(location.objectid, &entry->ino); in btrfs_real_readdir()
6143 key.objectid = btrfs_ino(inode); in btrfs_set_inode_index_count()
6169 if (found_key.objectid != btrfs_ino(inode) || in btrfs_set_inode_index_count()
6208 args.ino = BTRFS_I(inode)->location.objectid; in btrfs_insert_inode_locked()
6307 u64 objectid; in btrfs_create_new_inode() local
6323 ret = btrfs_get_free_objectid(root, &objectid); in btrfs_create_new_inode()
6326 inode->i_ino = objectid; in btrfs_create_new_inode()
6363 location->objectid = objectid; in btrfs_create_new_inode()
6382 key[0].objectid = objectid; in btrfs_create_new_inode()
6395 key[1].objectid = objectid; in btrfs_create_new_inode()
6398 key[1].offset = objectid; in btrfs_create_new_inode()
6478 btrfs_ino(BTRFS_I(inode)), root->root_key.objectid, in btrfs_create_new_inode()
6545 key.objectid = ino; in btrfs_add_link()
6551 ret = btrfs_add_root_ref(trans, key.objectid, in btrfs_add_link()
6552 root->root_key.objectid, parent_ino, in btrfs_add_link()
6596 err = btrfs_del_root_ref(trans, key.objectid, in btrfs_add_link()
6597 root->root_key.objectid, parent_ino, in btrfs_add_link()
6694 if (root->root_key.objectid != BTRFS_I(inode)->root->root_key.objectid) in btrfs_link()
6843 u64 objectid = btrfs_ino(inode); in btrfs_get_extent() local
6894 ret = btrfs_lookup_file_extent(NULL, root, path, objectid, start, 0); in btrfs_get_extent()
6908 if (found_key.objectid != objectid || in btrfs_get_extent()
6953 if (found_key.objectid != objectid || in btrfs_get_extent()
7103 ins.objectid, ins.offset, ins.offset, in btrfs_new_extent_direct()
7105 btrfs_dec_block_group_reservations(fs_info, ins.objectid); in btrfs_new_extent_direct()
7107 btrfs_free_reserved_extent(fs_info, ins.objectid, ins.offset, in btrfs_new_extent_direct()
7182 if (key.objectid != btrfs_ino(BTRFS_I(inode)) || in can_nocow_extent()
9755 key.objectid = btrfs_ino(BTRFS_I(inode)); in btrfs_symlink()
9807 u64 start = ins->objectid; in insert_prealloc_file_extent()
9869 inode->root->root_key.objectid, qgroup_released, in insert_prealloc_file_extent()
9927 btrfs_dec_block_group_reservations(fs_info, ins.objectid); in __btrfs_prealloc_file_range()
9930 btrfs_free_reserved_extent(fs_info, ins.objectid, in __btrfs_prealloc_file_range()
9946 em->block_start = ins.objectid; in __btrfs_prealloc_file_range()
9958 *alloc_hint = ins.objectid + ins.offset; in __btrfs_prealloc_file_range()
10764 start - encoded->unencoded_offset, ins.objectid, in btrfs_do_encoded_write()
10774 ins.objectid, ins.offset, in btrfs_do_encoded_write()
10783 btrfs_dec_block_group_reservations(fs_info, ins.objectid); in btrfs_do_encoded_write()
10792 if (btrfs_submit_compressed_write(inode, start, num_bytes, ins.objectid, in btrfs_do_encoded_write()
10803 btrfs_dec_block_group_reservations(fs_info, ins.objectid); in btrfs_do_encoded_write()
10804 btrfs_free_reserved_extent(fs_info, ins.objectid, ins.offset, 1); in btrfs_do_encoded_write()
11052 root->root_key.objectid); in btrfs_swap_activate()
11276 start, end, btrfs_ino(inode), root->root_key.objectid, in btrfs_assert_inode_range_clean()