Home
last modified time | relevance | path

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

/Linux-v4.19/fs/btrfs/
Dbtrfs_inode.h225 static inline u64 btrfs_ino(const struct btrfs_inode *inode) in btrfs_ino() function
249 btrfs_ino(inode) != BTRFS_BTREE_INODE_OBJECTID) in btrfs_is_free_space_inode()
263 trace_btrfs_inode_mod_outstanding_extents(inode->root, btrfs_ino(inode), in btrfs_mod_outstanding_extents()
345 root->objectid, btrfs_ino(inode), in btrfs_print_data_csum_error()
350 root->objectid, btrfs_ino(inode), in btrfs_print_data_csum_error()
Dexport.c35 fid->objectid = btrfs_ino(BTRFS_I(inode)); in btrfs_encode_fh()
171 if (btrfs_ino(BTRFS_I(dir)) == BTRFS_FIRST_FREE_OBJECTID) { in btrfs_get_parent()
177 key.objectid = btrfs_ino(BTRFS_I(dir)); in btrfs_get_parent()
243 ino = btrfs_ino(BTRFS_I(inode)); in btrfs_get_name()
257 key.offset = btrfs_ino(BTRFS_I(dir)); in btrfs_get_name()
Dxattr.c37 di = btrfs_lookup_xattr(NULL, root, path, btrfs_ino(BTRFS_I(inode)), in btrfs_getxattr()
99 btrfs_ino(BTRFS_I(inode)), name, name_len, -1); in do_setxattr()
119 btrfs_ino(BTRFS_I(inode)), name, name_len, 0); in do_setxattr()
130 ret = btrfs_insert_xattr_item(trans, root, path, btrfs_ino(BTRFS_I(inode)), in do_setxattr()
267 key.objectid = btrfs_ino(BTRFS_I(inode)); in btrfs_listxattr()
Dinode.c189 key.objectid = btrfs_ino(BTRFS_I(inode)); in insert_inline_extent()
1279 u64 ino = btrfs_ino(BTRFS_I(inode)); in run_delalloc_nocow()
2218 ins.objectid = btrfs_ino(BTRFS_I(inode)); in insert_reserved_file_extent()
2260 btrfs_ino(BTRFS_I(inode)), in insert_reserved_file_extent()
2381 inum == btrfs_ino(BTRFS_I(inode))) in record_one_backref()
2650 key.objectid = btrfs_ino(BTRFS_I(inode)); in relink_extent_backref()
2827 key.objectid = btrfs_ino(BTRFS_I(inode)); in record_old_file_extents()
2862 if (key.objectid != btrfs_ino(BTRFS_I(inode))) in record_old_file_extents()
3298 ret = btrfs_insert_orphan_item(trans, inode->root, btrfs_ino(inode)); in btrfs_orphan_add()
3314 return btrfs_del_orphan_item(trans, inode->root, btrfs_ino(inode)); in btrfs_orphan_del()
[all …]
Dtree-log.c617 btrfs_ino(BTRFS_I(inode)), start, 0); in replay_one_extent()
1134 di = btrfs_lookup_dir_index_item(trans, root, path, btrfs_ino(dir), in __add_inode_ref()
1144 di = btrfs_lookup_dir_item(trans, root, path, btrfs_ino(dir), in __add_inode_ref()
1295 const u64 parent_id = btrfs_ino(BTRFS_I(dir)); in btrfs_inode_ref_exists()
1302 key.objectid = btrfs_ino(BTRFS_I(inode)); in btrfs_inode_ref_exists()
1412 if (!inode_in_dir(root, path, btrfs_ino(BTRFS_I(dir)), in add_inode_ref()
1413 btrfs_ino(BTRFS_I(inode)), ref_index, in add_inode_ref()
1526 u64 inode_objectid = btrfs_ino(inode); in count_inode_extrefs()
1571 u64 ino = btrfs_ino(inode); in count_inode_refs()
1636 u64 ino = btrfs_ino(BTRFS_I(inode)); in fixup_inode_link_count()
[all …]
Dprops.c269 handler->xattr_name, btrfs_ino(BTRFS_I(inode)), in inode_prop_iterator()
278 u64 ino = btrfs_ino(BTRFS_I(inode)); in btrfs_load_inode_props()
Ddelayed-inode.c68 u64 ino = btrfs_ino(btrfs_inode); in btrfs_get_delayed_node()
125 u64 ino = btrfs_ino(btrfs_inode); in btrfs_get_or_create_delayed_node()
642 btrfs_ino(inode), in btrfs_delayed_inode_reserve_metadata()
653 btrfs_ino(inode), num_bytes, 1); in btrfs_delayed_inode_reserve_metadata()
1441 delayed_item->key.objectid = btrfs_ino(dir); in btrfs_insert_delayed_dir_index()
1507 item_key.objectid = btrfs_ino(dir); in btrfs_delete_delayed_dir_index()
Dioctl.c702 btrfs_ino(BTRFS_I(dir)), index, name, namelen); in create_subvol()
1040 u64 ino = btrfs_ino(BTRFS_I(inode)); in find_new_extents()
1869 if (btrfs_ino(BTRFS_I(inode)) != BTRFS_FIRST_FREE_OBJECTID) in btrfs_ioctl_subvol_getflags()
1901 if (btrfs_ino(BTRFS_I(inode)) != BTRFS_FIRST_FREE_OBJECTID) { in btrfs_ioctl_subvol_setflags()
2899 if (btrfs_ino(BTRFS_I(inode)) != BTRFS_FIRST_FREE_OBJECTID) { in btrfs_ioctl_snap_destroy()
3783 key.objectid = btrfs_ino(BTRFS_I(dst)); in clone_copy_inline_extent()
3798 if (key.objectid == btrfs_ino(BTRFS_I(dst)) && in clone_copy_inline_extent()
3832 if (key.objectid == btrfs_ino(BTRFS_I(dst)) && in clone_copy_inline_extent()
3923 key.objectid = btrfs_ino(BTRFS_I(src)); in btrfs_clone()
3966 key.objectid != btrfs_ino(BTRFS_I(src))) in btrfs_clone()
[all …]
Dfile.c156 defrag->ino = btrfs_ino(inode); in btrfs_add_inode_defrag()
751 u64 ino = btrfs_ino(BTRFS_I(inode)); in __btrfs_drop_extents()
1150 u64 ino = btrfs_ino(inode); in btrfs_mark_extent_written()
2204 if (key.objectid != btrfs_ino(inode) || in hole_mergeable()
2239 key.objectid = btrfs_ino(inode); in fill_holes()
2287 ret = btrfs_insert_file_extent(trans, root, btrfs_ino(inode), in fill_holes()
Ddir-item.c123 key.objectid = btrfs_ino(dir); in btrfs_insert_dir_item()
Drelocation.c1506 if (objectid < btrfs_ino(entry)) in find_next_inode()
1508 else if (objectid > btrfs_ino(entry)) in find_next_inode()
1516 if (objectid <= btrfs_ino(entry)) { in find_next_inode()
1531 objectid = btrfs_ino(entry) + 1; in find_next_inode()
1568 btrfs_ino(BTRFS_I(reloc_inode)), bytenr, 0); in get_new_location()
1656 } else if (inode && btrfs_ino(BTRFS_I(inode)) < key.objectid) { in replace_file_extents()
1660 if (inode && btrfs_ino(BTRFS_I(inode)) == key.objectid) { in replace_file_extents()
2053 ino = btrfs_ino(BTRFS_I(inode)); in invalidate_extent_cache()
Dfile-item.c244 btrfs_ino(BTRFS_I(inode)), offset); in __btrfs_lookup_bio_sums()
992 "root %llu", type, btrfs_ino(inode), extent_start, in btrfs_extent_item_to_extent_map()
Dtransaction.c1484 btrfs_ino(BTRFS_I(parent_inode)), in create_pending_snapshot()
1578 btrfs_ino(BTRFS_I(parent_inode)), index, in create_pending_snapshot()
Dextent_io.c2558 btrfs_ino(BTRFS_I(inode)), 0); in end_bio_extent_readpage()
4457 btrfs_ino(BTRFS_I(inode)), -1, 0); in extent_fiemap()
4472 if (found_key.objectid != btrfs_ino(BTRFS_I(inode)) || in extent_fiemap()
4568 btrfs_ino(BTRFS_I(inode)), in extent_fiemap()
Dfree-space-cache.c296 if (btrfs_ino(BTRFS_I(inode)) != BTRFS_FREE_INO_OBJECTID) in io_ctl_init()
Dextent-tree.c5634 btrfs_ino(inode), num_bytes, 1); in btrfs_inode_rsv_refill()
5673 btrfs_ino(inode), released, 0); in btrfs_inode_rsv_release()
/Linux-v4.19/include/trace/events/
Dbtrfs.h146 __entry->ino = btrfs_ino(BTRFS_I(inode));
231 __entry->ino = btrfs_ino(inode);
320 __entry->ino = btrfs_ino(bi);
371 __entry->ino = btrfs_ino(bi);
461 __entry->ino = btrfs_ino(BTRFS_I(inode));
546 __entry->ino = btrfs_ino(BTRFS_I(inode));
597 __entry->ino = btrfs_ino(BTRFS_I(page->mapping->host));
632 __entry->ino = btrfs_ino(BTRFS_I(inode));
633 __entry->parent = btrfs_ino(BTRFS_I(d_inode(dentry->d_parent)));
1481 __entry->ino = btrfs_ino(BTRFS_I(inode));