Home
last modified time | relevance | path

Searched refs:btrfs_item_ptr_offset (Results 1 – 21 of 21) sorted by relevance

/linux/fs/btrfs/tests/
H A Dextent-buffer-tests.c69 write_extent_buffer(eb, value, btrfs_item_ptr_offset(eb, 0), in test_btrfs_split_item()
103 read_extent_buffer(eb, buf, btrfs_item_ptr_offset(eb, 0), in test_btrfs_split_item()
127 read_extent_buffer(eb, buf, btrfs_item_ptr_offset(eb, 1), in test_btrfs_split_item()
158 read_extent_buffer(eb, buf, btrfs_item_ptr_offset(eb, 0), in test_btrfs_split_item()
181 read_extent_buffer(eb, buf, btrfs_item_ptr_offset(eb, 1), in test_btrfs_split_item()
204 read_extent_buffer(eb, buf, btrfs_item_ptr_offset(eb, 2), in test_btrfs_split_item()
/linux/fs/btrfs/
H A Duuid-tree.c54 offset = btrfs_item_ptr_offset(eb, slot); in btrfs_uuid_tree_lookup()
110 offset = btrfs_item_ptr_offset(eb, slot); in btrfs_uuid_tree_add()
119 offset = btrfs_item_ptr_offset(eb, slot); in btrfs_uuid_tree_add()
169 offset = btrfs_item_ptr_offset(eb, slot); in btrfs_uuid_tree_remove()
195 move_len = item_size - (move_src - btrfs_item_ptr_offset(eb, slot)); in btrfs_uuid_tree_remove()
337 offset = btrfs_item_ptr_offset(leaf, slot); in btrfs_uuid_tree_iterate()
444 btrfs_item_ptr_offset(eb, slot), in btrfs_uuid_scan_kthread()
H A Droot-tree.c33 read_extent_buffer(eb, item, btrfs_item_ptr_offset(eb, slot), in btrfs_read_root_item()
159 ptr = btrfs_item_ptr_offset(l, slot); in btrfs_update_root()
190 ptr = btrfs_item_ptr_offset(l, slot); in btrfs_update_root()
H A Dinode-item.c29 ptr = btrfs_item_ptr_offset(leaf, slot); in btrfs_find_name_in_backref()
56 ptr = btrfs_item_ptr_offset(leaf, slot); in btrfs_find_name_in_ext_backref()
156 item_start = btrfs_item_ptr_offset(leaf, path->slots[0]); in btrfs_del_inode_extref()
217 item_start = btrfs_item_ptr_offset(leaf, path->slots[0]); in btrfs_del_inode_ref()
H A Dtree-checker.c715 read_extent_buffer(leaf, &bgi, btrfs_item_ptr_offset(leaf, slot), in check_block_group_item()
802 if (btrfs_item_ptr_offset(leaf, i) == in chunk_err()
1243 read_extent_buffer(leaf, &ri, btrfs_item_ptr_offset(leaf, slot), in check_root_item()
1442 end = item_size + btrfs_item_ptr_offset(leaf, slot); in check_extent_item()
1721 unsigned long ptr = btrfs_item_ptr_offset(leaf, slot); in check_extent_data_ref()
1799 ptr = btrfs_item_ptr_offset(leaf, slot); in check_inode_ref()
1834 unsigned long ptr = btrfs_item_ptr_offset(leaf, slot); in check_inode_extref()
2145 if (unlikely(btrfs_item_ptr_offset(leaf, slot) < in __btrfs_check_leaf()
2151 btrfs_item_ptr_offset(leaf, slot)); in __btrfs_check_leaf()
H A Dtree-log.c508 src_ptr = btrfs_item_ptr_offset(wc->log_leaf, wc->log_slot); in overwrite_item()
542 dst_ptr = btrfs_item_ptr_offset(dst_eb, dst_slot); in overwrite_item()
626 dst_ptr = btrfs_item_ptr_offset(dst_eb, dst_slot); in overwrite_item()
781 ptr = btrfs_item_ptr_offset(leaf, wc->subvol_path->slots[0]); in replay_one_extent()
837 dest_offset = btrfs_item_ptr_offset(wc->subvol_path->nodes[0], in replay_one_extent()
1223 ptr = btrfs_item_ptr_offset(leaf, wc->subvol_path->slots[0]); in unlink_refs_not_in_log()
1277 const unsigned long base = btrfs_item_ptr_offset(leaf, wc->subvol_path->slots[0]); in unlink_extrefs_not_in_log()
1500 ref_ptr = btrfs_item_ptr_offset(eb, wc->subvol_path->slots[0]); in unlink_old_inode_refs()
1589 ref_ptr = btrfs_item_ptr_offset(wc->log_leaf, wc->log_slot); in add_inode_ref()
1791 ptr = btrfs_item_ptr_offset(leaf, path->slots[0]); in count_inode_extrefs()
[all …]
H A Dfree-space-tree.c322 ptr = btrfs_item_ptr_offset(leaf, path->slots[0]); in btrfs_convert_free_space_to_bitmaps()
402 ptr = btrfs_item_ptr_offset(leaf, path->slots[0]); in btrfs_convert_free_space_to_extents()
526 ptr = btrfs_item_ptr_offset(leaf, path->slots[0]); in btrfs_free_space_test_bit()
556 ptr = btrfs_item_ptr_offset(leaf, path->slots[0]); in free_space_modify_bits()
H A Dreflink.c283 btrfs_item_ptr_offset(path->nodes[0], in clone_copy_inline_extent()
455 read_extent_buffer(leaf, buf, btrfs_item_ptr_offset(leaf, slot), in btrfs_clone()
H A Ddir-item.c428 start = btrfs_item_ptr_offset(leaf, path->slots[0]); in btrfs_delete_one_dir_name()
H A Draid-stripe-tree.c284 write_extent_buffer(leaf, stripe_extent, btrfs_item_ptr_offset(leaf, slot), in update_raid_extent_item()
H A Dctree.c3940 read_extent_buffer(leaf, buf, btrfs_item_ptr_offset(leaf, in split_item()
3964 btrfs_item_ptr_offset(leaf, path->slots[0]), in split_item()
3969 btrfs_item_ptr_offset(leaf, slot), in split_item()
4075 ptr = btrfs_item_ptr_offset(leaf, slot); in btrfs_truncate_item()
4332 ptr = btrfs_item_ptr_offset(leaf, path->slots[0]); in btrfs_insert_item()
4367 btrfs_item_ptr_offset(leaf, path->slots[0]), in btrfs_duplicate_item()
4368 btrfs_item_ptr_offset(leaf, path->slots[0] - 1), in btrfs_duplicate_item()
H A Dbackref.c2106 ptr = btrfs_item_ptr_offset(leaf, path->slots[0]); in btrfs_find_one_extref()
2690 ptr = btrfs_item_ptr_offset(eb, slot); in iterate_inode_extrefs()
2905 iter->item_ptr = (u32)btrfs_item_ptr_offset(path->nodes[0], in btrfs_backref_iter_start()
2945 iter->cur_ptr = (u32)btrfs_item_ptr_offset(path->nodes[0], in btrfs_backref_iter_start()
3027 iter->item_ptr = (u32)btrfs_item_ptr_offset(path->nodes[0], in btrfs_backref_iter_next()
H A Dprint-tree.c570 print_uuid_item(l, btrfs_item_ptr_offset(l, i), in btrfs_print_leaf()
H A Drelocation.c4112 write_extent_buffer(leaf, &remap, btrfs_item_ptr_offset(leaf, path->slots[0]), in add_remap_item()
4141 write_extent_buffer(leaf, &remap, btrfs_item_ptr_offset(leaf, path->slots[0]), in add_remap_backref_item()
4283 btrfs_item_ptr_offset(leaf, path->slots[0]), in move_existing_remap()
4506 offset = btrfs_item_ptr_offset(leaf, path->slots[0]); in create_remap_tree_entries()
5886 btrfs_item_ptr_offset(path->nodes[0], path->slots[0]), in insert_remap_item()
5905 btrfs_item_ptr_offset(path->nodes[0], path->slots[0]), in insert_remap_item()
H A Dblock-group.c2133 read_extent_buffer(leaf, &bg, btrfs_item_ptr_offset(leaf, slot), in read_bg_from_eb()
2659 read_extent_buffer(leaf, &bgi, btrfs_item_ptr_offset(leaf, slot), in btrfs_read_block_groups()
3270 bi = btrfs_item_ptr_offset(leaf, path->slots[0]); in update_block_group_item()
H A Daccessors.h1047 #define btrfs_item_ptr_offset(leaf, slot) \ macro
H A Dfile-item.c1040 item_offset = btrfs_item_ptr_offset(leaf, in btrfs_del_csums()
H A Dsend.c1013 ptr = btrfs_item_ptr_offset(eb, slot); in iterate_inode_ref()
3870 ptr = btrfs_item_ptr_offset(leaf, slot); in is_ancestor()
7109 ptr = btrfs_item_ptr_offset(leaf, path->slots[0]); in compare_refs()
7464 off1 = btrfs_item_ptr_offset(left_path->nodes[0], left_path->slots[0]); in tree_compare_item()
7465 off2 = btrfs_item_ptr_offset(right_path->nodes[0], in tree_compare_item()
H A Dioctl.c1424 item_off = btrfs_item_ptr_offset(leaf, i); in copy_to_sk()
1846 item_off = btrfs_item_ptr_offset(leaf, slot); in btrfs_search_path_in_tree_user()
2039 item_off = btrfs_item_ptr_offset(leaf, slot) in btrfs_ioctl_get_subvol_info()
H A Dfile.c2335 btrfs_item_ptr_offset(leaf, slot), in btrfs_insert_replace_extent()
H A Dinode.c3098 btrfs_item_ptr_offset(leaf, path->slots[0]), in insert_reserved_file_extent()
4182 ptr = btrfs_item_ptr_offset(leaf, path->slots[0]); in btrfs_read_locked_inode()