/fs/btrfs/ |
D | tree-checker.c | 134 u32 item_size = btrfs_item_size_nr(leaf, slot); in check_extent_data_item() 264 if (!IS_ALIGNED(btrfs_item_size_nr(leaf, slot), csumsize)) { in check_csum_item() 267 btrfs_item_size_nr(leaf, slot), csumsize); in check_csum_item() 274 prev_item_size = btrfs_item_size_nr(leaf, slot - 1); in check_csum_item() 320 u32 item_size = btrfs_item_size_nr(leaf, slot); in check_dir_item() 453 u32 item_size = btrfs_item_size_nr(leaf, slot); in check_block_group_item() 714 if (btrfs_item_size_nr(leaf, slot) < sizeof(struct btrfs_chunk)) { in check_leaf_chunk_item() 717 btrfs_item_size_nr(leaf, slot), in check_leaf_chunk_item() 729 btrfs_item_size_nr(leaf, slot)) { in check_leaf_chunk_item() 732 btrfs_item_size_nr(leaf, slot), in check_leaf_chunk_item() [all …]
|
D | uuid-tree.c | 55 item_size = btrfs_item_size_nr(eb, slot); in btrfs_uuid_tree_lookup() 128 offset += btrfs_item_size_nr(eb, slot) - sizeof(subid_le); in btrfs_uuid_tree_add() 190 item_size = btrfs_item_size_nr(eb, slot); in btrfs_uuid_tree_remove() 212 item_size = btrfs_item_size_nr(eb, slot); in btrfs_uuid_tree_remove() 291 item_size = btrfs_item_size_nr(leaf, slot); in btrfs_uuid_tree_iterate()
|
D | file-item.c | 114 csums_in_item = btrfs_item_size_nr(leaf, path->slots[0]); in btrfs_lookup_csum() 253 item_size = btrfs_item_size_nr(path->nodes[0], in __btrfs_lookup_bio_sums() 347 btrfs_item_size_nr(leaf, path->slots[0] - 1)) in btrfs_lookup_csums_range() 372 size = btrfs_item_size_nr(leaf, path->slots[0]); in btrfs_lookup_csums_range() 557 csum_end = btrfs_item_size_nr(leaf, path->slots[0]) / csum_size; in truncate_one_csum() 642 csum_end = btrfs_item_size_nr(leaf, path->slots[0]) / csum_size; in btrfs_del_csums() 780 btrfs_item_size_nr(leaf, path->slots[0])); in btrfs_csum_file_blocks() 791 item_size = btrfs_item_size_nr(leaf, path->slots[0]); in btrfs_csum_file_blocks() 849 if (csum_offset == btrfs_item_size_nr(leaf, path->slots[0]) / in btrfs_csum_file_blocks() 871 diff = diff - btrfs_item_size_nr(leaf, path->slots[0]); in btrfs_csum_file_blocks() [all …]
|
D | inode-item.c | 22 item_size = btrfs_item_size_nr(leaf, slot); in btrfs_find_name_in_backref() 48 item_size = btrfs_item_size_nr(leaf, slot); in btrfs_find_name_in_ext_backref() 144 item_size = btrfs_item_size_nr(leaf, path->slots[0]); in btrfs_del_inode_extref() 215 item_size = btrfs_item_size_nr(leaf, path->slots[0]); in btrfs_del_inode_ref() 341 old_size = btrfs_item_size_nr(path->nodes[0], path->slots[0]); in btrfs_insert_inode_ref()
|
D | dir-item.c | 275 if (data_size + btrfs_item_size_nr(leaf, slot) + in btrfs_check_dir_item_collision() 413 total_len = btrfs_item_size_nr(leaf, path->slots[0]); in btrfs_match_dir_item_name() 449 item_len = btrfs_item_size_nr(leaf, path->slots[0]); in btrfs_delete_one_dir_name()
|
D | print-tree.c | 50 u32 item_size = btrfs_item_size_nr(eb, slot); in print_extent_item() 320 btrfs_item_size_nr(l, i)); in btrfs_print_leaf()
|
D | xattr.c | 171 const u32 item_size = btrfs_item_size_nr(leaf, slot); in btrfs_setxattr() 336 item_size = btrfs_item_size_nr(leaf, slot); in btrfs_listxattr()
|
D | root-tree.c | 29 len = btrfs_item_size_nr(eb, slot); in btrfs_read_root_item() 153 old_len = btrfs_item_size_nr(l, slot); in btrfs_update_root()
|
D | tree-log.c | 364 item_size = btrfs_item_size_nr(eb, slot); in overwrite_item() 375 u32 dst_size = btrfs_item_size_nr(path->nodes[0], in overwrite_item() 469 found_size = btrfs_item_size_nr(path->nodes[0], in overwrite_item() 991 item_size = btrfs_item_size_nr(path->nodes[0], path->slots[0]); in backref_in_log() 1054 ptr_end = ptr + btrfs_item_size_nr(leaf, path->slots[0]); in __add_inode_ref() 1112 item_size = btrfs_item_size_nr(leaf, path->slots[0]); in __add_inode_ref() 1272 ref_end = ref_ptr + btrfs_item_size_nr(eb, path->slots[0]); in unlink_old_inode_refs() 1466 ref_end = ref_ptr + btrfs_item_size_nr(eb, slot); in add_inode_ref() 1659 item_size = btrfs_item_size_nr(leaf, path->slots[0]); in count_inode_extrefs() 1713 ptr_end = ptr + btrfs_item_size_nr(path->nodes[0], in count_inode_refs() [all …]
|
D | props.c | 161 total_len = btrfs_item_size_nr(leaf, slot); in iterate_object_props()
|
D | dev-replace.c | 90 item_size = btrfs_item_size_nr(eb, slot); in btrfs_init_dev_replace() 337 btrfs_item_size_nr(path->nodes[0], path->slots[0]) < sizeof(*ptr)) { in btrfs_run_dev_replace()
|
D | extent-tree.c | 210 item_size = btrfs_item_size_nr(leaf, path->slots[0]); in btrfs_lookup_extent_info() 908 item_size = btrfs_item_size_nr(leaf, path->slots[0]); in lookup_inline_extent_backref() 1049 end = (unsigned long)ei + btrfs_item_size_nr(leaf, path->slots[0]); in setup_inline_extent_backref() 1161 item_size = btrfs_item_size_nr(leaf, path->slots[0]); in update_inline_extent_backref() 1650 item_size = btrfs_item_size_nr(leaf, path->slots[0]); in run_delayed_extent_op() 2389 item_size = btrfs_item_size_nr(leaf, path->slots[0]); in check_committed_ref() 3121 item_size = btrfs_item_size_nr(leaf, extent_slot); in __btrfs_free_extent()
|
D | ctree.c | 4280 if (extend && data_size + btrfs_item_size_nr(l, slot) + in split_leaf() 4439 item_size = btrfs_item_size_nr(leaf, path->slots[0]); in setup_leaf_for_split() 4459 if (item_size != btrfs_item_size_nr(leaf, path->slots[0])) in setup_leaf_for_split() 4604 item_size = btrfs_item_size_nr(leaf, path->slots[0]); in btrfs_duplicate_item() 4644 old_size = btrfs_item_size_nr(leaf, slot); in btrfs_truncate_item() 4777 old_size = btrfs_item_size_nr(leaf, slot); in btrfs_extend_item() 5038 dsize += btrfs_item_size_nr(leaf, slot + i); in btrfs_del_items()
|
D | backref.c | 980 item_size = btrfs_item_size_nr(leaf, slot); in add_inline_refs() 1824 item_size = btrfs_item_size_nr(eb, path->slots[0]); 2188 item_size = btrfs_item_size_nr(eb, slot);
|
D | relocation.c | 636 item_size = btrfs_item_size_nr(leaf, slot); in find_inline_backref() 3502 item_size = btrfs_item_size_nr(eb, path->slots[0]); in add_tree_block() 3874 end = ptr + btrfs_item_size_nr(eb, path->slots[0]); in add_data_references() 4171 item_size = btrfs_item_size_nr(path->nodes[0], path->slots[0]); in relocate_block_group()
|
D | ref-verify.c | 438 u32 item_size = btrfs_item_size_nr(leaf, slot); in process_extent_item()
|
D | send.c | 933 total = btrfs_item_size_nr(eb, slot); in iterate_inode_ref() 3662 item_size = btrfs_item_size_nr(leaf, slot); in is_ancestor() 6695 item_size = btrfs_item_size_nr(leaf, path->slots[0]); in compare_refs() 6899 len1 = btrfs_item_size_nr(left_path->nodes[0], left_path->slots[0]); in tree_compare_item() 6900 len2 = btrfs_item_size_nr(right_path->nodes[0], right_path->slots[0]); in tree_compare_item()
|
D | ioctl.c | 2150 item_len = btrfs_item_size_nr(leaf, i); in copy_to_sk() 2622 item_len = btrfs_item_size_nr(leaf, slot); in btrfs_search_path_in_tree_user() 2826 item_len = btrfs_item_size_nr(leaf, slot) in btrfs_ioctl_get_subvol_info() 3704 size = btrfs_item_size_nr(leaf, slot); in btrfs_clone()
|
D | volumes.c | 4626 item_size = btrfs_item_size_nr(eb, slot); in btrfs_uuid_scan_kthread() 7555 item_size = btrfs_item_size_nr(eb, slot); in btrfs_init_dev_stats() 7606 btrfs_item_size_nr(path->nodes[0], path->slots[0]) < sizeof(*ptr)) { in update_dev_stat_item()
|
D | ctree.h | 1760 static inline u32 btrfs_item_size_nr(const struct extent_buffer *eb, int nr) in btrfs_item_size_nr() function
|
D | scrub.c | 769 item_size = btrfs_item_size_nr(eb, path->slots[0]); in scrub_print_warning()
|