Home
last modified time | relevance | path

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

/fs/btrfs/
Dbtrfs_inode.h264 static inline u64 btrfs_ino(const struct btrfs_inode *inode) in btrfs_ino() function
288 btrfs_ino(inode) != BTRFS_BTREE_INODE_OBJECTID) in btrfs_is_free_space_inode()
297 return btrfs_ino(BTRFS_I(inode)) != BTRFS_BTREE_INODE_OBJECTID; in is_data_inode()
307 trace_btrfs_inode_mod_outstanding_extents(inode->root, btrfs_ino(inode), in btrfs_mod_outstanding_extents()
382 root->root_key.objectid, btrfs_ino(inode), in btrfs_print_data_csum_error()
390 root->root_key.objectid, btrfs_ino(inode), in btrfs_print_data_csum_error()
Dexport.c35 fid->objectid = btrfs_ino(BTRFS_I(inode)); in btrfs_encode_fh()
150 if (btrfs_ino(BTRFS_I(dir)) == BTRFS_FIRST_FREE_OBJECTID) { in btrfs_get_parent()
156 key.objectid = btrfs_ino(BTRFS_I(dir)); in btrfs_get_parent()
220 ino = btrfs_ino(BTRFS_I(inode)); in btrfs_get_name()
234 key.offset = btrfs_ino(BTRFS_I(dir)); in btrfs_get_name()
Dxattr.c38 di = btrfs_lookup_xattr(NULL, root, path, btrfs_ino(BTRFS_I(inode)), in btrfs_getxattr()
101 btrfs_ino(BTRFS_I(inode)), name, name_len, -1); in btrfs_setxattr()
121 btrfs_ino(BTRFS_I(inode)), name, name_len, 0); in btrfs_setxattr()
132 ret = btrfs_insert_xattr_item(trans, root, path, btrfs_ino(BTRFS_I(inode)), in btrfs_setxattr()
288 key.objectid = btrfs_ino(BTRFS_I(inode)); in btrfs_listxattr()
Dinode.c188 key.objectid = btrfs_ino(BTRFS_I(inode)); in insert_inline_extent()
429 btrfs_ino(inode)); in inode_need_compress()
1461 u64 ino = btrfs_ino(inode); in run_delalloc_nocow()
2546 ins.objectid = btrfs_ino(inode); in insert_reserved_file_extent()
2575 ret = btrfs_alloc_reserved_file_extent(trans, root, btrfs_ino(inode), in insert_reserved_file_extent()
3014 ret = btrfs_insert_orphan_item(trans, inode->root, btrfs_ino(inode)); in btrfs_orphan_add()
3030 return btrfs_del_orphan_item(trans, inode->root, btrfs_ino(inode)); in btrfs_orphan_del()
3415 if (location.objectid != btrfs_ino(BTRFS_I(inode))) in btrfs_read_locked_inode()
3437 btrfs_ino(BTRFS_I(inode)), &first_xattr_slot); in btrfs_read_locked_inode()
3444 btrfs_ino(BTRFS_I(inode)), in btrfs_read_locked_inode()
[all …]
Dreflink.c188 key.objectid = btrfs_ino(BTRFS_I(dst)); in clone_copy_inline_extent()
203 if (key.objectid == btrfs_ino(BTRFS_I(dst)) && in clone_copy_inline_extent()
357 key.objectid = btrfs_ino(BTRFS_I(src)); in btrfs_clone()
406 key.objectid != btrfs_ino(BTRFS_I(src))) in btrfs_clone()
447 new_key.objectid = btrfs_ino(BTRFS_I(inode)); in btrfs_clone()
Ddelalloc-space.c220 btrfs_ino(inode), released, 0); in btrfs_inode_rsv_release()
351 btrfs_ino(inode), meta_reserve, 1); in btrfs_delalloc_reserve_metadata()
Dtree-log.c625 btrfs_ino(BTRFS_I(inode)), start, 0); in replay_one_extent()
1148 di = btrfs_lookup_dir_index_item(trans, root, path, btrfs_ino(dir), in __add_inode_ref()
1160 di = btrfs_lookup_dir_item(trans, root, path, btrfs_ino(dir), in __add_inode_ref()
1322 const u64 parent_id = btrfs_ino(BTRFS_I(dir)); in btrfs_inode_ref_exists()
1329 key.objectid = btrfs_ino(BTRFS_I(inode)); in btrfs_inode_ref_exists()
1370 btrfs_ino(BTRFS_I(dir)), in add_link()
1498 ret = inode_in_dir(root, path, btrfs_ino(BTRFS_I(dir)), in add_inode_ref()
1499 btrfs_ino(BTRFS_I(inode)), ref_index, in add_inode_ref()
1624 u64 inode_objectid = btrfs_ino(inode); in count_inode_extrefs()
1669 u64 ino = btrfs_ino(inode); in count_inode_refs()
[all …]
Dprops.c238 handler->xattr_name, btrfs_ino(BTRFS_I(inode)), in inode_prop_iterator()
247 u64 ino = btrfs_ino(BTRFS_I(inode)); in btrfs_load_inode_props()
Ddelayed-inode.c71 u64 ino = btrfs_ino(btrfs_inode); in btrfs_get_delayed_node()
128 u64 ino = btrfs_ino(btrfs_inode); in btrfs_get_or_create_delayed_node()
650 btrfs_ino(inode), in btrfs_delayed_inode_reserve_metadata()
661 btrfs_ino(inode), num_bytes, 1); in btrfs_delayed_inode_reserve_metadata()
1474 delayed_item->key.objectid = btrfs_ino(dir); in btrfs_insert_delayed_dir_index()
1540 item_key.objectid = btrfs_ino(dir); in btrfs_delete_delayed_dir_index()
Dfile.c158 defrag->ino = btrfs_ino(inode); in btrfs_add_inode_defrag()
690 u64 ino = btrfs_ino(inode); in __btrfs_drop_extents()
1091 u64 ino = btrfs_ino(inode); in btrfs_mark_extent_written()
2324 if (key.objectid != btrfs_ino(inode) || in hole_mergeable()
2359 key.objectid = btrfs_ino(inode); in fill_holes()
2407 ret = btrfs_insert_file_extent(trans, root, btrfs_ino(inode), in fill_holes()
2539 key.objectid = btrfs_ino(BTRFS_I(inode)); in btrfs_insert_replace_extent()
2576 btrfs_ino(BTRFS_I(inode)), in btrfs_insert_replace_extent()
2588 btrfs_ino(BTRFS_I(inode)), ref_offset); in btrfs_insert_replace_extent()
Dfile-item.c346 btrfs_ino(BTRFS_I(inode)), offset); in btrfs_lookup_bio_sums()
579 btrfs_ino(inode), offset); in btrfs_csum_one_bio()
1107 "root %llu", type, btrfs_ino(inode), extent_start, in btrfs_extent_item_to_extent_map()
Drelocation.c956 if (objectid < btrfs_ino(entry)) in find_next_inode()
958 else if (objectid > btrfs_ino(entry)) in find_next_inode()
966 if (objectid <= btrfs_ino(entry)) { in find_next_inode()
981 objectid = btrfs_ino(entry) + 1; in find_next_inode()
1009 btrfs_ino(BTRFS_I(reloc_inode)), bytenr, 0); in get_new_location()
1100 } else if (inode && btrfs_ino(BTRFS_I(inode)) < key.objectid) { in replace_file_extents()
1104 if (inode && btrfs_ino(BTRFS_I(inode)) == key.objectid) { in replace_file_extents()
1513 ino = btrfs_ino(BTRFS_I(inode)); in invalidate_extent_cache()
Ddir-item.c123 key.objectid = btrfs_ino(dir); in btrfs_insert_dir_item()
Dioctl.c755 btrfs_ino(BTRFS_I(dir)), index, name, namelen); in create_subvol()
1109 u64 ino = btrfs_ino(BTRFS_I(inode)); in find_new_extents()
1874 } else if (btrfs_ino(BTRFS_I(src_inode)) != BTRFS_FIRST_FREE_OBJECTID) { in __btrfs_ioctl_snap_create()
1989 if (btrfs_ino(BTRFS_I(inode)) != BTRFS_FIRST_FREE_OBJECTID) in btrfs_ioctl_subvol_getflags()
2021 if (btrfs_ino(BTRFS_I(inode)) != BTRFS_FIRST_FREE_OBJECTID) { in btrfs_ioctl_subvol_setflags()
3119 if (btrfs_ino(BTRFS_I(inode)) != BTRFS_FIRST_FREE_OBJECTID) { in btrfs_ioctl_snap_destroy()
4493 if (btrfs_ino(BTRFS_I(inode)) != BTRFS_FIRST_FREE_OBJECTID) { in _btrfs_ioctl_set_received_subvol()
Dextent_io.c118 caller, btrfs_ino(BTRFS_I(inode)), isize, start, end); in __btrfs_debug_check_extent_io_range()
2862 btrfs_ino(BTRFS_I(inode)), 0); in end_bio_extent_readpage()
4720 ret = btrfs_lookup_file_extent(NULL, root, path, btrfs_ino(inode), -1, in extent_fiemap()
4735 if (found_key.objectid != btrfs_ino(inode) || in extent_fiemap()
4830 ret = btrfs_check_shared(root, btrfs_ino(inode), in extent_fiemap()
Dtransaction.c1587 btrfs_ino(BTRFS_I(parent_inode)), in create_pending_snapshot()
1681 btrfs_ino(BTRFS_I(parent_inode)), index, in create_pending_snapshot()
Dfree-space-cache.c311 if (btrfs_ino(BTRFS_I(inode)) != BTRFS_FREE_INO_OBJECTID) in io_ctl_init()
Dqgroup.c4140 btrfs_ino(inode), unode->val, unode->aux); in btrfs_qgroup_check_reserved_leak()