Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
1462 u64 ino = btrfs_ino(inode); in run_delalloc_nocow()
2547 ins.objectid = btrfs_ino(inode); in insert_reserved_file_extent()
2576 ret = btrfs_alloc_reserved_file_extent(trans, root, btrfs_ino(inode), in insert_reserved_file_extent()
3015 ret = btrfs_insert_orphan_item(trans, inode->root, btrfs_ino(inode)); in btrfs_orphan_add()
3031 return btrfs_del_orphan_item(trans, inode->root, btrfs_ino(inode)); in btrfs_orphan_del()
3416 if (location.objectid != btrfs_ino(BTRFS_I(inode))) in btrfs_read_locked_inode()
3438 btrfs_ino(BTRFS_I(inode)), &first_xattr_slot); in btrfs_read_locked_inode()
3445 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()
354 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()
1147 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()
1313 const u64 parent_id = btrfs_ino(BTRFS_I(dir)); in btrfs_inode_ref_exists()
1320 key.objectid = btrfs_ino(BTRFS_I(inode)); in btrfs_inode_ref_exists()
1361 btrfs_ino(BTRFS_I(dir)), in add_link()
1489 ret = inode_in_dir(root, path, btrfs_ino(BTRFS_I(dir)), in add_inode_ref()
1490 btrfs_ino(BTRFS_I(inode)), ref_index, in add_inode_ref()
1606 u64 inode_objectid = btrfs_ino(inode); in count_inode_extrefs()
1651 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()
1461 delayed_item->key.objectid = btrfs_ino(dir); in btrfs_insert_delayed_dir_index()
1527 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()
1105 "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()
1106 u64 ino = btrfs_ino(BTRFS_I(inode)); in find_new_extents()
1977 if (btrfs_ino(BTRFS_I(inode)) != BTRFS_FIRST_FREE_OBJECTID) in btrfs_ioctl_subvol_getflags()
2009 if (btrfs_ino(BTRFS_I(inode)) != BTRFS_FIRST_FREE_OBJECTID) { in btrfs_ioctl_subvol_setflags()
3098 if (btrfs_ino(BTRFS_I(inode)) != BTRFS_FIRST_FREE_OBJECTID) { in btrfs_ioctl_snap_destroy()
4479 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()
4719 ret = btrfs_lookup_file_extent(NULL, root, path, btrfs_ino(inode), -1, in extent_fiemap()
4734 if (found_key.objectid != btrfs_ino(inode) || in extent_fiemap()
4829 ret = btrfs_check_shared(root, btrfs_ino(inode), in extent_fiemap()
Dtransaction.c1580 btrfs_ino(BTRFS_I(parent_inode)), in create_pending_snapshot()
1674 btrfs_ino(BTRFS_I(parent_inode)), index, in create_pending_snapshot()
Dqgroup.c4063 btrfs_ino(inode), unode->val, unode->aux); in btrfs_qgroup_check_reserved_leak()
Dfree-space-cache.c311 if (btrfs_ino(BTRFS_I(inode)) != BTRFS_FREE_INO_OBJECTID) in io_ctl_init()
/kernel/linux/linux-5.10/include/trace/events/
Dbtrfs.h220 __entry->ino = btrfs_ino(BTRFS_I(inode));
305 __entry->ino = btrfs_ino(inode);
394 __entry->ino = btrfs_ino(bi);
445 __entry->ino = btrfs_ino(bi);
534 __entry->ino = btrfs_ino(inode);
618 __entry->ino = btrfs_ino(BTRFS_I(inode));
669 __entry->ino = btrfs_ino(BTRFS_I(page->mapping->host));
704 __entry->ino = btrfs_ino(BTRFS_I(inode));
705 __entry->parent = btrfs_ino(BTRFS_I(d_inode(dentry->d_parent)));
1540 __entry->ino = btrfs_ino(BTRFS_I(inode));
[all …]