Lines Matching refs:objectid

263 		key.objectid = btrfs_ino(BTRFS_I(inode));  in insert_inline_extent()
973 ins.objectid, /* block_start */ in submit_one_async_extent()
986 ins.objectid, /* disk_bytenr */ in submit_one_async_extent()
994 btrfs_dec_block_group_reservations(fs_info, ins.objectid); in submit_one_async_extent()
1002 ins.objectid, /* disk_bytenr */ in submit_one_async_extent()
1017 *alloc_hint = ins.objectid + ins.offset; in submit_one_async_extent()
1022 btrfs_dec_block_group_reservations(fs_info, ins.objectid); in submit_one_async_extent()
1023 btrfs_free_reserved_extent(fs_info, ins.objectid, ins.offset, 1); in submit_one_async_extent()
1063 inode->root->root_key.objectid, in submit_compressed_extents()
1226 ins.objectid, /* block_start */ in cow_file_range()
1238 ret = btrfs_add_ordered_extent(inode, start, ins.objectid, in cow_file_range()
1263 btrfs_dec_block_group_reservations(fs_info, ins.objectid); in cow_file_range()
1284 alloc_hint = ins.objectid + ins.offset; in cow_file_range()
1302 btrfs_dec_block_group_reservations(fs_info, ins.objectid); in cow_file_range()
1303 btrfs_free_reserved_extent(fs_info, ins.objectid, ins.offset, 1); in cow_file_range()
1684 if (found_key.objectid == ino && in run_delalloc_nocow()
1707 if (found_key.objectid > ino) in run_delalloc_nocow()
1713 if (WARN_ON_ONCE(found_key.objectid < ino) || in run_delalloc_nocow()
2897 ins.objectid = btrfs_ino(inode); in insert_reserved_file_extent()
2934 ins.objectid = disk_bytenr; in insert_reserved_file_extent()
3490 key.objectid = BTRFS_ORPHAN_OBJECTID; in btrfs_orphan_cleanup()
3516 if (found_key.objectid != BTRFS_ORPHAN_OBJECTID) in btrfs_orphan_cleanup()
3539 found_key.objectid = found_key.offset; in btrfs_orphan_cleanup()
3569 (unsigned long)found_key.objectid); in btrfs_orphan_cleanup()
3576 key.offset = found_key.objectid - 1; in btrfs_orphan_cleanup()
3621 found_key.objectid); in btrfs_orphan_cleanup()
3623 found_key.objectid); in btrfs_orphan_cleanup()
3663 int slot, u64 objectid, in acls_after_inode_item() argument
3685 if (found_key.objectid != objectid) in acls_after_inode_item()
3863 if (location.objectid != btrfs_ino(BTRFS_I(inode))) in btrfs_read_locked_inode()
3893 root->root_key.objectid, ret); in btrfs_read_locked_inode()
4233 u64 objectid; in btrfs_unlink_subvol() local
4237 objectid = inode->root->root_key.objectid; in btrfs_unlink_subvol()
4239 objectid = inode->location.objectid; in btrfs_unlink_subvol()
4258 WARN_ON(key.type != BTRFS_ROOT_ITEM_KEY || key.objectid != objectid); in btrfs_unlink_subvol()
4292 ret = btrfs_del_root_ref(trans, objectid, in btrfs_unlink_subvol()
4293 root->root_key.objectid, dir_ino, in btrfs_unlink_subvol()
4341 if (key.objectid == root->root_key.objectid) { in may_destroy_subvol()
4345 key.objectid); in may_destroy_subvol()
4351 key.objectid = root->root_key.objectid; in may_destroy_subvol()
4364 if (key.objectid == root->root_key.objectid && in may_destroy_subvol()
4381 u64 objectid = 0; in btrfs_prune_dentries() local
4394 if (objectid < btrfs_ino(entry)) in btrfs_prune_dentries()
4396 else if (objectid > btrfs_ino(entry)) in btrfs_prune_dentries()
4404 if (objectid <= btrfs_ino(entry)) { in btrfs_prune_dentries()
4413 objectid = btrfs_ino(entry) + 1; in btrfs_prune_dentries()
4458 dest->root_key.objectid); in btrfs_delete_subvolume()
4512 dest->root_key.objectid); in btrfs_delete_subvolume()
4521 dest->root_key.objectid); in btrfs_delete_subvolume()
4530 dest->root_key.objectid); in btrfs_delete_subvolume()
4696 if (root->root_key.objectid != BTRFS_TREE_LOG_OBJECTID) { in btrfs_truncate_inode_items()
4719 key.objectid = ino; in btrfs_truncate_inode_items()
4757 if (found_key.objectid != ino) in btrfs_truncate_inode_items()
4914 root->root_key.objectid != BTRFS_TREE_LOG_OBJECTID) { in btrfs_truncate_inode_items()
4923 root->root_key.objectid, false); in btrfs_truncate_inode_items()
4987 if (root->root_key.objectid != BTRFS_TREE_LOG_OBJECTID) { in btrfs_truncate_inode_items()
5595 root->root_key.objectid != BTRFS_ROOT_TREE_OBJECTID) || in btrfs_evict_inode()
5609 root->root_key.objectid != BTRFS_ROOT_TREE_OBJECTID); in btrfs_evict_inode()
5708 location->objectid, location->type, location->offset); in btrfs_inode_by_name()
5743 key.objectid = BTRFS_I(dir)->root->root_key.objectid; in fixup_tree_root_location()
5745 key.offset = location->objectid; in fixup_tree_root_location()
5768 new_root = btrfs_get_fs_root(fs_info, location->objectid, true); in fixup_tree_root_location()
5775 location->objectid = btrfs_root_dirid(&new_root->root_item); in fixup_tree_root_location()
5848 BTRFS_I(inode)->location.objectid = args->ino; in btrfs_init_locked_inode()
5860 return args->ino == BTRFS_I(inode)->location.objectid && in btrfs_find_actor()
5989 inode = btrfs_iget(dir->i_sb, location.objectid, root); in btrfs_lookup_dentry()
6013 inode = btrfs_iget(dir->i_sb, location.objectid, sub_root); in btrfs_lookup_dentry()
6150 key.objectid = btrfs_ino(BTRFS_I(inode)); in btrfs_real_readdir()
6172 if (found_key.objectid != key.objectid) in btrfs_real_readdir()
6202 put_unaligned(location.objectid, &entry->ino); in btrfs_real_readdir()
6324 key.objectid = btrfs_ino(inode); in btrfs_set_inode_index_count()
6356 if (found_key.objectid != btrfs_ino(inode) || in btrfs_set_inode_index_count()
6395 args.ino = BTRFS_I(inode)->location.objectid; in btrfs_insert_inode_locked()
6439 u64 ref_objectid, u64 objectid, in btrfs_new_inode() argument
6478 inode->i_ino = objectid; in btrfs_new_inode()
6511 key[0].objectid = objectid; in btrfs_new_inode()
6524 key[1].objectid = objectid; in btrfs_new_inode()
6532 location->objectid = objectid; in btrfs_new_inode()
6597 btrfs_ino(BTRFS_I(inode)), root->root_key.objectid, ret); in btrfs_new_inode()
6629 key.objectid = ino; in btrfs_add_link()
6635 ret = btrfs_add_root_ref(trans, key.objectid, in btrfs_add_link()
6636 root->root_key.objectid, parent_ino, in btrfs_add_link()
6680 err = btrfs_del_root_ref(trans, key.objectid, in btrfs_add_link()
6681 root->root_key.objectid, parent_ino, in btrfs_add_link()
6719 u64 objectid; in btrfs_mknod() local
6731 err = btrfs_get_free_objectid(root, &objectid); in btrfs_mknod()
6737 btrfs_ino(BTRFS_I(dir)), objectid, mode, &index); in btrfs_mknod()
6783 u64 objectid; in btrfs_create() local
6795 err = btrfs_get_free_objectid(root, &objectid); in btrfs_create()
6801 btrfs_ino(BTRFS_I(dir)), objectid, mode, &index); in btrfs_create()
6854 if (root->root_key.objectid != BTRFS_I(inode)->root->root_key.objectid) in btrfs_link()
6928 u64 objectid = 0; in btrfs_mkdir() local
6940 err = btrfs_get_free_objectid(root, &objectid); in btrfs_mkdir()
6946 btrfs_ino(BTRFS_I(dir)), objectid, in btrfs_mkdir()
7055 u64 objectid = btrfs_ino(inode); in btrfs_get_extent() local
7107 ret = btrfs_lookup_file_extent(NULL, root, path, objectid, start, 0); in btrfs_get_extent()
7121 if (found_key.objectid != objectid || in btrfs_get_extent()
7166 if (found_key.objectid != objectid || in btrfs_get_extent()
7441 ins.objectid, ins.offset, ins.offset, in btrfs_new_extent_direct()
7443 btrfs_dec_block_group_reservations(fs_info, ins.objectid); in btrfs_new_extent_direct()
7445 btrfs_free_reserved_extent(fs_info, ins.objectid, ins.offset, in btrfs_new_extent_direct()
7525 if (key.objectid != btrfs_ino(BTRFS_I(inode)) || in can_nocow_extent()
9074 new_root->root_key.objectid, err); in btrfs_create_subvol_root()
9575 u64 objectid; in btrfs_whiteout_for_rename() local
9578 ret = btrfs_get_free_objectid(root, &objectid); in btrfs_whiteout_for_rename()
9586 objectid, in btrfs_whiteout_for_rename()
10069 u64 objectid; in btrfs_symlink() local
10092 err = btrfs_get_free_objectid(root, &objectid); in btrfs_symlink()
10098 btrfs_ino(BTRFS_I(dir)), objectid, in btrfs_symlink()
10125 key.objectid = btrfs_ino(BTRFS_I(inode)); in btrfs_symlink()
10189 u64 start = ins->objectid; in insert_prealloc_file_extent()
10250 inode->root->root_key.objectid, qgroup_released, in insert_prealloc_file_extent()
10309 btrfs_dec_block_group_reservations(fs_info, ins.objectid); in __btrfs_prealloc_file_range()
10312 btrfs_free_reserved_extent(fs_info, ins.objectid, in __btrfs_prealloc_file_range()
10330 em->block_start = ins.objectid; in __btrfs_prealloc_file_range()
10351 *alloc_hint = ins.objectid + ins.offset; in __btrfs_prealloc_file_range()
10433 u64 objectid; in btrfs_tmpfile() local
10444 ret = btrfs_get_free_objectid(root, &objectid); in btrfs_tmpfile()
10449 btrfs_ino(BTRFS_I(dir)), objectid, mode, &index); in btrfs_tmpfile()