Home
last modified time | relevance | path

Searched refs:btrfs_ino (Results 1 – 17 of 17) sorted by relevance

/fs/btrfs/
Dexport.c33 fid->objectid = btrfs_ino(inode); in btrfs_encode_fh()
168 if (btrfs_ino(dir) == BTRFS_FIRST_FREE_OBJECTID) { in btrfs_get_parent()
174 key.objectid = btrfs_ino(dir); in btrfs_get_parent()
242 ino = btrfs_ino(inode); in btrfs_get_name()
256 key.offset = btrfs_ino(dir); in btrfs_get_name()
Dxattr.c50 di = btrfs_lookup_xattr(NULL, root, path, btrfs_ino(inode), name, in __btrfs_getxattr()
110 di = btrfs_lookup_xattr(trans, root, path, btrfs_ino(inode), in do_setxattr()
130 di = btrfs_lookup_xattr(NULL, root, path, btrfs_ino(inode), in do_setxattr()
142 ret = btrfs_insert_xattr_item(trans, root, path, btrfs_ino(inode), in do_setxattr()
279 key.objectid = btrfs_ino(inode); in btrfs_listxattr()
Dbtrfs_inode.h224 static inline u64 btrfs_ino(struct inode *inode) in btrfs_ino() function
248 btrfs_ino(inode) != BTRFS_BTREE_INODE_OBJECTID) in btrfs_is_free_space_inode()
Dinode.c162 key.objectid = btrfs_ino(inode); in insert_inline_extent()
1259 u64 ino = btrfs_ino(inode); in run_delalloc_nocow()
2157 ins.objectid = btrfs_ino(inode); in insert_reserved_file_extent()
2191 btrfs_ino(inode), file_pos, in insert_reserved_file_extent()
2317 inum == btrfs_ino(inode)) in record_one_backref()
2589 key.objectid = btrfs_ino(inode); in relink_extent_backref()
2766 key.objectid = btrfs_ino(inode); in record_old_file_extents()
2801 if (key.objectid != btrfs_ino(inode)) in record_old_file_extents()
3121 btrfs_ino(inode), start, csum, csum_expected); in __readpage_endio_check()
3318 ret = btrfs_insert_orphan_item(trans, root, btrfs_ino(inode)); in btrfs_orphan_add()
[all …]
Dtree-log.c627 ret = btrfs_lookup_file_extent(trans, root, path, btrfs_ino(inode), in replay_one_extent()
1127 di = btrfs_lookup_dir_index_item(trans, root, path, btrfs_ino(dir), in __add_inode_ref()
1137 di = btrfs_lookup_dir_item(trans, root, path, btrfs_ino(dir), in __add_inode_ref()
1274 if (!inode_in_dir(root, path, btrfs_ino(dir), btrfs_ino(inode), in add_inode_ref()
1346 u64 inode_objectid = btrfs_ino(inode); in count_inode_extrefs()
1391 u64 ino = btrfs_ino(inode); in count_inode_refs()
1456 u64 ino = btrfs_ino(inode); in fixup_inode_link_count()
3088 u64 dir_ino = btrfs_ino(dir); in btrfs_del_dir_entries_in_log()
3205 ret = btrfs_del_inode_ref(trans, log, name, name_len, btrfs_ino(inode), in btrfs_del_inode_ref_in_log()
3272 u64 ino = btrfs_ino(inode); in log_dir_items()
[all …]
Dprops.c281 handler->xattr_name, btrfs_ino(inode), in inode_prop_iterator()
290 u64 ino = btrfs_ino(inode); in btrfs_load_inode_props()
Ddelayed-inode.c91 u64 ino = btrfs_ino(inode); in btrfs_get_delayed_node()
127 u64 ino = btrfs_ino(inode); in btrfs_get_or_create_delayed_node()
631 btrfs_ino(inode), in btrfs_delayed_inode_reserve_metadata()
690 btrfs_ino(inode), num_bytes, 1); in btrfs_delayed_inode_reserve_metadata()
696 btrfs_ino(inode), num_bytes, 0); in btrfs_delayed_inode_reserve_metadata()
1482 delayed_item->key.objectid = btrfs_ino(dir); in btrfs_insert_delayed_dir_index()
1551 item_key.objectid = btrfs_ino(dir); in btrfs_delete_delayed_dir_index()
Dioctl.c605 btrfs_ino(dir), index, name, namelen); in create_subvol()
939 u64 ino = btrfs_ino(inode); in find_new_extents()
1776 if (btrfs_ino(inode) != BTRFS_FIRST_FREE_OBJECTID) in btrfs_ioctl_subvol_getflags()
1807 if (btrfs_ino(inode) != BTRFS_FIRST_FREE_OBJECTID) { in btrfs_ioctl_subvol_setflags()
2456 if (btrfs_ino(inode) != BTRFS_FIRST_FREE_OBJECTID) { in btrfs_ioctl_snap_destroy()
3455 key.objectid = btrfs_ino(dst); in clone_copy_inline_extent()
3470 if (key.objectid == btrfs_ino(dst) && in clone_copy_inline_extent()
3504 if (key.objectid == btrfs_ino(dst) && in clone_copy_inline_extent()
3594 key.objectid = btrfs_ino(src); in btrfs_clone()
3637 key.objectid != btrfs_ino(src)) in btrfs_clone()
[all …]
Dfile.c170 defrag->ino = btrfs_ino(inode); in btrfs_add_inode_defrag()
703 u64 ino = btrfs_ino(inode); in __btrfs_drop_extents()
1093 u64 ino = btrfs_ino(inode); in btrfs_mark_extent_written()
2150 if (key.objectid != btrfs_ino(inode) || in hole_mergeable()
2183 key.objectid = btrfs_ino(inode); in fill_holes()
2225 ret = btrfs_insert_file_extent(trans, root, btrfs_ino(inode), offset, in fill_holes()
Drelocation.c1538 if (objectid < btrfs_ino(&entry->vfs_inode))
1540 else if (objectid > btrfs_ino(&entry->vfs_inode))
1548 if (objectid <= btrfs_ino(&entry->vfs_inode)) {
1563 objectid = btrfs_ino(&entry->vfs_inode) + 1;
1599 ret = btrfs_lookup_file_extent(NULL, root, path, btrfs_ino(reloc_inode),
1687 } else if (inode && btrfs_ino(inode) < key.objectid) {
1691 if (inode && btrfs_ino(inode) == key.objectid) {
2050 ino = btrfs_ino(inode);
Dfile-item.c251 btrfs_ino(inode), offset); in __btrfs_lookup_bio_sums()
952 type, btrfs_ino(inode), extent_start, in btrfs_extent_item_to_extent_map()
Ddir-item.c135 key.objectid = btrfs_ino(dir); in btrfs_insert_dir_item()
Dtransaction.c1378 btrfs_ino(parent_inode), in create_pending_snapshot()
1472 btrfs_ino(parent_inode), index, in create_pending_snapshot()
Dcompression.c129 btrfs_ino(inode), disk_start, csum, *cb_sum, in check_compressed_csum()
Dextent_io.c101 caller, btrfs_ino(inode), isize, start, end); in __btrfs_debug_check_extent_io_range()
2146 btrfs_ino(inode), start, in repair_io_failure()
4528 ret = btrfs_lookup_file_extent(NULL, root, path, btrfs_ino(inode), -1, in extent_fiemap()
4540 if (found_key.objectid != btrfs_ino(inode) || in extent_fiemap()
4637 btrfs_ino(inode), bytenr); in extent_fiemap()
Dextent-tree.c5449 btrfs_ino(inode), num_bytes, 1); in btrfs_orphan_reserve_metadata()
5458 btrfs_ino(inode), num_bytes, 0); in btrfs_orphan_release_metadata()
5695 btrfs_ino(inode), to_reserve, 1); in btrfs_delalloc_reserve_metadata()
5757 btrfs_ino(inode), to_free, 0); in btrfs_delalloc_reserve_metadata()
5793 btrfs_ino(inode), to_free, 0); in btrfs_delalloc_release_metadata()
Dfree-space-cache.c315 if (btrfs_ino(inode) != BTRFS_FREE_INO_OBJECTID) in io_ctl_init()