/linux/fs/btrfs/tests/ |
H A D | extent-buffer-tests.c | 89 btrfs_item_key_to_cpu(eb, &key, 0); in test_btrfs_split_item() 113 btrfs_item_key_to_cpu(eb, &key, 1); in test_btrfs_split_item() 144 btrfs_item_key_to_cpu(eb, &key, 0); in test_btrfs_split_item() 167 btrfs_item_key_to_cpu(eb, &key, 1); in test_btrfs_split_item() 190 btrfs_item_key_to_cpu(eb, &key, 2); in test_btrfs_split_item()
|
H A D | free-space-tree-tests.c | 55 btrfs_item_key_to_cpu(path->nodes[0], &key, path->slots[0]); in __check_free_space_extents() 89 btrfs_item_key_to_cpu(path->nodes[0], &key, path->slots[0]); in __check_free_space_extents()
|
/linux/fs/btrfs/ |
H A D | file-item.c | 226 btrfs_item_key_to_cpu(leaf, &found_key, path->slots[0]); in btrfs_lookup_csum() 298 btrfs_item_key_to_cpu(path->nodes[0], &key, path->slots[0]); in search_csum_tree() 316 btrfs_item_key_to_cpu(path->nodes[0], &key, path->slots[0]); in search_csum_tree() 495 btrfs_item_key_to_cpu(leaf, &key, path->slots[0] - 1); in btrfs_lookup_csums_list() 533 btrfs_item_key_to_cpu(leaf, &key, path->slots[0]); in btrfs_lookup_csums_list() 633 btrfs_item_key_to_cpu(path->nodes[0], &key, path->slots[0]); in btrfs_lookup_csums_bitmap() 651 btrfs_item_key_to_cpu(leaf, &key, path->slots[0] - 1); in btrfs_lookup_csums_bitmap() 690 btrfs_item_key_to_cpu(leaf, &key, path->slots[0]); in btrfs_lookup_csums_bitmap() 909 btrfs_item_key_to_cpu(leaf, &key, path->slots[0]); in btrfs_del_csums() 942 btrfs_item_key_to_cpu(leaf, &pk, slot); in btrfs_del_csums() [all …]
|
H A D | free-space-tree.c | 245 btrfs_item_key_to_cpu(leaf, &found_key, path->slots[0] - 1); in convert_free_space_to_bitmaps() 380 btrfs_item_key_to_cpu(leaf, &found_key, path->slots[0] - 1); in convert_free_space_to_extents() 518 btrfs_item_key_to_cpu(leaf, &key, path->slots[0]); in free_space_test_bit() 544 btrfs_item_key_to_cpu(leaf, &key, path->slots[0]); in free_space_set_bits() 584 btrfs_item_key_to_cpu(p->nodes[0], &key, p->slots[0]); in free_space_next_bitmap() 630 btrfs_item_key_to_cpu(path->nodes[0], &key, path->slots[0]); in modify_free_space_bitmap() 670 btrfs_item_key_to_cpu(path->nodes[0], &key, path->slots[0]); in modify_free_space_bitmap() 732 btrfs_item_key_to_cpu(path->nodes[0], &key, path->slots[0]); in remove_free_space_extent() 909 btrfs_item_key_to_cpu(path->nodes[0], &key, path->slots[0]); in add_free_space_extent() 949 btrfs_item_key_to_cpu(path->nodes[0], &key, path->slots[0]); in add_free_space_extent() [all …]
|
H A D | raid-stripe-tree.c | 113 btrfs_item_key_to_cpu(leaf, &key, slot); in btrfs_delete_raid_extent() 143 btrfs_item_key_to_cpu(leaf, &key, slot); in btrfs_delete_raid_extent() 201 btrfs_item_key_to_cpu(leaf, &key, path->slots[0]); in btrfs_delete_raid_extent() 412 btrfs_item_key_to_cpu(leaf, &found_key, slot); in btrfs_get_raid_extent_offset()
|
H A D | fiemap.c | 333 btrfs_item_key_to_cpu(path->nodes[0], &key, path->slots[0]); in fiemap_next_leaf_item() 388 btrfs_item_key_to_cpu(path->nodes[0], &key, path->slots[0] - 1); in fiemap_search_slot() 398 btrfs_item_key_to_cpu(path->nodes[0], &key, path->slots[0]); in fiemap_search_slot() 585 btrfs_item_key_to_cpu(leaf, &key, path->slots[0]); in fiemap_find_last_extent_offset() 697 btrfs_item_key_to_cpu(leaf, &key, path->slots[0]); in extent_fiemap()
|
H A D | tree-log.c | 1571 btrfs_item_key_to_cpu(path->nodes[0], &key, in count_inode_refs() 1689 btrfs_item_key_to_cpu(path->nodes[0], &key, path->slots[0]); in fixup_inode_link_counts() 2066 btrfs_item_key_to_cpu(path->nodes[0], &key, path->slots[0]); in find_dir_range() 2093 btrfs_item_key_to_cpu(path->nodes[0], &key, path->slots[0]); in find_dir_range() 2223 btrfs_item_key_to_cpu(path->nodes[0], &key, i); in replay_xattr_deletes() 2359 btrfs_item_key_to_cpu(path->nodes[0], &found_key, in replay_dir_deletes() 2432 btrfs_item_key_to_cpu(eb, &key, i); in replay_one_buffer() 3617 btrfs_item_key_to_cpu(src, &key, start_slot); in flush_dir_items_batch() 3640 btrfs_item_key_to_cpu(src, &ins_keys[i], slot); in flush_dir_items_batch() 3742 btrfs_item_key_to_cpu(src, &key, i); in process_dir_items_leaf() [all …]
|
H A D | tree-checker.c | 90 btrfs_item_key_to_cpu(eb, &key, slot); in file_extent_err() 151 btrfs_item_key_to_cpu(eb, &key, slot); in dir_item_err() 416 btrfs_item_key_to_cpu(leaf, &item_key, slot); in check_inode_key() 468 btrfs_item_key_to_cpu(leaf, &item_key, slot); in check_root_key() 666 btrfs_item_key_to_cpu(eb, &key, slot); in block_group_err() 1035 btrfs_item_key_to_cpu(eb, &key, slot); in dev_item_err() 1284 btrfs_item_key_to_cpu(eb, &key, slot); in extent_err() 2021 btrfs_item_key_to_cpu(leaf, &key, slot); in __btrfs_check_leaf() 2265 btrfs_item_key_to_cpu(eb, &found_key, 0); in btrfs_verify_level_key()
|
H A D | backref.c | 123 btrfs_item_key_to_cpu(eb, &key, slot); in find_extent_in_eb() 518 btrfs_item_key_to_cpu(eb, &key, slot); in add_all_parents() 871 btrfs_item_key_to_cpu(eb, &ref->key_for_search, 0); in add_missing_keys() 1038 btrfs_item_key_to_cpu(leaf, &found_key, slot); in add_inline_refs() 1162 btrfs_item_key_to_cpu(leaf, &key, slot); in add_keyed_refs() 1480 btrfs_item_key_to_cpu(leaf, &key, slot); in find_parent_nodes() 2085 btrfs_item_key_to_cpu(leaf, &found_key, slot); in btrfs_find_one_extref() 2233 btrfs_item_key_to_cpu(path->nodes[0], found_key, path->slots[0]); in extent_from_logical() 2886 btrfs_item_key_to_cpu(path->nodes[0], &key, path->slots[0]); in btrfs_backref_iter_start() 2925 btrfs_item_key_to_cpu(path->nodes[0], &iter->cur_key, in btrfs_backref_iter_start() [all …]
|
H A D | reflink.c | 207 btrfs_item_key_to_cpu(path->nodes[0], &key, path->slots[0]); in clone_copy_inline_extent() 393 btrfs_item_key_to_cpu(path->nodes[0], &key, in btrfs_clone() 412 btrfs_item_key_to_cpu(leaf, &key, slot); in btrfs_clone()
|
H A D | extent-tree.c | 142 btrfs_item_key_to_cpu(path->nodes[0], &key, in btrfs_lookup_extent_info() 479 btrfs_item_key_to_cpu(leaf, &key, path->slots[0]); in lookup_extent_data_ref() 592 btrfs_item_key_to_cpu(leaf, &key, path->slots[0]); in remove_extent_data_ref() 635 btrfs_item_key_to_cpu(leaf, &key, path->slots[0]); in extent_data_ref_count() 740 btrfs_item_key_to_cpu(path->nodes[level], key, in find_next_key() 821 btrfs_item_key_to_cpu(path->nodes[0], &key, in lookup_inline_extent_backref() 950 btrfs_item_key_to_cpu(path->nodes[0], &tmp_key, path->slots[0] + 1); in lookup_inline_extent_backref() 1108 btrfs_item_key_to_cpu(leaf, &key, path->slots[0]); in update_inline_extent_backref() 1151 btrfs_item_key_to_cpu(leaf, &key, path->slots[0]); in update_inline_extent_backref() 1165 btrfs_item_key_to_cpu(leaf, &key, path->slots[0]); in update_inline_extent_backref() [all …]
|
H A D | root-tree.c | 101 btrfs_item_key_to_cpu(l, &found_key, slot); in btrfs_find_root() 252 btrfs_item_key_to_cpu(leaf, &key, path->slots[0]); in btrfs_find_orphan_roots()
|
H A D | verity.c | 149 btrfs_item_key_to_cpu(path->nodes[0], &key, path->slots[0]); in drop_verity_items() 336 btrfs_item_key_to_cpu(leaf, &key, path->slots[0]); in read_key_bytes()
|
H A D | ctree.c | 1670 btrfs_item_key_to_cpu(eb, found_key, path->slots[0]); in btrfs_find_item() 2341 btrfs_item_key_to_cpu(path->nodes[0], &key, 0); in btrfs_prev_leaf() 2499 btrfs_item_key_to_cpu(path->nodes[0], key, path->slots[0]); in btrfs_search_backwards() 2526 btrfs_item_key_to_cpu(path->nodes[0], key, path->slots[0]); in btrfs_get_next_valid_item() 2652 btrfs_item_key_to_cpu(left, &left_last, nr_left - 1); in check_sibling_keys() 2653 btrfs_item_key_to_cpu(right, &right_first, 0); in check_sibling_keys() 3835 btrfs_item_key_to_cpu(leaf, &key, path->slots[0]); in setup_leaf_for_split() 4647 btrfs_item_key_to_cpu(cur, &found_key, slot); in btrfs_search_forward() 4750 btrfs_item_key_to_cpu(c, &cur_key, slot); in btrfs_find_next_key() 4771 btrfs_item_key_to_cpu(c, key, slot); in btrfs_find_next_key() [all …]
|
H A D | file.c | 194 btrfs_item_key_to_cpu(leaf, &key, path->slots[0] - 1); in btrfs_drop_extents() 219 btrfs_item_key_to_cpu(leaf, &key, path->slots[0]); in btrfs_drop_extents() 492 btrfs_item_key_to_cpu(leaf, &slot_key, path->slots[0]); in btrfs_drop_extents() 522 btrfs_item_key_to_cpu(leaf, &key, slot); in extent_mergeable() 591 btrfs_item_key_to_cpu(leaf, &key, path->slots[0]); in btrfs_mark_extent_written() 1953 btrfs_item_key_to_cpu(leaf, &key, slot); in hole_mergeable() 3462 btrfs_item_key_to_cpu(path->nodes[0], &key, path->slots[0] - 1); in find_desired_extent() 3483 btrfs_item_key_to_cpu(leaf, &key, path->slots[0]); in find_desired_extent()
|
H A D | inode-item.c | 412 btrfs_item_key_to_cpu(leaf, &found_key, slot); in btrfs_lookup_inode() 529 btrfs_item_key_to_cpu(leaf, &found_key, path->slots[0]); in btrfs_truncate_inode_items()
|
H A D | qgroup.c | 422 btrfs_item_key_to_cpu(l, &found_key, slot); in btrfs_read_qgroup_config() 541 btrfs_item_key_to_cpu(l, &found_key, slot); in btrfs_read_qgroup_config() 1133 btrfs_item_key_to_cpu(leaf, &found_key, slot); in btrfs_quota_enable() 2181 btrfs_item_key_to_cpu(eb, &key, i); in btrfs_qgroup_trace_leaf_items() 2341 btrfs_item_key_to_cpu(dst_path->nodes[dst_level], &key, 0); in qgroup_trace_extent_swap() 2380 btrfs_item_key_to_cpu(dst_path->nodes[cur_level], in qgroup_trace_extent_swap() 2382 btrfs_item_key_to_cpu(src_path->nodes[cur_level], in qgroup_trace_extent_swap() 3755 btrfs_item_key_to_cpu(path->nodes[0], &found, in qgroup_rescan_leaf() 3772 btrfs_item_key_to_cpu(scratch_leaf, &found, slot); in qgroup_rescan_leaf()
|
H A D | export.c | 193 btrfs_item_key_to_cpu(leaf, &found_key, path->slots[0]); in btrfs_get_parent()
|
H A D | defrag.c | 658 btrfs_item_key_to_cpu(path.nodes[0], &key, path.slots[0]); in defrag_get_extent() 666 btrfs_item_key_to_cpu(path.nodes[0], &key, path.slots[0]); in defrag_get_extent() 679 btrfs_item_key_to_cpu(path.nodes[0], &key, path.slots[0]); in defrag_get_extent()
|
H A D | send.c | 1264 btrfs_item_key_to_cpu(p->nodes[0], &found_key, p->slots[0]); in get_inode_path() 2043 btrfs_item_key_to_cpu(path->nodes[0], &found_key, in get_first_ref() 2542 btrfs_item_key_to_cpu(leaf, &key, path->slots[0]); in send_subvol_begin() 3247 btrfs_item_key_to_cpu(path->nodes[0], &key, path->slots[0]); in can_rmdir() 5567 btrfs_item_key_to_cpu(leaf, &key, path->slots[0]); in send_encoded_inline_extent() 5634 btrfs_item_key_to_cpu(leaf, &key, path->slots[0]); in send_encoded_extent() 5952 btrfs_item_key_to_cpu(path->nodes[0], &key, path->slots[0] - 1); in clone_range() 5977 btrfs_item_key_to_cpu(leaf, &key, slot); in clone_range() 6306 btrfs_item_key_to_cpu(eb, &found_key, slot); in is_extent_unchanged() 6389 btrfs_item_key_to_cpu(eb, &found_key, slot); in is_extent_unchanged() [all …]
|
H A D | props.c | 181 btrfs_item_key_to_cpu(leaf, &key, slot); in iterate_object_props()
|
H A D | print-tree.c | 258 btrfs_item_key_to_cpu(l, &key, i); in btrfs_print_leaf()
|
H A D | uuid-tree.c | 329 btrfs_item_key_to_cpu(leaf, &key, slot); in btrfs_uuid_tree_iterate()
|
H A D | relocation.c | 874 btrfs_item_key_to_cpu(leaf, &key, i); in replace_file_extents() 2435 btrfs_item_key_to_cpu(eb, &block->key, 0); in get_tree_block_key() 3210 btrfs_item_key_to_cpu(path->nodes[0], &key, in __add_tree_block() 3300 btrfs_item_key_to_cpu(leaf, &key, i); in delete_v1_space_cache() 3412 btrfs_item_key_to_cpu(leaf, &key, path->slots[0]); in find_next_extent() 4121 btrfs_item_key_to_cpu(leaf, &key, path->slots[0]); in btrfs_recover_relocation()
|
H A D | accessors.h | 617 static inline void btrfs_item_key_to_cpu(const struct extent_buffer *eb, in btrfs_item_key_to_cpu() function 661 static inline void btrfs_item_key_to_cpu(const struct extent_buffer *eb, in btrfs_item_key_to_cpu() function
|