/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() 3662 btrfs_item_key_to_cpu(src, &key, start_slot); in flush_dir_items_batch() 3685 btrfs_item_key_to_cpu(src, &ins_keys[i], slot); in flush_dir_items_batch() 3787 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 | 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 | 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 | 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 | export.c | 194 btrfs_item_key_to_cpu(leaf, &found_key, path->slots[0]); in btrfs_get_parent()
|
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 | 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 | 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() 2156 btrfs_item_key_to_cpu(eb, &key, i); in btrfs_qgroup_trace_leaf_items() 2316 btrfs_item_key_to_cpu(dst_path->nodes[dst_level], &key, 0); in qgroup_trace_extent_swap() 2355 btrfs_item_key_to_cpu(dst_path->nodes[cur_level], in qgroup_trace_extent_swap() 2357 btrfs_item_key_to_cpu(src_path->nodes[cur_level], in qgroup_trace_extent_swap() 3733 btrfs_item_key_to_cpu(path->nodes[0], &found, in qgroup_rescan_leaf() 3750 btrfs_item_key_to_cpu(scratch_leaf, &found, slot); in qgroup_rescan_leaf()
|
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 | 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
|
H A D | relocation.c | 883 btrfs_item_key_to_cpu(leaf, &key, i); in replace_file_extents() 2443 btrfs_item_key_to_cpu(eb, &block->key, 0); in get_tree_block_key() 3175 btrfs_item_key_to_cpu(path->nodes[0], &key, in __add_tree_block() 3267 btrfs_item_key_to_cpu(leaf, &key, i); in delete_v1_space_cache() 3378 btrfs_item_key_to_cpu(leaf, &key, path->slots[0]); in find_next_extent() 4092 btrfs_item_key_to_cpu(leaf, &key, path->slots[0]); in btrfs_recover_relocation()
|
H A D | scrub.c | 1463 btrfs_item_key_to_cpu(path->nodes[0], &key, path->slots[0]); in compare_extent_item_range() 1538 btrfs_item_key_to_cpu(path->nodes[0], &key, path->slots[0]); in find_first_extent_item() 1568 btrfs_item_key_to_cpu(path->nodes[0], &key, path->slots[0]); in get_extent_info() 2638 btrfs_item_key_to_cpu(l, &found_key, slot); in scrub_enumerate_chunks()
|
H A D | inode.c | 2083 btrfs_item_key_to_cpu(leaf, &found_key, in run_delalloc_nocow() 2102 btrfs_item_key_to_cpu(leaf, &found_key, path->slots[0]); in run_delalloc_nocow() 3581 btrfs_item_key_to_cpu(leaf, &found_key, path->slots[0]); in btrfs_orphan_cleanup() 3762 btrfs_item_key_to_cpu(leaf, &found_key, slot); in acls_after_inode_item() 4008 btrfs_item_key_to_cpu(leaf, &location, path->slots[0]); in btrfs_read_locked_inode() 4438 btrfs_item_key_to_cpu(leaf, &key, path->slots[0]); in btrfs_unlink_subvol() 4521 btrfs_item_key_to_cpu(path->nodes[0], &key, path->slots[0]); in may_destroy_subvol() 5972 btrfs_item_key_to_cpu(leaf, &found_key, path->slots[0]); in btrfs_set_inode_index_count() 7041 btrfs_item_key_to_cpu(leaf, &found_key, path->slots[0]); in btrfs_get_extent() 7086 btrfs_item_key_to_cpu(leaf, &found_key, path->slots[0]); in btrfs_get_extent() [all …]
|
H A D | delayed-inode.c | 861 btrfs_item_key_to_cpu(leaf, &key, slot); in btrfs_batch_delete_items() 1054 btrfs_item_key_to_cpu(leaf, &key, path->slots[0]); in __btrfs_update_delayed_inode()
|
H A D | ioctl.c | 1502 btrfs_item_key_to_cpu(leaf, key, i); in copy_to_sk() 1895 btrfs_item_key_to_cpu(leaf, &key2, slot); in btrfs_search_path_in_tree_user() 1954 btrfs_item_key_to_cpu(leaf, &key, slot); in btrfs_search_path_in_tree_user() 2144 btrfs_item_key_to_cpu(leaf, &key, slot); in btrfs_ioctl_get_subvol_info() 2228 btrfs_item_key_to_cpu(leaf, &key, slot); in btrfs_ioctl_get_subvol_rootref()
|
/linux/fs/btrfs/tests/ |
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()
|