/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() 492 btrfs_item_key_to_cpu(leaf, &key, path->slots[0] - 1); in btrfs_lookup_csums_list() 530 btrfs_item_key_to_cpu(leaf, &key, path->slots[0]); in btrfs_lookup_csums_list() 630 btrfs_item_key_to_cpu(path->nodes[0], &key, path->slots[0]); in btrfs_lookup_csums_bitmap() 648 btrfs_item_key_to_cpu(leaf, &key, path->slots[0] - 1); in btrfs_lookup_csums_bitmap() 687 btrfs_item_key_to_cpu(leaf, &key, path->slots[0]); in btrfs_lookup_csums_bitmap() 906 btrfs_item_key_to_cpu(leaf, &key, path->slots[0]); in btrfs_del_csums() 939 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 btrfs_convert_free_space_to_bitmaps() 388 btrfs_item_key_to_cpu(leaf, &found_key, path->slots[0] - 1); in btrfs_convert_free_space_to_extents() 529 btrfs_item_key_to_cpu(leaf, &key, path->slots[0]); in btrfs_free_space_test_bit() 555 btrfs_item_key_to_cpu(leaf, &key, path->slots[0]); in free_space_modify_bits() 595 btrfs_item_key_to_cpu(p->nodes[0], &key, p->slots[0]); in free_space_next_bitmap() 642 btrfs_item_key_to_cpu(path->nodes[0], &key, path->slots[0]); in modify_free_space_bitmap() 680 btrfs_item_key_to_cpu(path->nodes[0], &key, path->slots[0]); in modify_free_space_bitmap() 736 btrfs_item_key_to_cpu(path->nodes[0], &key, path->slots[0]); in remove_free_space_extent() 922 btrfs_item_key_to_cpu(path->nodes[0], &key, path->slots[0]); in add_free_space_extent() 962 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() 415 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 | 1603 btrfs_item_key_to_cpu(path->nodes[0], &key, in count_inode_refs() 1721 btrfs_item_key_to_cpu(path->nodes[0], &key, path->slots[0]); in fixup_inode_link_counts() 2097 btrfs_item_key_to_cpu(path->nodes[0], &key, path->slots[0]); in find_dir_range() 2124 btrfs_item_key_to_cpu(path->nodes[0], &key, path->slots[0]); in find_dir_range() 2255 btrfs_item_key_to_cpu(path->nodes[0], &key, i); in replay_xattr_deletes() 2394 btrfs_item_key_to_cpu(path->nodes[0], &found_key, in replay_dir_deletes() 2469 btrfs_item_key_to_cpu(eb, &key, i); in replay_one_buffer() 3685 btrfs_item_key_to_cpu(src, &key, start_slot); in flush_dir_items_batch() 3708 btrfs_item_key_to_cpu(src, &ins_keys[i], slot); in flush_dir_items_batch() 3810 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() 2264 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() 2232 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 | 204 btrfs_item_key_to_cpu(path->nodes[0], &key, path->slots[0]); in clone_copy_inline_extent() 394 btrfs_item_key_to_cpu(path->nodes[0], &key, in btrfs_clone() 413 btrfs_item_key_to_cpu(leaf, &key, slot); in btrfs_clone()
|
H A D | extent-tree.c | 139 btrfs_item_key_to_cpu(path->nodes[0], &key, in btrfs_lookup_extent_info() 475 btrfs_item_key_to_cpu(leaf, &key, path->slots[0]); in lookup_extent_data_ref() 588 btrfs_item_key_to_cpu(leaf, &key, path->slots[0]); in remove_extent_data_ref() 631 btrfs_item_key_to_cpu(leaf, &key, path->slots[0]); in extent_data_ref_count() 736 btrfs_item_key_to_cpu(path->nodes[level], key, in find_next_key() 817 btrfs_item_key_to_cpu(path->nodes[0], &key, in lookup_inline_extent_backref() 946 btrfs_item_key_to_cpu(path->nodes[0], &tmp_key, path->slots[0] + 1); in lookup_inline_extent_backref() 1104 btrfs_item_key_to_cpu(leaf, &key, path->slots[0]); in update_inline_extent_backref() 1147 btrfs_item_key_to_cpu(leaf, &key, path->slots[0]); in update_inline_extent_backref() 1161 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 | 1681 btrfs_item_key_to_cpu(eb, found_key, path->slots[0]); in btrfs_find_item() 2350 btrfs_item_key_to_cpu(path->nodes[0], &key, 0); in btrfs_prev_leaf() 2508 btrfs_item_key_to_cpu(path->nodes[0], key, path->slots[0]); in btrfs_search_backwards() 2535 btrfs_item_key_to_cpu(path->nodes[0], key, path->slots[0]); in btrfs_get_next_valid_item() 2661 btrfs_item_key_to_cpu(left, &left_last, nr_left - 1); in check_sibling_keys() 2662 btrfs_item_key_to_cpu(right, &right_first, 0); in check_sibling_keys() 3838 btrfs_item_key_to_cpu(leaf, &key, path->slots[0]); in setup_leaf_for_split() 4639 btrfs_item_key_to_cpu(cur, min_key, slot); in btrfs_search_forward() 4733 btrfs_item_key_to_cpu(c, &cur_key, slot); in btrfs_find_next_key() 4754 btrfs_item_key_to_cpu(c, key, slot); in btrfs_find_next_key() [all …]
|
H A D | inode-item.c | 400 btrfs_item_key_to_cpu(leaf, &found_key, slot); in btrfs_lookup_inode() 517 btrfs_item_key_to_cpu(leaf, &found_key, path->slots[0]); in btrfs_truncate_inode_items()
|
H A D | file.c | 193 btrfs_item_key_to_cpu(leaf, &key, path->slots[0] - 1); in btrfs_drop_extents() 218 btrfs_item_key_to_cpu(leaf, &key, path->slots[0]); in btrfs_drop_extents() 491 btrfs_item_key_to_cpu(leaf, &slot_key, path->slots[0]); in btrfs_drop_extents() 520 btrfs_item_key_to_cpu(leaf, &key, slot); in extent_mergeable() 589 btrfs_item_key_to_cpu(leaf, &key, path->slots[0]); in btrfs_mark_extent_written() 2065 btrfs_item_key_to_cpu(leaf, &key, slot); in hole_mergeable() 3620 btrfs_item_key_to_cpu(path->nodes[0], &key, path->slots[0] - 1); in find_desired_extent() 3641 btrfs_item_key_to_cpu(leaf, &key, path->slots[0]); in find_desired_extent()
|
H A D | export.c | 194 btrfs_item_key_to_cpu(leaf, &found_key, path->slots[0]); in btrfs_get_parent()
|
H A D | qgroup.c | 427 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() 1122 btrfs_item_key_to_cpu(leaf, &found_key, slot); in btrfs_quota_enable() 2157 btrfs_item_key_to_cpu(eb, &key, i); in btrfs_qgroup_trace_leaf_items() 2317 btrfs_item_key_to_cpu(dst_path->nodes[dst_level], &key, 0); in qgroup_trace_extent_swap() 2356 btrfs_item_key_to_cpu(dst_path->nodes[cur_level], in qgroup_trace_extent_swap() 2358 btrfs_item_key_to_cpu(src_path->nodes[cur_level], in qgroup_trace_extent_swap() 3734 btrfs_item_key_to_cpu(path->nodes[0], &found, in qgroup_rescan_leaf() 3751 btrfs_item_key_to_cpu(scratch_leaf, &found, slot); in qgroup_rescan_leaf()
|
H A D | defrag.c | 649 btrfs_item_key_to_cpu(path.nodes[0], &key, path.slots[0]); in defrag_get_extent() 657 btrfs_item_key_to_cpu(path.nodes[0], &key, path.slots[0]); in defrag_get_extent() 670 btrfs_item_key_to_cpu(path.nodes[0], &key, path.slots[0]); in defrag_get_extent()
|
H A D | send.c | 1246 btrfs_item_key_to_cpu(p->nodes[0], &found_key, p->slots[0]); in get_inode_path() 2013 btrfs_item_key_to_cpu(path->nodes[0], &found_key, in get_first_ref() 2520 btrfs_item_key_to_cpu(leaf, &key, path->slots[0]); in send_subvol_begin() 3237 btrfs_item_key_to_cpu(path->nodes[0], &key, path->slots[0]); in can_rmdir() 5514 btrfs_item_key_to_cpu(leaf, &key, path->slots[0]); in send_encoded_inline_extent() 5574 btrfs_item_key_to_cpu(leaf, &key, path->slots[0]); in send_encoded_extent() 5883 btrfs_item_key_to_cpu(path->nodes[0], &key, path->slots[0] - 1); in clone_range() 5908 btrfs_item_key_to_cpu(leaf, &key, slot); in clone_range() 6237 btrfs_item_key_to_cpu(eb, &found_key, slot); in is_extent_unchanged() 6320 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 | 902 btrfs_item_key_to_cpu(leaf, &key, i); in replace_file_extents() 2462 btrfs_item_key_to_cpu(eb, &block->key, 0); in get_tree_block_key() 3194 btrfs_item_key_to_cpu(path->nodes[0], &key, in __add_tree_block() 3286 btrfs_item_key_to_cpu(leaf, &key, i); in delete_v1_space_cache() 3397 btrfs_item_key_to_cpu(leaf, &key, path->slots[0]); in find_next_extent() 4111 btrfs_item_key_to_cpu(leaf, &key, path->slots[0]); in btrfs_recover_relocation()
|
H A D | accessors.h | 581 static inline void btrfs_item_key_to_cpu(const struct extent_buffer *eb, in btrfs_item_key_to_cpu() function 625 static inline void btrfs_item_key_to_cpu(const struct extent_buffer *eb, in btrfs_item_key_to_cpu() function
|