Home
last modified time | relevance | path

Searched refs:btrfs_item_ptr (Results 1 - 25 of 67) sorted by relevance

123

/kernel/linux/linux-5.10/fs/btrfs/
H A Dprint-tree.c98 ei = btrfs_item_ptr(eb, slot, struct btrfs_extent_item); in print_extent_item()
243 ii = btrfs_item_ptr(l, i, struct btrfs_inode_item); in btrfs_print_leaf()
250 di = btrfs_item_ptr(l, i, struct btrfs_dir_item); in btrfs_print_leaf()
257 ri = btrfs_item_ptr(l, i, struct btrfs_root_item); in btrfs_print_leaf()
273 dref = btrfs_item_ptr(l, i, in btrfs_print_leaf()
278 sref = btrfs_item_ptr(l, i, in btrfs_print_leaf()
284 fi = btrfs_item_ptr(l, i, in btrfs_print_leaf()
305 bi = btrfs_item_ptr(l, i, in btrfs_print_leaf()
314 print_chunk(l, btrfs_item_ptr(l, i, in btrfs_print_leaf()
318 print_dev_item(l, btrfs_item_ptr( in btrfs_print_leaf()
[all...]
H A Dexport.c181 ref = btrfs_item_ptr(leaf, path->slots[0], in btrfs_get_parent()
253 rref = btrfs_item_ptr(leaf, path->slots[0], in btrfs_get_name()
258 iref = btrfs_item_ptr(leaf, path->slots[0], in btrfs_get_name()
H A Dfile-item.c152 item = btrfs_item_ptr(leaf, path->slots[0], in btrfs_insert_file_extent()
215 item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_csum_item); in btrfs_lookup_csum()
361 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in btrfs_lookup_bio_sums()
472 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in btrfs_lookup_csums_range()
879 item_end = btrfs_item_ptr(leaf, path->slots[0], in btrfs_csum_file_blocks()
1017 item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_csum_item); in btrfs_csum_file_blocks()
1127 fi = btrfs_item_ptr(leaf, slot, struct btrfs_file_extent_item); in btrfs_file_extent_end()
H A Dinode-item.c291 ptr = (unsigned long)btrfs_item_ptr(leaf, path->slots[0], char); in btrfs_insert_inode_extref()
343 ref = btrfs_item_ptr(path->nodes[0], path->slots[0], in btrfs_insert_inode_ref()
361 ref = btrfs_item_ptr(path->nodes[0], path->slots[0], in btrfs_insert_inode_ref()
H A Dfile.c758 fi = btrfs_item_ptr(leaf, path->slots[0], in __btrfs_drop_extents()
827 fi = btrfs_item_ptr(leaf, path->slots[0] - 1, in __btrfs_drop_extents()
832 fi = btrfs_item_ptr(leaf, path->slots[0], in __btrfs_drop_extents()
1044 fi = btrfs_item_ptr(leaf, slot, struct btrfs_file_extent_item); in extent_mergeable()
1117 fi = btrfs_item_ptr(leaf, path->slots[0], in btrfs_mark_extent_written()
1144 fi = btrfs_item_ptr(leaf, path->slots[0], in btrfs_mark_extent_written()
1152 fi = btrfs_item_ptr(leaf, path->slots[0] - 1, in btrfs_mark_extent_written()
1169 fi = btrfs_item_ptr(leaf, path->slots[0], in btrfs_mark_extent_written()
1179 fi = btrfs_item_ptr(leaf, path->slots[0], in btrfs_mark_extent_written()
1208 fi = btrfs_item_ptr(lea in btrfs_mark_extent_written()
[all...]
H A Dextent-tree.c174 ei = btrfs_item_ptr(leaf, path->slots[0], in btrfs_lookup_extent_info()
496 ref = btrfs_item_ptr(leaf, path->slots[0], in lookup_extent_data_ref()
546 ref = btrfs_item_ptr(leaf, path->slots[0], in insert_extent_data_ref()
558 ref = btrfs_item_ptr(leaf, path->slots[0], in insert_extent_data_ref()
572 ref = btrfs_item_ptr(leaf, path->slots[0], in insert_extent_data_ref()
608 ref1 = btrfs_item_ptr(leaf, path->slots[0], in remove_extent_data_ref()
612 ref2 = btrfs_item_ptr(leaf, path->slots[0], in remove_extent_data_ref()
668 ref1 = btrfs_item_ptr(leaf, path->slots[0], in extent_data_ref_count()
672 ref2 = btrfs_item_ptr(leaf, path->slots[0], in extent_data_ref_count()
878 ei = btrfs_item_ptr(lea in lookup_inline_extent_backref()
[all...]
H A Dtree-log.c420 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in overwrite_item()
423 item = btrfs_item_ptr(eb, slot, in overwrite_item()
444 item = btrfs_item_ptr(eb, slot, struct btrfs_inode_item); in overwrite_item()
589 item = btrfs_item_ptr(eb, slot, struct btrfs_file_extent_item); in replay_one_extent()
636 existing = btrfs_item_ptr(leaf, path->slots[0], in replay_one_extent()
2197 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in find_dir_range()
2224 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in find_dir_range()
2381 di = btrfs_item_ptr(path->nodes[0], i, struct btrfs_dir_item); in replay_xattr_deletes()
2595 inode_item = btrfs_item_ptr(eb, i, in replay_one_buffer()
3478 item = btrfs_item_ptr(pat in btrfs_del_dir_entries_in_log()
[all...]
H A Dtree-checker.c222 fi = btrfs_item_ptr(leaf, slot, struct btrfs_file_extent_item); in check_extent_data_item()
320 prev_fi = btrfs_item_ptr(leaf, slot - 1, in check_extent_data_item()
485 di = btrfs_item_ptr(leaf, slot, struct btrfs_dir_item); in check_dir_item()
965 ditem = btrfs_item_ptr(leaf, slot, struct btrfs_dev_item); in check_dev_item()
1014 iitem = btrfs_item_ptr(leaf, slot, struct btrfs_inode_item); in check_inode_item()
1257 ei = btrfs_item_ptr(leaf, slot, struct btrfs_extent_item); in check_extent_item()
1557 chunk = btrfs_item_ptr(leaf, slot, struct btrfs_chunk); in check_leaf_item()
H A Dbackref.c98 fi = btrfs_item_ptr(eb, slot, struct btrfs_file_extent_item); in find_extent_in_eb()
489 fi = btrfs_item_ptr(eb, slot, struct btrfs_file_extent_item); in add_all_parents()
988 ei = btrfs_item_ptr(leaf, slot, struct btrfs_extent_item); in add_inline_refs()
1129 sdref = btrfs_item_ptr(leaf, slot, in add_keyed_refs()
1149 dref = btrfs_item_ptr(leaf, slot, in add_keyed_refs()
1761 iref = btrfs_item_ptr(eb, slot, struct btrfs_inode_ref);
1832 ei = btrfs_item_ptr(eb, path->slots[0], struct btrfs_extent_item);
2154 iref = btrfs_item_ptr(eb, slot, struct btrfs_inode_ref);
2434 ei = btrfs_item_ptr(path->nodes[0], path->slots[0],
H A Dxattr.c200 ptr = btrfs_item_ptr(leaf, slot, char); in btrfs_setxattr()
337 di = btrfs_item_ptr(leaf, slot, struct btrfs_dir_item); in btrfs_listxattr()
H A Ddir-item.c45 ptr = btrfs_item_ptr(leaf, path->slots[0], char); in insert_with_overflow()
383 dir_item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_dir_item); in btrfs_match_dir_item_name()
H A Droot-tree.c344 ref = btrfs_item_ptr(leaf, path->slots[0], in btrfs_del_root_ref()
420 ref = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_root_ref); in btrfs_add_root_ref()
/kernel/linux/linux-6.6/fs/btrfs/
H A Dprint-tree.c104 ei = btrfs_item_ptr(eb, slot, struct btrfs_extent_item); in print_extent_item()
239 ii = btrfs_item_ptr(l, i, struct btrfs_inode_item); in btrfs_print_leaf()
246 di = btrfs_item_ptr(l, i, struct btrfs_dir_item); in btrfs_print_leaf()
253 ri = btrfs_item_ptr(l, i, struct btrfs_root_item); in btrfs_print_leaf()
269 dref = btrfs_item_ptr(l, i, in btrfs_print_leaf()
274 sref = btrfs_item_ptr(l, i, in btrfs_print_leaf()
280 fi = btrfs_item_ptr(l, i, in btrfs_print_leaf()
297 bi = btrfs_item_ptr(l, i, in btrfs_print_leaf()
306 print_chunk(l, btrfs_item_ptr(l, i, in btrfs_print_leaf()
310 print_dev_item(l, btrfs_item_ptr( in btrfs_print_leaf()
[all...]
H A Dexport.c194 ref = btrfs_item_ptr(leaf, path->slots[0], in btrfs_get_parent()
265 rref = btrfs_item_ptr(leaf, path->slots[0], in btrfs_get_name()
270 iref = btrfs_item_ptr(leaf, path->slots[0], in btrfs_get_name()
H A Dfile-item.c184 item = btrfs_item_ptr(leaf, path->slots[0], in btrfs_insert_hole_extent()
247 item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_csum_item); in btrfs_lookup_csum()
301 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in search_csum_tree()
548 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in btrfs_lookup_csums_list()
698 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in btrfs_lookup_csums_bitmap()
1075 item_end = btrfs_item_ptr(leaf, path->slots[0], in btrfs_csum_file_blocks()
1236 item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_csum_item); in btrfs_csum_file_blocks()
1344 fi = btrfs_item_ptr(leaf, slot, struct btrfs_file_extent_item); in btrfs_file_extent_end()
H A Dinode-item.c292 ptr = (unsigned long)btrfs_item_ptr(leaf, path->slots[0], char); in btrfs_insert_inode_extref()
342 ref = btrfs_item_ptr(path->nodes[0], path->slots[0], in btrfs_insert_inode_ref()
360 ref = btrfs_item_ptr(path->nodes[0], path->slots[0], in btrfs_insert_inode_ref()
545 fi = btrfs_item_ptr(leaf, path->slots[0], in btrfs_truncate_inode_items()
H A Dfile.c290 fi = btrfs_item_ptr(leaf, path->slots[0], in btrfs_drop_extents()
359 fi = btrfs_item_ptr(leaf, path->slots[0] - 1, in btrfs_drop_extents()
364 fi = btrfs_item_ptr(leaf, path->slots[0], in btrfs_drop_extents()
569 fi = btrfs_item_ptr(leaf, slot, struct btrfs_file_extent_item); in extent_mergeable()
641 fi = btrfs_item_ptr(leaf, path->slots[0], in btrfs_mark_extent_written()
668 fi = btrfs_item_ptr(leaf, path->slots[0], in btrfs_mark_extent_written()
676 fi = btrfs_item_ptr(leaf, path->slots[0] - 1, in btrfs_mark_extent_written()
693 fi = btrfs_item_ptr(leaf, path->slots[0], in btrfs_mark_extent_written()
703 fi = btrfs_item_ptr(leaf, path->slots[0], in btrfs_mark_extent_written()
732 fi = btrfs_item_ptr(lea in btrfs_mark_extent_written()
[all...]
H A Dtree-log.c457 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in overwrite_item()
460 item = btrfs_item_ptr(eb, slot, in overwrite_item()
481 item = btrfs_item_ptr(eb, slot, struct btrfs_inode_item); in overwrite_item()
641 item = btrfs_item_ptr(eb, slot, struct btrfs_file_extent_item); in replay_one_extent()
688 existing = btrfs_item_ptr(leaf, path->slots[0], in replay_one_extent()
1964 di = btrfs_item_ptr(eb, slot, struct btrfs_dir_item); in replay_one_dir_item()
2055 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in find_dir_range()
2082 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in find_dir_range()
2124 di = btrfs_item_ptr(eb, slot, struct btrfs_dir_item); in check_item_in_log()
2212 di = btrfs_item_ptr(pat in replay_xattr_deletes()
[all...]
H A Dextent-tree.c164 ei = btrfs_item_ptr(leaf, path->slots[0], in btrfs_lookup_extent_info()
488 ref = btrfs_item_ptr(leaf, path->slots[0], in lookup_extent_data_ref()
538 ref = btrfs_item_ptr(leaf, path->slots[0], in insert_extent_data_ref()
550 ref = btrfs_item_ptr(leaf, path->slots[0], in insert_extent_data_ref()
564 ref = btrfs_item_ptr(leaf, path->slots[0], in insert_extent_data_ref()
601 ref1 = btrfs_item_ptr(leaf, path->slots[0], in remove_extent_data_ref()
605 ref2 = btrfs_item_ptr(leaf, path->slots[0], in remove_extent_data_ref()
659 ref1 = btrfs_item_ptr(leaf, path->slots[0], in extent_data_ref_count()
663 ref2 = btrfs_item_ptr(leaf, path->slots[0], in extent_data_ref_count()
872 ei = btrfs_item_ptr(lea in lookup_inline_extent_backref()
[all...]
H A Dtree-checker.c228 fi = btrfs_item_ptr(leaf, slot, struct btrfs_file_extent_item); in check_extent_data_item()
328 prev_fi = btrfs_item_ptr(leaf, slot - 1, in check_extent_data_item()
510 di = btrfs_item_ptr(leaf, slot, struct btrfs_dir_item); in check_dir_item()
1032 ditem = btrfs_item_ptr(leaf, slot, struct btrfs_dev_item); in check_dev_item()
1083 iitem = btrfs_item_ptr(leaf, slot, struct btrfs_inode_item); in check_inode_item()
1334 ei = btrfs_item_ptr(leaf, slot, struct btrfs_extent_item); in check_extent_item()
1664 chunk = btrfs_item_ptr(leaf, slot, struct btrfs_chunk); in check_leaf_item()
H A Dverity.c260 data = btrfs_item_ptr(leaf, path->slots[0], void); in write_key_bytes()
378 data = btrfs_item_ptr(leaf, path->slots[0], void); in read_key_bytes()
H A Droot-tree.c359 ref = btrfs_item_ptr(leaf, path->slots[0], in btrfs_del_root_ref()
435 ref = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_root_ref); in btrfs_add_root_ref()
H A Dxattr.c202 ptr = btrfs_item_ptr(leaf, slot, char); in btrfs_setxattr()
321 di = btrfs_item_ptr(leaf, slot, struct btrfs_dir_item); in btrfs_listxattr()
/kernel/linux/linux-5.10/fs/btrfs/tests/
H A Dqgroup-tests.c48 item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_extent_item); in insert_normal_tree_ref()
97 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in add_tree_ref()
181 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in remove_extent_ref()
/kernel/linux/linux-6.6/fs/btrfs/tests/
H A Dqgroup-tests.c49 item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_extent_item); in insert_normal_tree_ref()
97 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in add_tree_ref()
179 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in remove_extent_ref()

Completed in 53 milliseconds

123