Home
last modified time | relevance | path

Searched refs:btrfs_item_ptr_offset (Results 1 - 25 of 40) sorted by relevance

12

/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/fs/btrfs/tests/
H A Dextent-buffer-tests.c65 write_extent_buffer(eb, value, btrfs_item_ptr_offset(eb, 0), in test_btrfs_split_item()
100 read_extent_buffer(eb, buf, btrfs_item_ptr_offset(eb, 0), in test_btrfs_split_item()
125 read_extent_buffer(eb, buf, btrfs_item_ptr_offset(eb, 1), in test_btrfs_split_item()
157 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()
205 read_extent_buffer(eb, buf, btrfs_item_ptr_offset(eb, 2), in test_btrfs_split_item()
/kernel/linux/linux-5.10/fs/btrfs/
H A 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()
189 offset = btrfs_item_ptr_offset(eb, slot); in btrfs_uuid_tree_remove()
220 move_len = item_size - (move_src - btrfs_item_ptr_offset(eb, slot)); in btrfs_uuid_tree_remove()
334 offset = btrfs_item_ptr_offset(leaf, slot); in btrfs_uuid_tree_iterate()
H A Dinode-item.c23 ptr = btrfs_item_ptr_offset(leaf, slot); in btrfs_find_name_in_backref()
49 ptr = btrfs_item_ptr_offset(leaf, slot); in btrfs_find_name_in_ext_backref()
158 item_start = btrfs_item_ptr_offset(leaf, path->slots[0]); in btrfs_del_inode_extref()
226 item_start = btrfs_item_ptr_offset(leaf, path->slots[0]); in btrfs_del_inode_ref()
H A Droot-tree.c29 read_extent_buffer(eb, item, btrfs_item_ptr_offset(eb, slot), in btrfs_read_root_item()
150 ptr = btrfs_item_ptr_offset(l, slot); in btrfs_update_root()
181 ptr = btrfs_item_ptr_offset(l, slot); in btrfs_update_root()
H A Dtree-checker.c657 read_extent_buffer(leaf, &bgi, btrfs_item_ptr_offset(leaf, slot), in check_block_group_item()
723 if (btrfs_item_ptr_offset(leaf, i) == in chunk_err()
1101 read_extent_buffer(leaf, &ri, btrfs_item_ptr_offset(leaf, slot), in check_root_item()
1254 end = item_size + btrfs_item_ptr_offset(leaf, slot); in check_extent_item()
1441 unsigned long ptr = btrfs_item_ptr_offset(leaf, slot); in check_extent_data_ref()
1497 ptr = btrfs_item_ptr_offset(leaf, slot); in check_inode_ref()
1697 btrfs_item_ptr_offset(leaf, slot)) { in check_leaf()
1702 btrfs_item_ptr_offset(leaf, slot)); in check_leaf()
H A Dtree-log.c363 src_ptr = btrfs_item_ptr_offset(eb, slot); in overwrite_item()
393 dst_ptr = btrfs_item_ptr_offset(path->nodes[0], path->slots[0]); in overwrite_item()
476 dst_ptr = btrfs_item_ptr_offset(path->nodes[0], in overwrite_item()
674 dest_offset = btrfs_item_ptr_offset(path->nodes[0], in replay_one_extent()
1026 ptr = btrfs_item_ptr_offset(leaf, path->slots[0]); in __add_inode_ref()
1089 base = btrfs_item_ptr_offset(leaf, path->slots[0]); in __add_inode_ref()
1251 ref_ptr = btrfs_item_ptr_offset(eb, path->slots[0]); in unlink_old_inode_refs()
1445 ref_ptr = btrfs_item_ptr_offset(eb, slot); in add_inode_ref()
1640 ptr = btrfs_item_ptr_offset(leaf, path->slots[0]); in count_inode_extrefs()
1692 ptr = btrfs_item_ptr_offset(pat in count_inode_refs()
[all...]
H A Dreflink.c272 btrfs_item_ptr_offset(path->nodes[0], in clone_copy_inline_extent()
440 read_extent_buffer(leaf, buf, btrfs_item_ptr_offset(leaf, slot), in btrfs_clone()
H A Dfree-space-tree.c306 ptr = btrfs_item_ptr_offset(leaf, path->slots[0]); in convert_free_space_to_bitmaps()
389 ptr = btrfs_item_ptr_offset(leaf, path->slots[0] - 1); in convert_free_space_to_extents()
513 ptr = btrfs_item_ptr_offset(leaf, path->slots[0]); in free_space_test_bit()
542 ptr = btrfs_item_ptr_offset(leaf, path->slots[0]); in free_space_set_bits()
H A Dbackref.c1685 ptr = btrfs_item_ptr_offset(leaf, path->slots[0]);
2213 ptr = btrfs_item_ptr_offset(eb, slot);
2430 iter->item_ptr = (u32)btrfs_item_ptr_offset(path->nodes[0],
2470 iter->cur_ptr = (u32)btrfs_item_ptr_offset(path->nodes[0],
2535 iter->item_ptr = (u32)btrfs_item_ptr_offset(path->nodes[0],
H A Ddir-item.c429 start = btrfs_item_ptr_offset(leaf, path->slots[0]); in btrfs_delete_one_dir_name()
H A Dprint-tree.c357 print_uuid_item(l, btrfs_item_ptr_offset(l, i), in btrfs_print_leaf()
H A Dctree.c4531 read_extent_buffer(leaf, buf, btrfs_item_ptr_offset(leaf, in split_item()
4559 btrfs_item_ptr_offset(leaf, path->slots[0]), in split_item()
4564 btrfs_item_ptr_offset(leaf, slot), in split_item()
4632 btrfs_item_ptr_offset(leaf, path->slots[0]), in btrfs_duplicate_item()
4633 btrfs_item_ptr_offset(leaf, path->slots[0] - 1), in btrfs_duplicate_item()
4709 ptr = btrfs_item_ptr_offset(leaf, slot); in btrfs_truncate_item()
4958 ptr = btrfs_item_ptr_offset(leaf, path->slots[0]); in btrfs_insert_item()
H A Dblock-group.c1580 read_extent_buffer(leaf, &bg, btrfs_item_ptr_offset(leaf, slot), in read_bg_from_eb()
1898 read_extent_buffer(leaf, &bgi, btrfs_item_ptr_offset(leaf, slot), in read_block_group_item()
2367 bi = btrfs_item_ptr_offset(leaf, path->slots[0]); in update_block_group_item()
/kernel/linux/linux-6.6/fs/btrfs/
H A Duuid-tree.c59 offset = btrfs_item_ptr_offset(eb, slot); in btrfs_uuid_tree_lookup()
121 offset = btrfs_item_ptr_offset(eb, slot); in btrfs_uuid_tree_add()
130 offset = btrfs_item_ptr_offset(eb, slot); in btrfs_uuid_tree_add()
191 offset = btrfs_item_ptr_offset(eb, slot); in btrfs_uuid_tree_remove()
222 move_len = item_size - (move_src - btrfs_item_ptr_offset(eb, slot)); in btrfs_uuid_tree_remove()
336 offset = btrfs_item_ptr_offset(leaf, slot); in btrfs_uuid_tree_iterate()
H A Dinode-item.c30 ptr = btrfs_item_ptr_offset(leaf, slot); in btrfs_find_name_in_backref()
57 ptr = btrfs_item_ptr_offset(leaf, slot); in btrfs_find_name_in_ext_backref()
165 item_start = btrfs_item_ptr_offset(leaf, path->slots[0]); in btrfs_del_inode_extref()
229 item_start = btrfs_item_ptr_offset(leaf, path->slots[0]); in btrfs_del_inode_ref()
H A Droot-tree.c34 read_extent_buffer(eb, item, btrfs_item_ptr_offset(eb, slot), in btrfs_read_root_item()
153 ptr = btrfs_item_ptr_offset(l, slot); in btrfs_update_root()
184 ptr = btrfs_item_ptr_offset(l, slot); in btrfs_update_root()
H A Dtree-checker.c684 read_extent_buffer(leaf, &bgi, btrfs_item_ptr_offset(leaf, slot), in check_block_group_item()
765 if (btrfs_item_ptr_offset(leaf, i) == in chunk_err()
1177 read_extent_buffer(leaf, &ri, btrfs_item_ptr_offset(leaf, slot), in check_root_item()
1331 end = item_size + btrfs_item_ptr_offset(leaf, slot); in check_extent_item()
1547 unsigned long ptr = btrfs_item_ptr_offset(leaf, slot); in check_extent_data_ref()
1603 ptr = btrfs_item_ptr_offset(leaf, slot); in check_inode_ref()
1817 if (unlikely(btrfs_item_ptr_offset(leaf, slot) < in __btrfs_check_leaf()
1823 btrfs_item_ptr_offset(leaf, slot)); in __btrfs_check_leaf()
H A Dtree-log.c400 src_ptr = btrfs_item_ptr_offset(eb, slot); in overwrite_item()
430 dst_ptr = btrfs_item_ptr_offset(path->nodes[0], path->slots[0]); in overwrite_item()
513 dst_ptr = btrfs_item_ptr_offset(path->nodes[0], in overwrite_item()
729 dest_offset = btrfs_item_ptr_offset(path->nodes[0], in replay_one_extent()
1088 ptr = btrfs_item_ptr_offset(leaf, path->slots[0]); in __add_inode_ref()
1138 base = btrfs_item_ptr_offset(leaf, path->slots[0]); in __add_inode_ref()
1287 ref_ptr = btrfs_item_ptr_offset(eb, path->slots[0]); in unlink_old_inode_refs()
1366 ref_ptr = btrfs_item_ptr_offset(eb, slot); in add_inode_ref()
1508 ptr = btrfs_item_ptr_offset(leaf, path->slots[0]); in count_inode_extrefs()
1560 ptr = btrfs_item_ptr_offset(pat in count_inode_refs()
[all...]
H A Dreflink.c281 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 Dfree-space-tree.c324 ptr = btrfs_item_ptr_offset(leaf, path->slots[0]); in convert_free_space_to_bitmaps()
406 ptr = btrfs_item_ptr_offset(leaf, path->slots[0] - 1); in convert_free_space_to_extents()
530 ptr = btrfs_item_ptr_offset(leaf, path->slots[0]); in free_space_test_bit()
560 ptr = btrfs_item_ptr_offset(leaf, path->slots[0]); in free_space_set_bits()
H A Dprint-tree.c349 print_uuid_item(l, btrfs_item_ptr_offset(l, i), in btrfs_print_leaf()
H A Ddir-item.c439 start = btrfs_item_ptr_offset(leaf, path->slots[0]); in btrfs_delete_one_dir_name()
H A Dbackref.c2106 ptr = btrfs_item_ptr_offset(leaf, path->slots[0]); in btrfs_find_one_extref()
2677 ptr = btrfs_item_ptr_offset(eb, slot); in iterate_inode_extrefs()
2885 iter->item_ptr = (u32)btrfs_item_ptr_offset(path->nodes[0], in btrfs_backref_iter_start()
2925 iter->cur_ptr = (u32)btrfs_item_ptr_offset(path->nodes[0], in btrfs_backref_iter_start()
2992 iter->item_ptr = (u32)btrfs_item_ptr_offset(path->nodes[0], in btrfs_backref_iter_next()
H A Dctree.c4058 read_extent_buffer(leaf, buf, btrfs_item_ptr_offset(leaf, in split_item()
4082 btrfs_item_ptr_offset(leaf, path->slots[0]), in split_item()
4087 btrfs_item_ptr_offset(leaf, slot), in split_item()
4196 ptr = btrfs_item_ptr_offset(leaf, slot); in btrfs_truncate_item()
4454 ptr = btrfs_item_ptr_offset(leaf, path->slots[0]); in btrfs_insert_item()
4490 btrfs_item_ptr_offset(leaf, path->slots[0]), in btrfs_duplicate_item()
4491 btrfs_item_ptr_offset(leaf, path->slots[0] - 1), in btrfs_duplicate_item()

Completed in 50 milliseconds

12