Home
last modified time | relevance | path

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

/Linux-v5.4/fs/btrfs/
Dbtrfs_inode.h224 static inline u64 btrfs_ino(const struct btrfs_inode *inode) in btrfs_ino() function
248 btrfs_ino(inode) != BTRFS_BTREE_INODE_OBJECTID) in btrfs_is_free_space_inode()
257 return btrfs_ino(BTRFS_I(inode)) != BTRFS_BTREE_INODE_OBJECTID; in is_data_inode()
267 trace_btrfs_inode_mod_outstanding_extents(inode->root, btrfs_ino(inode), in btrfs_mod_outstanding_extents()
355 root->root_key.objectid, btrfs_ino(inode), in btrfs_print_data_csum_error()
363 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()
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.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()
263 key.objectid = btrfs_ino(BTRFS_I(inode)); in btrfs_listxattr()
Dinode.c194 key.objectid = btrfs_ino(BTRFS_I(inode)); in insert_inline_extent()
424 btrfs_ino(BTRFS_I(inode))); in inode_need_compress()
1331 u64 ino = btrfs_ino(BTRFS_I(inode)); in run_delalloc_nocow()
2306 ins.objectid = btrfs_ino(BTRFS_I(inode)); in insert_reserved_file_extent()
2348 btrfs_ino(BTRFS_I(inode)), in insert_reserved_file_extent()
2469 inum == btrfs_ino(BTRFS_I(inode))) in record_one_backref()
2739 key.objectid = btrfs_ino(BTRFS_I(inode)); in relink_extent_backref()
2914 key.objectid = btrfs_ino(BTRFS_I(inode)); in record_old_file_extents()
2949 if (key.objectid != btrfs_ino(BTRFS_I(inode))) in record_old_file_extents()
3438 ret = btrfs_insert_orphan_item(trans, inode->root, btrfs_ino(inode)); in btrfs_orphan_add()
[all …]
Dtree-log.c632 btrfs_ino(BTRFS_I(inode)), start, 0); in replay_one_extent()
1154 di = btrfs_lookup_dir_index_item(trans, root, path, btrfs_ino(dir), in __add_inode_ref()
1164 di = btrfs_lookup_dir_item(trans, root, path, btrfs_ino(dir), in __add_inode_ref()
1315 const u64 parent_id = btrfs_ino(BTRFS_I(dir)); in btrfs_inode_ref_exists()
1322 key.objectid = btrfs_ino(BTRFS_I(inode)); in btrfs_inode_ref_exists()
1363 btrfs_ino(BTRFS_I(dir)), in add_link()
1492 if (!inode_in_dir(root, path, btrfs_ino(BTRFS_I(dir)), in add_inode_ref()
1493 btrfs_ino(BTRFS_I(inode)), ref_index, in add_inode_ref()
1605 u64 inode_objectid = btrfs_ino(inode); in count_inode_extrefs()
1650 u64 ino = btrfs_ino(inode); in count_inode_refs()
[all …]
Ddelalloc-space.c235 btrfs_ino(inode), released, 0); in btrfs_inode_rsv_release()
372 btrfs_ino(inode), meta_reserve, 1); in btrfs_delalloc_reserve_metadata()
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.c69 u64 ino = btrfs_ino(btrfs_inode); in btrfs_get_delayed_node()
126 u64 ino = btrfs_ino(btrfs_inode); in btrfs_get_or_create_delayed_node()
649 btrfs_ino(inode), in btrfs_delayed_inode_reserve_metadata()
660 btrfs_ino(inode), num_bytes, 1); in btrfs_delayed_inode_reserve_metadata()
1444 delayed_item->key.objectid = btrfs_ino(dir); in btrfs_insert_delayed_dir_index()
1510 item_key.objectid = btrfs_ino(dir); in btrfs_delete_delayed_dir_index()
Dfile.c157 defrag->ino = btrfs_ino(inode); in btrfs_add_inode_defrag()
761 u64 ino = btrfs_ino(BTRFS_I(inode)); in __btrfs_drop_extents()
1167 u64 ino = btrfs_ino(inode); in btrfs_mark_extent_written()
2258 if (key.objectid != btrfs_ino(inode) || in hole_mergeable()
2293 key.objectid = btrfs_ino(inode); in fill_holes()
2341 ret = btrfs_insert_file_extent(trans, root, btrfs_ino(inode), in fill_holes()
2474 key.objectid = btrfs_ino(BTRFS_I(inode)); in btrfs_insert_clone_extent()
2502 btrfs_ino(BTRFS_I(inode)), ref_offset); in btrfs_insert_clone_extent()
Dioctl.c711 btrfs_ino(BTRFS_I(dir)), index, name, namelen); in create_subvol()
1055 u64 ino = btrfs_ino(BTRFS_I(inode)); in find_new_extents()
1892 if (btrfs_ino(BTRFS_I(inode)) != BTRFS_FIRST_FREE_OBJECTID) in btrfs_ioctl_subvol_getflags()
1924 if (btrfs_ino(BTRFS_I(inode)) != BTRFS_FIRST_FREE_OBJECTID) { in btrfs_ioctl_subvol_setflags()
2922 if (btrfs_ino(BTRFS_I(inode)) != BTRFS_FIRST_FREE_OBJECTID) { in btrfs_ioctl_snap_destroy()
3377 key.objectid = btrfs_ino(BTRFS_I(dst)); in clone_copy_inline_extent()
3392 if (key.objectid == btrfs_ino(BTRFS_I(dst)) && in clone_copy_inline_extent()
3426 if (key.objectid == btrfs_ino(BTRFS_I(dst)) && in clone_copy_inline_extent()
3518 key.objectid = btrfs_ino(BTRFS_I(src)); in btrfs_clone()
3569 key.objectid != btrfs_ino(BTRFS_I(src))) in btrfs_clone()
[all …]
Ddir-item.c123 key.objectid = btrfs_ino(dir); in btrfs_insert_dir_item()
Drelocation.c1528 if (objectid < btrfs_ino(entry)) in find_next_inode()
1530 else if (objectid > btrfs_ino(entry)) in find_next_inode()
1538 if (objectid <= btrfs_ino(entry)) { in find_next_inode()
1553 objectid = btrfs_ino(entry) + 1; in find_next_inode()
1590 btrfs_ino(BTRFS_I(reloc_inode)), bytenr, 0); in get_new_location()
1680 } else if (inode && btrfs_ino(BTRFS_I(inode)) < key.objectid) { in replace_file_extents()
1684 if (inode && btrfs_ino(BTRFS_I(inode)) == key.objectid) { in replace_file_extents()
2091 ino = btrfs_ino(BTRFS_I(inode)); in invalidate_extent_cache()
Dfile-item.c243 btrfs_ino(BTRFS_I(inode)), offset); in __btrfs_lookup_bio_sums()
1005 "root %llu", type, btrfs_ino(inode), extent_start, in btrfs_extent_item_to_extent_map()
Dextent_io.c102 caller, btrfs_ino(BTRFS_I(inode)), isize, start, end); in __btrfs_debug_check_extent_io_range()
2724 bool data_inode = btrfs_ino(BTRFS_I(inode)) in end_bio_extent_readpage()
2765 btrfs_ino(BTRFS_I(inode)), 0); in end_bio_extent_readpage()
4640 btrfs_ino(BTRFS_I(inode)), -1, 0); in extent_fiemap()
4654 if (found_key.objectid != btrfs_ino(BTRFS_I(inode)) || in extent_fiemap()
4750 btrfs_ino(BTRFS_I(inode)), in extent_fiemap()
Dtransaction.c1468 btrfs_ino(BTRFS_I(parent_inode)), in create_pending_snapshot()
1562 btrfs_ino(BTRFS_I(parent_inode)), index, in create_pending_snapshot()
Dfree-space-cache.c308 if (btrfs_ino(BTRFS_I(inode)) != BTRFS_FREE_INO_OBJECTID) in io_ctl_init()
/Linux-v5.4/include/trace/events/
Dbtrfs.h182 __entry->ino = btrfs_ino(BTRFS_I(inode));
267 __entry->ino = btrfs_ino(inode);
356 __entry->ino = btrfs_ino(bi);
407 __entry->ino = btrfs_ino(bi);
497 __entry->ino = btrfs_ino(BTRFS_I(inode));
582 __entry->ino = btrfs_ino(BTRFS_I(inode));
633 __entry->ino = btrfs_ino(BTRFS_I(page->mapping->host));
668 __entry->ino = btrfs_ino(BTRFS_I(inode));
669 __entry->parent = btrfs_ino(BTRFS_I(d_inode(dentry->d_parent)));
1522 __entry->ino = btrfs_ino(BTRFS_I(inode));
[all …]