Home
last modified time | relevance | path

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

/Linux-v5.4/fs/btrfs/tests/
Dextent-buffer-tests.c66 write_extent_buffer(eb, value, btrfs_item_ptr_offset(eb, 0), in test_btrfs_split_item()
101 read_extent_buffer(eb, buf, btrfs_item_ptr_offset(eb, 0), in test_btrfs_split_item()
126 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()
182 read_extent_buffer(eb, buf, btrfs_item_ptr_offset(eb, 1), in test_btrfs_split_item()
206 read_extent_buffer(eb, buf, btrfs_item_ptr_offset(eb, 2), in test_btrfs_split_item()
/Linux-v5.4/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()
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()
290 offset = btrfs_item_ptr_offset(leaf, slot); in btrfs_uuid_tree_iterate()
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()
Dtree-checker.c460 read_extent_buffer(leaf, &bgi, btrfs_item_ptr_offset(leaf, slot), in check_block_group_item()
526 if (btrfs_item_ptr_offset(leaf, i) == in chunk_err()
846 read_extent_buffer(leaf, &ri, btrfs_item_ptr_offset(leaf, slot), in check_root_item()
999 end = item_size + btrfs_item_ptr_offset(leaf, slot); in check_extent_item()
1186 unsigned long ptr = btrfs_item_ptr_offset(leaf, slot); in check_extent_data_ref()
1393 btrfs_item_ptr_offset(leaf, slot)) { in check_leaf()
1398 btrfs_item_ptr_offset(leaf, slot)); in check_leaf()
Droot-tree.c30 read_extent_buffer(eb, item, btrfs_item_ptr_offset(eb, slot), in btrfs_read_root_item()
152 ptr = btrfs_item_ptr_offset(l, slot); in btrfs_update_root()
183 ptr = btrfs_item_ptr_offset(l, slot); in btrfs_update_root()
Dtree-log.c361 src_ptr = btrfs_item_ptr_offset(eb, slot); in overwrite_item()
391 dst_ptr = btrfs_item_ptr_offset(path->nodes[0], path->slots[0]); in overwrite_item()
474 dst_ptr = btrfs_item_ptr_offset(path->nodes[0], in overwrite_item()
681 dest_offset = btrfs_item_ptr_offset(path->nodes[0], in replay_one_extent()
965 ptr = btrfs_item_ptr_offset(path->nodes[0], path->slots[0]); in backref_in_log()
1039 ptr = btrfs_item_ptr_offset(leaf, path->slots[0]); in __add_inode_ref()
1097 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()
1436 ref_ptr = btrfs_item_ptr_offset(eb, slot); in add_inode_ref()
1619 ptr = btrfs_item_ptr_offset(leaf, path->slots[0]); in count_inode_extrefs()
[all …]
Dfree-space-tree.c303 ptr = btrfs_item_ptr_offset(leaf, path->slots[0]); in convert_free_space_to_bitmaps()
386 ptr = btrfs_item_ptr_offset(leaf, path->slots[0] - 1); in convert_free_space_to_extents()
510 ptr = btrfs_item_ptr_offset(leaf, path->slots[0]); in free_space_test_bit()
539 ptr = btrfs_item_ptr_offset(leaf, path->slots[0]); in free_space_set_bits()
Dprint-tree.c317 print_uuid_item(l, btrfs_item_ptr_offset(l, i), in btrfs_print_leaf()
Ddir-item.c429 start = btrfs_item_ptr_offset(leaf, path->slots[0]); in btrfs_delete_one_dir_name()
Dctree.c4469 read_extent_buffer(leaf, buf, btrfs_item_ptr_offset(leaf, in split_item()
4497 btrfs_item_ptr_offset(leaf, path->slots[0]), in split_item()
4502 btrfs_item_ptr_offset(leaf, slot), in split_item()
4572 btrfs_item_ptr_offset(leaf, path->slots[0]), in btrfs_duplicate_item()
4573 btrfs_item_ptr_offset(leaf, path->slots[0] - 1), in btrfs_duplicate_item()
4650 ptr = btrfs_item_ptr_offset(leaf, slot); in btrfs_truncate_item()
4889 ptr = btrfs_item_ptr_offset(leaf, path->slots[0]); in btrfs_insert_item()
Dblock-group.c1479 btrfs_item_ptr_offset(leaf, slot), in find_first_block_group()
1755 btrfs_item_ptr_offset(leaf, path->slots[0]), in btrfs_read_block_groups()
2133 bi = btrfs_item_ptr_offset(leaf, path->slots[0]); in write_one_cache_group()
Dioctl.c2054 item_off = btrfs_item_ptr_offset(leaf, i); in copy_to_sk()
2512 item_off = btrfs_item_ptr_offset(leaf, slot); in btrfs_search_path_in_tree_user()
2715 item_off = btrfs_item_ptr_offset(leaf, slot) in btrfs_ioctl_get_subvol_info()
3468 btrfs_item_ptr_offset(path->nodes[0], in clone_copy_inline_extent()
3602 read_extent_buffer(leaf, buf, btrfs_item_ptr_offset(leaf, slot), in btrfs_clone()
Dbackref.c1587 ptr = btrfs_item_ptr_offset(leaf, path->slots[0]);
2096 ptr = btrfs_item_ptr_offset(eb, slot);
Dfile-item.c703 item_offset = btrfs_item_ptr_offset(leaf, in btrfs_del_csums()
Dsend.c922 ptr = btrfs_item_ptr_offset(eb, slot); in iterate_inode_ref()
3617 ptr = btrfs_item_ptr_offset(leaf, slot); in is_ancestor()
6405 ptr = btrfs_item_ptr_offset(leaf, path->slots[0]); in compare_refs()
6613 off1 = btrfs_item_ptr_offset(left_path->nodes[0], left_path->slots[0]); in tree_compare_item()
6614 off2 = btrfs_item_ptr_offset(right_path->nodes[0], in tree_compare_item()
Dfile.c2484 btrfs_item_ptr_offset(leaf, slot), in btrfs_insert_clone_extent()
Dctree.h2329 #define btrfs_item_ptr_offset(leaf, slot) \ macro
Drelocation.c3777 ptr = btrfs_item_ptr_offset(eb, path->slots[0]); in add_data_references()
Dvolumes.c4455 btrfs_item_ptr_offset(eb, slot), in btrfs_uuid_scan_kthread()
Dinode.c3835 ptr = btrfs_item_ptr_offset(leaf, path->slots[0]); in btrfs_read_locked_inode()