Lines Matching refs:btrfs_ino
263 key.objectid = btrfs_ino(BTRFS_I(inode)); in insert_inline_extent()
512 btrfs_ino(inode)); in inode_need_compress()
1064 btrfs_ino(inode), extent_start, ram_size, ret); in submit_compressed_extents()
1641 u64 ino = btrfs_ino(inode); in run_delalloc_nocow()
2897 ins.objectid = btrfs_ino(inode); in insert_reserved_file_extent()
2942 ret = btrfs_alloc_reserved_file_extent(trans, root, btrfs_ino(inode), in insert_reserved_file_extent()
3446 ret = btrfs_insert_orphan_item(trans, inode->root, btrfs_ino(inode)); in btrfs_orphan_add()
3462 return btrfs_del_orphan_item(trans, inode->root, btrfs_ino(inode)); in btrfs_orphan_del()
3863 if (location.objectid != btrfs_ino(BTRFS_I(inode))) in btrfs_read_locked_inode()
3885 btrfs_ino(BTRFS_I(inode)), &first_xattr_slot); in btrfs_read_locked_inode()
3892 btrfs_ino(BTRFS_I(inode)), in btrfs_read_locked_inode()
4071 u64 ino = btrfs_ino(inode); in __btrfs_unlink_inode()
4072 u64 dir_ino = btrfs_ino(dir); in __btrfs_unlink_inode()
4234 u64 dir_ino = btrfs_ino(BTRFS_I(dir)); in btrfs_unlink_subvol()
4236 if (btrfs_ino(inode) == BTRFS_FIRST_FREE_OBJECTID) { in btrfs_unlink_subvol()
4238 } else if (btrfs_ino(inode) == BTRFS_EMPTY_SUBVOL_DIR_OBJECTID) { in btrfs_unlink_subvol()
4275 if (btrfs_ino(inode) == BTRFS_EMPTY_SUBVOL_DIR_OBJECTID) { in btrfs_unlink_subvol()
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()
4572 if (btrfs_ino(BTRFS_I(inode)) == BTRFS_FIRST_FREE_OBJECTID) in btrfs_rmdir()
4579 if (unlikely(btrfs_ino(BTRFS_I(inode)) == BTRFS_EMPTY_SUBVOL_DIR_OBJECTID)) { in btrfs_rmdir()
4673 u64 ino = btrfs_ino(inode); in btrfs_truncate_inode_items()
5183 ret = btrfs_insert_file_extent(trans, root, btrfs_ino(inode), in maybe_insert_hole()
5694 di = btrfs_lookup_dir_item(NULL, root, path, btrfs_ino(BTRFS_I(dir)), in btrfs_inode_by_name()
5707 __func__, name, btrfs_ino(BTRFS_I(dir)), in btrfs_inode_by_name()
5756 if (btrfs_root_ref_dirid(leaf, ref) != btrfs_ino(BTRFS_I(dir)) || in fixup_tree_root_location()
5791 u64 ino = btrfs_ino(BTRFS_I(inode)); in inode_tree_add()
5802 if (ino < btrfs_ino(entry)) in inode_tree_add()
5804 else if (ino > btrfs_ino(entry)) in inode_tree_add()
6045 if (btrfs_ino(BTRFS_I(inode)) == BTRFS_EMPTY_SUBVOL_DIR_OBJECTID) in btrfs_dentry_delete()
6150 key.objectid = btrfs_ino(BTRFS_I(inode)); 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()
6597 btrfs_ino(BTRFS_I(inode)), root->root_key.objectid, ret); in btrfs_new_inode()
6623 u64 ino = btrfs_ino(inode); in btrfs_add_link()
6624 u64 parent_ino = btrfs_ino(parent_inode); in btrfs_add_link()
6737 btrfs_ino(BTRFS_I(dir)), objectid, mode, &index); in btrfs_mknod()
6801 btrfs_ino(BTRFS_I(dir)), objectid, mode, &index); in btrfs_create()
6946 btrfs_ino(BTRFS_I(dir)), objectid, in btrfs_mkdir()
7055 u64 objectid = btrfs_ino(inode); in btrfs_get_extent()
7143 btrfs_ino(inode)); in btrfs_get_extent()
7509 btrfs_ino(BTRFS_I(inode)), offset, 0); in can_nocow_extent()
7525 if (key.objectid != btrfs_ino(BTRFS_I(inode)) || in can_nocow_extent()
7601 ret = btrfs_cross_ref_exist(root, btrfs_ino(BTRFS_I(inode)), in can_nocow_extent()
8121 btrfs_ino(BTRFS_I(inode)), in btrfs_check_read_dio_bio()
8168 btrfs_ino(BTRFS_I(dip->inode)), bio_op(bio), in btrfs_end_dio_bio()
9331 u64 old_ino = btrfs_ino(BTRFS_I(old_inode)); in btrfs_rename_exchange()
9332 u64 new_ino = btrfs_ino(BTRFS_I(new_inode)); in btrfs_rename_exchange()
9399 btrfs_ino(BTRFS_I(new_dir)), in btrfs_rename_exchange()
9415 btrfs_ino(BTRFS_I(old_dir)), in btrfs_rename_exchange()
9585 btrfs_ino(BTRFS_I(dir)), in btrfs_whiteout_for_rename()
9634 u64 old_ino = btrfs_ino(BTRFS_I(old_inode)); in btrfs_rename()
9637 if (btrfs_ino(BTRFS_I(new_dir)) == BTRFS_EMPTY_SUBVOL_DIR_OBJECTID) in btrfs_rename()
9645 (new_inode && btrfs_ino(BTRFS_I(new_inode)) == BTRFS_FIRST_FREE_OBJECTID)) in btrfs_rename()
9721 btrfs_ino(BTRFS_I(new_dir)), index); in btrfs_rename()
9774 if (unlikely(btrfs_ino(BTRFS_I(new_inode)) == in btrfs_rename()
10098 btrfs_ino(BTRFS_I(dir)), objectid, in btrfs_symlink()
10125 key.objectid = btrfs_ino(BTRFS_I(inode)); in btrfs_symlink()
10449 btrfs_ino(BTRFS_I(dir)), objectid, mode, &index); in btrfs_tmpfile()