Home
last modified time | relevance | path

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

/linux-6.1.9/fs/btrfs/
Dbtrfs_inode.h279 static inline u64 btrfs_ino(const struct btrfs_inode *inode) in btrfs_ino() function
291 static inline u64 btrfs_ino(const struct btrfs_inode *inode) in btrfs_ino() function
311 return btrfs_ino(BTRFS_I(inode)) != BTRFS_BTREE_INODE_OBJECTID; in is_data_inode()
321 trace_btrfs_inode_mod_outstanding_extents(inode->root, btrfs_ino(inode), in btrfs_mod_outstanding_extents()
424 root->root_key.objectid, btrfs_ino(inode), in btrfs_print_data_csum_error()
432 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()
233 key.offset = btrfs_ino(BTRFS_I(dir)); in btrfs_get_name()
Dverity.c128 key.objectid = btrfs_ino(inode); in drop_verity_items()
147 if (key.objectid != btrfs_ino(inode) || key.type != key_type) in drop_verity_items()
236 key.objectid = btrfs_ino(inode); in write_key_bytes()
315 key.objectid = btrfs_ino(inode); in read_key_bytes()
333 if (key.objectid != btrfs_ino(inode) || key.type != key_type) in read_key_bytes()
435 ret = btrfs_del_orphan_item(trans, root, btrfs_ino(inode)); in del_orphan()
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()
289 key.objectid = btrfs_ino(BTRFS_I(inode)); in btrfs_listxattr()
Dinode.c309 key.objectid = btrfs_ino(inode); in insert_inline_extent()
535 btrfs_ino(inode)); in inode_need_compress()
1100 btrfs_ino(inode), extent_start, ram_size, ret); in submit_compressed_extents()
1850 ret = btrfs_cross_ref_exist(root, btrfs_ino(inode), in can_nocow_file_extent()
1915 u64 ino = btrfs_ino(inode); in run_delalloc_nocow()
3088 ins.objectid = btrfs_ino(inode); in insert_reserved_file_extent()
3133 ret = btrfs_alloc_reserved_file_extent(trans, root, btrfs_ino(inode), in insert_reserved_file_extent()
3650 ret = btrfs_insert_orphan_item(trans, inode->root, btrfs_ino(inode)); in btrfs_orphan_add()
3666 return btrfs_del_orphan_item(trans, inode->root, btrfs_ino(inode)); in btrfs_orphan_del()
4065 if (location.objectid != btrfs_ino(BTRFS_I(inode))) in btrfs_read_locked_inode()
[all …]
Dtree-log.c678 btrfs_ino(BTRFS_I(inode)), start, 0); in replay_one_extent()
1207 di = btrfs_lookup_dir_index_item(trans, root, path, btrfs_ino(dir), in __add_inode_ref()
1219 di = btrfs_lookup_dir_item(trans, root, path, btrfs_ino(dir), in __add_inode_ref()
1447 ret = inode_in_dir(root, path, btrfs_ino(BTRFS_I(dir)), in add_inode_ref()
1448 btrfs_ino(BTRFS_I(inode)), ref_index, in add_inode_ref()
1522 u64 inode_objectid = btrfs_ino(inode); in count_inode_extrefs()
1567 u64 ino = btrfs_ino(inode); in count_inode_refs()
1632 u64 ino = btrfs_ino(BTRFS_I(inode)); in fixup_inode_link_count()
3380 key.objectid = btrfs_ino(inode); in inode_logged()
3519 ret = del_logged_dentry(trans, root->log_root, path, btrfs_ino(dir), in btrfs_del_dir_entries_in_log()
[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()
362 key.objectid = btrfs_ino(BTRFS_I(src)); in btrfs_clone()
409 key.objectid != btrfs_ino(BTRFS_I(src))) in btrfs_clone()
456 new_key.objectid = btrfs_ino(BTRFS_I(inode)); in btrfs_clone()
Ddelalloc-space.c232 btrfs_ino(inode), released, 0); in btrfs_inode_rsv_release()
369 btrfs_ino(inode), meta_reserve, 1); in btrfs_delalloc_reserve_metadata()
Dprops.c263 handler->xattr_name, btrfs_ino(BTRFS_I(inode)), in inode_prop_iterator()
272 u64 ino = btrfs_ino(BTRFS_I(inode)); in btrfs_load_inode_props()
Dfile.c163 defrag->ino = btrfs_ino(inode); in btrfs_add_inode_defrag()
526 u64 ino = btrfs_ino(inode); in btrfs_drop_extents()
931 u64 ino = btrfs_ino(inode); in btrfs_mark_extent_written()
2355 if (key.objectid != btrfs_ino(inode) || in hole_mergeable()
2389 key.objectid = btrfs_ino(inode); in fill_holes()
2439 ret = btrfs_insert_hole_extent(trans, root, btrfs_ino(inode), offset, in fill_holes()
2568 key.objectid = btrfs_ino(inode); in btrfs_insert_replace_extent()
2607 btrfs_ino(inode), in btrfs_insert_replace_extent()
2619 btrfs_ino(inode), ref_offset, 0, false); in btrfs_insert_replace_extent()
3780 const u64 ino = btrfs_ino(inode); in find_desired_extent()
Drelocation.c967 if (objectid < btrfs_ino(entry)) in find_next_inode()
969 else if (objectid > btrfs_ino(entry)) in find_next_inode()
977 if (objectid <= btrfs_ino(entry)) { in find_next_inode()
992 objectid = btrfs_ino(entry) + 1; in find_next_inode()
1020 btrfs_ino(BTRFS_I(reloc_inode)), bytenr, 0); in get_new_location()
1111 } else if (inode && btrfs_ino(BTRFS_I(inode)) < key.objectid) { in replace_file_extents()
1115 if (inode && btrfs_ino(BTRFS_I(inode)) == key.objectid) { in replace_file_extents()
1528 ino = btrfs_ino(BTRFS_I(inode)); in invalidate_extent_cache()
Ddir-item.c121 key.objectid = btrfs_ino(dir); in btrfs_insert_dir_item()
Dfile-item.c692 btrfs_ino(inode), offset); in btrfs_csum_one_bio()
1271 "root %llu", type, btrfs_ino(inode), extent_start, in btrfs_extent_item_to_extent_map()
Dextent_io.c676 u64 ino = btrfs_ino(inode); in btrfs_clean_io_failure()
3626 if (key.objectid != btrfs_ino(inode) || key.type != BTRFS_EXTENT_DATA_KEY) in fiemap_next_leaf_item()
3650 const u64 ino = btrfs_ino(inode); in fiemap_search_slot()
3724 const u64 ino = btrfs_ino(inode); in fiemap_process_hole()
3838 const u64 ino = btrfs_ino(inode); in fiemap_find_last_extent_offset()
3913 const u64 ino = btrfs_ino(inode); in extent_fiemap()
Ddelayed-inode.c59 u64 ino = btrfs_ino(btrfs_inode); in btrfs_get_delayed_node()
116 u64 ino = btrfs_ino(btrfs_inode); in btrfs_get_or_create_delayed_node()
Dioctl.c1065 u64 ino = btrfs_ino(inode); in defrag_get_extent()
2291 if (btrfs_ino(BTRFS_I(inode)) != BTRFS_FIRST_FREE_OBJECTID) in btrfs_ioctl_subvol_getflags()
2323 if (btrfs_ino(BTRFS_I(inode)) != BTRFS_FIRST_FREE_OBJECTID) { in btrfs_ioctl_subvol_setflags()
3417 if (btrfs_ino(BTRFS_I(inode)) != BTRFS_FIRST_FREE_OBJECTID) { in btrfs_ioctl_snap_destroy()
4821 if (btrfs_ino(BTRFS_I(inode)) != BTRFS_FIRST_FREE_OBJECTID) { in _btrfs_ioctl_set_received_subvol()
Dtransaction.c1676 btrfs_ino(BTRFS_I(parent_inode)), in create_pending_snapshot()
1772 btrfs_ino(BTRFS_I(parent_inode)), index, in create_pending_snapshot()
Dordered-data.c389 btrfs_ino(inode), in btrfs_mark_ordered_io_finished()
Dextent-io-tree.c70 caller, btrfs_ino(BTRFS_I(inode)), isize, start, end); in __btrfs_debug_check_extent_io_range()
Dqgroup.c4138 btrfs_ino(inode), unode->val, unode->aux); in btrfs_qgroup_check_reserved_leak()
Dfree-space-cache.c312 .ino = btrfs_ino(BTRFS_I(vfs_inode)), in btrfs_truncate_free_space_cache()
/linux-6.1.9/include/trace/events/
Dbtrfs.h222 __entry->ino = btrfs_ino(BTRFS_I(inode));
307 __entry->ino = btrfs_ino(inode);
396 __entry->ino = btrfs_ino(bi);
447 __entry->ino = btrfs_ino(bi);
537 __entry->ino = btrfs_ino(inode);
685 __entry->ino = btrfs_ino(BTRFS_I(inode));
736 __entry->ino = btrfs_ino(inode);
767 __entry->ino = btrfs_ino(BTRFS_I(inode));
768 __entry->parent = btrfs_ino(BTRFS_I(d_inode(dentry->d_parent)));
1599 __entry->ino = btrfs_ino(BTRFS_I(inode));
[all …]