Home
last modified time | relevance | path

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

/openbmc/linux/fs/btrfs/
H A Dexport.c37 fid->objectid = btrfs_ino(BTRFS_I(inode)); in btrfs_encode_fh()
163 if (btrfs_ino(BTRFS_I(dir)) == BTRFS_FIRST_FREE_OBJECTID) { in btrfs_get_parent()
169 key.objectid = btrfs_ino(BTRFS_I(dir)); in btrfs_get_parent()
240 ino = btrfs_ino(BTRFS_I(inode)); in btrfs_get_name()
253 key.offset = btrfs_ino(BTRFS_I(dir)); in btrfs_get_name()
H A Dverity.c134 key.objectid = btrfs_ino(inode); in drop_verity_items()
153 if (key.objectid != btrfs_ino(inode) || key.type != key_type) in drop_verity_items()
242 key.objectid = btrfs_ino(inode); in write_key_bytes()
321 key.objectid = btrfs_ino(inode); in read_key_bytes()
339 if (key.objectid != btrfs_ino(inode) || key.type != key_type) in read_key_bytes()
441 ret = btrfs_del_orphan_item(trans, root, btrfs_ino(inode)); in del_orphan()
H A Dxattr.c42 di = btrfs_lookup_xattr(NULL, root, path, btrfs_ino(BTRFS_I(inode)), in btrfs_getxattr()
105 btrfs_ino(BTRFS_I(inode)), name, name_len, -1); in btrfs_setxattr()
125 btrfs_ino(BTRFS_I(inode)), name, name_len, 0); in btrfs_setxattr()
136 ret = btrfs_insert_xattr_item(trans, root, path, btrfs_ino(BTRFS_I(inode)), in btrfs_setxattr()
293 key.objectid = btrfs_ino(BTRFS_I(inode)); in btrfs_listxattr()
H A Dbtrfs_inode.h297 static inline u64 btrfs_ino(const struct btrfs_inode *inode) in btrfs_ino() function
309 static inline u64 btrfs_ino(const struct btrfs_inode *inode) in btrfs_ino() function
329 return btrfs_ino(BTRFS_I(inode)) != BTRFS_BTREE_INODE_OBJECTID; in is_data_inode()
339 trace_btrfs_inode_mod_outstanding_extents(inode->root, btrfs_ino(inode), in btrfs_mod_outstanding_extents()
H A Dinode.c249 inode->root->root_key.objectid, btrfs_ino(inode), file_off, in print_data_reloc_error()
260 btrfs_ino(inode), file_off, logical, in print_data_reloc_error()
334 root->root_key.objectid, btrfs_ino(inode), in btrfs_print_data_csum_error()
342 root->root_key.objectid, btrfs_ino(inode), in btrfs_print_data_csum_error()
530 key.objectid = btrfs_ino(inode); in insert_inline_extent()
757 btrfs_ino(inode)); in inode_need_compress()
1210 root->root_key.objectid, btrfs_ino(inode), start, in submit_one_async_extent()
1912 ret = btrfs_cross_ref_exist(root, btrfs_ino(inode), in can_nocow_file_extent()
1975 u64 ino = btrfs_ino(inode); in run_delalloc_nocow()
2902 ins.objectid = btrfs_ino(inode); in insert_reserved_file_extent()
[all …]
H A Dtree-log.c696 btrfs_ino(BTRFS_I(inode)), start, 0); in replay_one_extent()
1209 di = btrfs_lookup_dir_index_item(trans, root, path, btrfs_ino(dir), in __add_inode_ref()
1221 di = btrfs_lookup_dir_item(trans, root, path, btrfs_ino(dir), name, 0); in __add_inode_ref()
1439 ret = inode_in_dir(root, path, btrfs_ino(BTRFS_I(dir)), in add_inode_ref()
1440 btrfs_ino(BTRFS_I(inode)), ref_index, &name); in add_inode_ref()
1513 u64 inode_objectid = btrfs_ino(inode); in count_inode_extrefs()
1558 u64 ino = btrfs_ino(inode); in count_inode_refs()
1623 u64 ino = btrfs_ino(BTRFS_I(inode)); in fixup_inode_link_count()
3328 key.objectid = btrfs_ino(inode); in inode_logged()
3467 ret = del_logged_dentry(trans, root->log_root, path, btrfs_ino(dir), in btrfs_del_dir_entries_in_log()
[all …]
H A Dreflink.c193 key.objectid = btrfs_ino(BTRFS_I(dst)); in clone_copy_inline_extent()
208 if (key.objectid == btrfs_ino(BTRFS_I(dst)) && in clone_copy_inline_extent()
367 key.objectid = btrfs_ino(BTRFS_I(src)); in btrfs_clone()
414 key.objectid != btrfs_ino(BTRFS_I(src))) in btrfs_clone()
461 new_key.objectid = btrfs_ino(BTRFS_I(inode)); in btrfs_clone()
H A Ddelalloc-space.c234 btrfs_ino(inode), released, 0); in btrfs_inode_rsv_release()
376 btrfs_ino(inode), meta_reserve, 1); in btrfs_delalloc_reserve_metadata()
H A Dprops.c268 handler->xattr_name, btrfs_ino(BTRFS_I(inode)), in inode_prop_iterator()
277 u64 ino = btrfs_ino(BTRFS_I(inode)); in btrfs_load_inode_props()
H A Dfile.c210 u64 ino = btrfs_ino(inode); in btrfs_drop_extents()
615 u64 ino = btrfs_ino(inode); in btrfs_mark_extent_written()
2070 if (key.objectid != btrfs_ino(inode) || in hole_mergeable()
2104 key.objectid = btrfs_ino(inode); in fill_holes()
2154 ret = btrfs_insert_hole_extent(trans, root, btrfs_ino(inode), offset, in fill_holes()
2283 key.objectid = btrfs_ino(inode); in btrfs_insert_replace_extent()
2322 btrfs_ino(inode), in btrfs_insert_replace_extent()
2334 btrfs_ino(inode), ref_offset, 0, false); in btrfs_insert_replace_extent()
3487 const u64 ino = btrfs_ino(inode); in find_desired_extent()
H A Drelocation.c909 if (objectid < btrfs_ino(entry)) in find_next_inode()
911 else if (objectid > btrfs_ino(entry)) in find_next_inode()
919 if (objectid <= btrfs_ino(entry)) { in find_next_inode()
934 objectid = btrfs_ino(entry) + 1; in find_next_inode()
962 btrfs_ino(BTRFS_I(reloc_inode)), bytenr, 0); in get_new_location()
1053 } else if (inode && btrfs_ino(BTRFS_I(inode)) < key.objectid) { in replace_file_extents()
1057 if (inode && btrfs_ino(BTRFS_I(inode)) == key.objectid) { in replace_file_extents()
1475 ino = btrfs_ino(BTRFS_I(inode)); in invalidate_extent_cache()
H A Ddir-item.c124 key.objectid = btrfs_ino(dir); in btrfs_insert_dir_item()
H A Ddefrag.c149 defrag->ino = btrfs_ino(inode); in btrfs_add_inode_defrag()
490 u64 ino = btrfs_ino(inode); in defrag_get_extent()
H A Dioctl.c1317 } else if (btrfs_ino(BTRFS_I(src_inode)) != BTRFS_FIRST_FREE_OBJECTID) { in __btrfs_ioctl_snap_create()
1434 if (btrfs_ino(BTRFS_I(inode)) != BTRFS_FIRST_FREE_OBJECTID) in btrfs_ioctl_subvol_getflags()
1466 if (btrfs_ino(BTRFS_I(inode)) != BTRFS_FIRST_FREE_OBJECTID) { in btrfs_ioctl_subvol_setflags()
2566 if (btrfs_ino(BTRFS_I(inode)) != BTRFS_FIRST_FREE_OBJECTID) { in btrfs_ioctl_snap_destroy()
3994 if (btrfs_ino(BTRFS_I(inode)) != BTRFS_FIRST_FREE_OBJECTID) { in _btrfs_ioctl_set_received_subvol()
H A Ddelayed-inode.c64 u64 ino = btrfs_ino(btrfs_inode); in btrfs_get_delayed_node()
121 u64 ino = btrfs_ino(btrfs_inode); in btrfs_get_or_create_delayed_node()
H A Dbio.c215 btrfs_repair_io_failure(fs_info, btrfs_ino(inode), in btrfs_end_repair_bio()
H A Dextent_io.c2718 if (key.objectid != btrfs_ino(inode) || key.type != BTRFS_EXTENT_DATA_KEY) in fiemap_next_leaf_item()
2742 const u64 ino = btrfs_ino(inode); in fiemap_search_slot()
2928 const u64 ino = btrfs_ino(inode); in fiemap_find_last_extent_offset()
3003 const u64 ino = btrfs_ino(inode); in extent_fiemap()
H A Dtransaction.c1722 btrfs_ino(BTRFS_I(parent_inode)), in create_pending_snapshot()
1817 btrfs_ino(BTRFS_I(parent_inode)), index, in create_pending_snapshot()
H A Dordered-data.c336 inode->root->root_key.objectid, btrfs_ino(inode), in can_finish_ordered_extent()
H A Dfile-item.c1324 "root %llu", type, btrfs_ino(inode), extent_start, in btrfs_extent_item_to_extent_map()
H A Dextent-io-tree.c71 caller, btrfs_ino(inode), isize, start, end); in __btrfs_debug_check_extent_io_range()
H A Dbackref.c1868 .inum = btrfs_ino(inode), in btrfs_is_data_extent_shared()
H A Dqgroup.c4192 btrfs_ino(inode), unode->val, unode->aux); in btrfs_qgroup_check_reserved_leak()
H A Dfree-space-cache.c302 .ino = btrfs_ino(BTRFS_I(vfs_inode)), in btrfs_truncate_free_space_cache()
/openbmc/linux/include/trace/events/
H A 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);
679 __entry->ino = btrfs_ino(inode);
714 __entry->ino = btrfs_ino(BTRFS_I(inode));
765 __entry->ino = btrfs_ino(inode);
796 __entry->ino = btrfs_ino(BTRFS_I(inode));
797 __entry->parent = btrfs_ino(BTRFS_I(d_inode(dentry->d_parent)));
[all …]