Home
last modified time | relevance | path

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

/Linux-v6.1/fs/btrfs/tests/
Dextent-buffer-tests.c64 write_extent_buffer(eb, value, btrfs_item_ptr_offset(eb, 0), in test_btrfs_split_item()
98 read_extent_buffer(eb, buf, btrfs_item_ptr_offset(eb, 0), in test_btrfs_split_item()
122 read_extent_buffer(eb, buf, btrfs_item_ptr_offset(eb, 1), in test_btrfs_split_item()
153 read_extent_buffer(eb, buf, btrfs_item_ptr_offset(eb, 0), in test_btrfs_split_item()
176 read_extent_buffer(eb, buf, btrfs_item_ptr_offset(eb, 1), in test_btrfs_split_item()
199 read_extent_buffer(eb, buf, btrfs_item_ptr_offset(eb, 2), in test_btrfs_split_item()
/Linux-v6.1/fs/btrfs/
Duuid-tree.c56 offset = btrfs_item_ptr_offset(eb, slot); in btrfs_uuid_tree_lookup()
118 offset = btrfs_item_ptr_offset(eb, slot); in btrfs_uuid_tree_add()
127 offset = btrfs_item_ptr_offset(eb, slot); in btrfs_uuid_tree_add()
188 offset = btrfs_item_ptr_offset(eb, slot); in btrfs_uuid_tree_remove()
219 move_len = item_size - (move_src - btrfs_item_ptr_offset(eb, slot)); in btrfs_uuid_tree_remove()
333 offset = btrfs_item_ptr_offset(leaf, slot); in btrfs_uuid_tree_iterate()
Droot-tree.c29 read_extent_buffer(eb, item, btrfs_item_ptr_offset(eb, slot), in btrfs_read_root_item()
148 ptr = btrfs_item_ptr_offset(l, slot); in btrfs_update_root()
179 ptr = btrfs_item_ptr_offset(l, slot); in btrfs_update_root()
Dinode-item.c24 ptr = btrfs_item_ptr_offset(leaf, slot); in btrfs_find_name_in_backref()
50 ptr = btrfs_item_ptr_offset(leaf, slot); in btrfs_find_name_in_ext_backref()
157 item_start = btrfs_item_ptr_offset(leaf, path->slots[0]); in btrfs_del_inode_extref()
223 item_start = btrfs_item_ptr_offset(leaf, path->slots[0]); in btrfs_del_inode_ref()
Dtree-checker.c666 read_extent_buffer(leaf, &bgi, btrfs_item_ptr_offset(leaf, slot), in check_block_group_item()
747 if (btrfs_item_ptr_offset(leaf, i) == in chunk_err()
1145 read_extent_buffer(leaf, &ri, btrfs_item_ptr_offset(leaf, slot), in check_root_item()
1299 end = item_size + btrfs_item_ptr_offset(leaf, slot); in check_extent_item()
1515 unsigned long ptr = btrfs_item_ptr_offset(leaf, slot); in check_extent_data_ref()
1571 ptr = btrfs_item_ptr_offset(leaf, slot); in check_inode_ref()
1782 if (unlikely(btrfs_item_ptr_offset(leaf, slot) < in check_leaf()
1788 btrfs_item_ptr_offset(leaf, slot)); in check_leaf()
Dtree-log.c373 src_ptr = btrfs_item_ptr_offset(eb, slot); in do_overwrite_item()
415 dst_ptr = btrfs_item_ptr_offset(path->nodes[0], path->slots[0]); in do_overwrite_item()
498 dst_ptr = btrfs_item_ptr_offset(path->nodes[0], in do_overwrite_item()
730 dest_offset = btrfs_item_ptr_offset(path->nodes[0], in replay_one_extent()
1099 ptr = btrfs_item_ptr_offset(leaf, path->slots[0]); in __add_inode_ref()
1152 base = btrfs_item_ptr_offset(leaf, path->slots[0]); in __add_inode_ref()
1308 ref_ptr = btrfs_item_ptr_offset(eb, path->slots[0]); in unlink_old_inode_refs()
1392 ref_ptr = btrfs_item_ptr_offset(eb, slot); in add_inode_ref()
1536 ptr = btrfs_item_ptr_offset(leaf, path->slots[0]); in count_inode_extrefs()
1588 ptr = btrfs_item_ptr_offset(path->nodes[0], path->slots[0]); in count_inode_refs()
[all …]
Dfree-space-tree.c319 ptr = btrfs_item_ptr_offset(leaf, path->slots[0]); in convert_free_space_to_bitmaps()
401 ptr = btrfs_item_ptr_offset(leaf, path->slots[0] - 1); in convert_free_space_to_extents()
525 ptr = btrfs_item_ptr_offset(leaf, path->slots[0]); in free_space_test_bit()
554 ptr = btrfs_item_ptr_offset(leaf, path->slots[0]); in free_space_set_bits()
Dreflink.c276 btrfs_item_ptr_offset(path->nodes[0], in clone_copy_inline_extent()
450 read_extent_buffer(leaf, buf, btrfs_item_ptr_offset(leaf, slot), in btrfs_clone()
Dprint-tree.c348 print_uuid_item(l, btrfs_item_ptr_offset(l, i), in btrfs_print_leaf()
Ddir-item.c435 start = btrfs_item_ptr_offset(leaf, path->slots[0]); in btrfs_delete_one_dir_name()
Dbackref.c1856 ptr = btrfs_item_ptr_offset(leaf, path->slots[0]); in btrfs_find_one_extref()
2378 ptr = btrfs_item_ptr_offset(eb, slot); in iterate_inode_extrefs()
2587 iter->item_ptr = (u32)btrfs_item_ptr_offset(path->nodes[0], in btrfs_backref_iter_start()
2627 iter->cur_ptr = (u32)btrfs_item_ptr_offset(path->nodes[0], in btrfs_backref_iter_start()
2694 iter->item_ptr = (u32)btrfs_item_ptr_offset(path->nodes[0], in btrfs_backref_iter_next()
Dctree.c3753 read_extent_buffer(leaf, buf, btrfs_item_ptr_offset(leaf, in split_item()
3779 btrfs_item_ptr_offset(leaf, path->slots[0]), in split_item()
3784 btrfs_item_ptr_offset(leaf, slot), in split_item()
3893 ptr = btrfs_item_ptr_offset(leaf, slot); in btrfs_truncate_item()
4151 ptr = btrfs_item_ptr_offset(leaf, path->slots[0]); in btrfs_insert_item()
4187 btrfs_item_ptr_offset(leaf, path->slots[0]), in btrfs_duplicate_item()
4188 btrfs_item_ptr_offset(leaf, path->slots[0] - 1), in btrfs_duplicate_item()
Dblock-group.c1693 read_extent_buffer(leaf, &bg, btrfs_item_ptr_offset(leaf, slot), in read_bg_from_eb()
2206 read_extent_buffer(leaf, &bgi, btrfs_item_ptr_offset(leaf, slot), in btrfs_read_block_groups()
2708 bi = btrfs_item_ptr_offset(leaf, path->slots[0]); in update_block_group_item()
Dfile-item.c923 item_offset = btrfs_item_ptr_offset(leaf, in btrfs_del_csums()
Dsend.c974 ptr = btrfs_item_ptr_offset(eb, slot); in iterate_inode_ref()
3674 ptr = btrfs_item_ptr_offset(leaf, slot); in is_ancestor()
6908 ptr = btrfs_item_ptr_offset(leaf, path->slots[0]); in compare_refs()
7268 off1 = btrfs_item_ptr_offset(left_path->nodes[0], left_path->slots[0]); in tree_compare_item()
7269 off2 = btrfs_item_ptr_offset(right_path->nodes[0], in tree_compare_item()
Dioctl.c2448 item_off = btrfs_item_ptr_offset(leaf, i); in copy_to_sk()
2900 item_off = btrfs_item_ptr_offset(leaf, slot); in btrfs_search_path_in_tree_user()
3096 item_off = btrfs_item_ptr_offset(leaf, slot) in btrfs_ioctl_get_subvol_info()
Dctree.h2816 #define btrfs_item_ptr_offset(leaf, slot) \ macro
Dfile.c2572 btrfs_item_ptr_offset(leaf, slot), in btrfs_insert_replace_extent()
Dinode.c3100 btrfs_item_ptr_offset(leaf, path->slots[0]), in insert_reserved_file_extent()
4068 ptr = btrfs_item_ptr_offset(leaf, path->slots[0]); in btrfs_read_locked_inode()
Dvolumes.c4675 btrfs_item_ptr_offset(eb, slot), in btrfs_uuid_scan_kthread()