/linux/fs/btrfs/ |
H A D | ctree.h | 178 struct btrfs_key root_key; 219 struct btrfs_key defrag_progress; 220 struct btrfs_key defrag_max; 506 const struct btrfs_key *key, int *slot); 508 int __pure btrfs_comp_cpu_keys(const struct btrfs_key *k1, const struct btrfs_key *k2); 517 const struct btrfs_key *k2) in btrfs_comp_keys() 519 const struct btrfs_key *k1 = (const struct btrfs_key *)disk_key; in btrfs_comp_keys() 528 const struct btrfs_key *k2) in btrfs_comp_keys() 530 struct btrfs_key k1; in btrfs_comp_keys() 546 const struct btrfs_key *new_key); [all …]
|
H A D | root-tree.h | 10 struct btrfs_key; 27 int btrfs_del_root(struct btrfs_trans_handle *trans, const struct btrfs_key *key); 29 const struct btrfs_key *key, 32 struct btrfs_key *key, struct btrfs_root_item *item); 33 int btrfs_find_root(struct btrfs_root *root, const struct btrfs_key *search_key, 35 struct btrfs_key *root_key);
|
H A D | tree-checker.c | 86 struct btrfs_key key; in file_extent_err() 121 struct btrfs_key *key, in file_extent_end() 147 struct btrfs_key key; in dir_item_err() 176 struct btrfs_key *key, int slot, in check_prev_ino() 177 struct btrfs_key *prev_key) in check_prev_ino() 207 struct btrfs_key *key, int slot, in check_extent_data_item() 208 struct btrfs_key *prev_key) in check_extent_data_item() 364 static int check_csum_item(struct extent_buffer *leaf, struct btrfs_key *key, in check_csum_item() 365 int slot, struct btrfs_key *prev_key) in check_csum_item() 410 static int check_inode_key(struct extent_buffer *leaf, struct btrfs_key *key, in check_inode_key() [all …]
|
H A D | dir-item.c | 25 const struct btrfs_key *cpu_key, in insert_with_overflow() 64 struct btrfs_key key, location; in btrfs_insert_xattr_item() 109 const struct btrfs_key *location, u8 type, u64 index) in btrfs_insert_dir_item() 118 struct btrfs_key key; in btrfs_insert_dir_item() 177 struct btrfs_key *key, const char *name, in btrfs_lookup_match_dir() 215 struct btrfs_key key; in btrfs_lookup_dir_item() 234 struct btrfs_key key; in btrfs_check_dir_item_collision() 305 struct btrfs_key key; in btrfs_lookup_dir_index_item() 324 struct btrfs_key key; in btrfs_search_dir_index_item() 352 struct btrfs_key key; in btrfs_lookup_xattr()
|
H A D | root-tree.c | 67 int btrfs_find_root(struct btrfs_root *root, const struct btrfs_key *search_key, in btrfs_find_root() 69 struct btrfs_key *root_key) in btrfs_find_root() 71 struct btrfs_key found_key; in btrfs_find_root() 129 *root, struct btrfs_key *key, struct btrfs_root_item in btrfs_update_root() 206 const struct btrfs_key *key, struct btrfs_root_item *item) in btrfs_insert_root() 220 struct btrfs_key key; in btrfs_find_orphan_roots() 291 struct btrfs_key drop_key; in btrfs_find_orphan_roots() 318 const struct btrfs_key *key) in btrfs_del_root() 350 struct btrfs_key key; in btrfs_del_root_ref() 419 struct btrfs_key key; in btrfs_add_root_ref()
|
H A D | raid-stripe-tree.c | 18 const struct btrfs_key *oldkey, in btrfs_partially_delete_raid_extent() 26 struct btrfs_key newkey = { in btrfs_partially_delete_raid_extent() 71 struct btrfs_key key; in btrfs_delete_raid_extent() 175 struct btrfs_key newkey = { in btrfs_delete_raid_extent() 268 struct btrfs_key *key, in update_raid_extent_item() 301 struct btrfs_key stripe_key; in btrfs_insert_one_raid_extent() 377 struct btrfs_key stripe_key; in btrfs_get_raid_extent_offset() 378 struct btrfs_key found_key; in btrfs_get_raid_extent_offset()
|
H A D | backref.h | 217 struct btrfs_path *path, struct btrfs_key *found_key, 221 struct btrfs_key *key, struct btrfs_extent_item *ei, 260 struct btrfs_key key_for_search; 277 struct btrfs_key cur_key; 456 struct btrfs_key *node_key,
|
H A D | tree-log.c | 398 struct btrfs_key *key) in overwrite_item() 625 struct btrfs_key *key) in replay_one_extent() 708 struct btrfs_key ins; in replay_one_extent() 926 struct btrfs_key location; in drop_one_dir_item() 970 struct btrfs_key location; in inode_in_dir() 1012 struct btrfs_key *key, in backref_in_log() 1046 struct btrfs_key *search_key, in unlink_refs_not_in_log() 1100 struct btrfs_key *search_key, in unlink_extrefs_not_in_log() 1174 struct btrfs_key search_key; in __add_inode_ref() 1297 struct btrfs_key *key) in unlink_old_inode_refs() [all …]
|
H A D | print-tree.h | 15 struct btrfs_key; 19 const char *btrfs_root_name(const struct btrfs_key *key, char *buf);
|
H A D | inode-item.c | 87 struct btrfs_key key; in btrfs_lookup_inode_extref() 110 struct btrfs_key key; in btrfs_del_inode_extref() 171 struct btrfs_key key; in btrfs_del_inode_ref() 253 struct btrfs_key key; in btrfs_insert_inode_extref() 301 struct btrfs_key key; in btrfs_insert_inode_ref() 373 struct btrfs_key key; in btrfs_insert_empty_inode() 386 struct btrfs_key *location, int mod) in btrfs_lookup_inode() 393 struct btrfs_key found_key; in btrfs_lookup_inode() 450 struct btrfs_key key; in btrfs_truncate_inode_items() 451 struct btrfs_key found_key; in btrfs_truncate_inode_items()
|
H A D | file-item.c | 165 struct btrfs_key file_key; in btrfs_insert_hole_extent() 206 struct btrfs_key file_key; in btrfs_lookup_csum() 207 struct btrfs_key found_key; in btrfs_lookup_csum() 257 struct btrfs_key file_key; in btrfs_lookup_file_extent() 283 struct btrfs_key key; in search_csum_tree() 466 struct btrfs_key key; in btrfs_lookup_csums_list() 611 struct btrfs_key key; in btrfs_lookup_csums_bitmap() 822 struct btrfs_key *key, in truncate_one_csum() 875 struct btrfs_key key; in btrfs_del_csums() 937 struct btrfs_key pk; in btrfs_del_csums() [all …]
|
H A D | tree-checker.h | 15 struct btrfs_key; 39 struct btrfs_key first_key;
|
H A D | free-space-tree.c | 27 struct btrfs_key key = { in btrfs_free_space_root() 75 struct btrfs_key key; in add_new_free_space_info() 104 struct btrfs_key key; in btrfs_search_free_space_info() 131 struct btrfs_key *key, struct btrfs_path *p, in btrfs_search_prev_slot() 208 struct btrfs_key key, found_key; in btrfs_convert_free_space_to_bitmaps() 352 struct btrfs_key key, found_key; in btrfs_convert_free_space_to_extents() 524 struct btrfs_key key; in btrfs_free_space_test_bit() 549 struct btrfs_key key; in free_space_modify_bits() 588 struct btrfs_key key; in free_space_next_bitmap() 616 struct btrfs_key key; in modify_free_space_bitmap() [all …]
|
H A D | orphan.c | 13 struct btrfs_key key; in btrfs_insert_orphan_item() 30 struct btrfs_key key; in btrfs_del_orphan_item()
|
H A D | uuid-tree.c | 18 static void btrfs_uuid_to_key(const u8 *uuid, u8 type, struct btrfs_key *key) in btrfs_uuid_to_key() 35 struct btrfs_key key; in btrfs_uuid_tree_lookup() 93 struct btrfs_key key; in btrfs_uuid_tree_add() 155 struct btrfs_key key; in btrfs_uuid_tree_remove() 295 struct btrfs_key key; in btrfs_uuid_tree_iterate() 398 struct btrfs_key key; in btrfs_uuid_scan_kthread()
|
H A D | extent-tree.h | 135 struct btrfs_key *ins); 138 struct btrfs_key *ins); 141 struct btrfs_key *ins, int is_data, int delalloc);
|
H A D | dir-item.h | 11 struct btrfs_key; 21 const struct btrfs_key *location, u8 type, u64 index);
|
H A D | backref.c | 36 const struct btrfs_key *key, in check_extent_in_eb() 109 struct btrfs_key key; in find_extent_in_eb() 389 const struct btrfs_key *key, int level, u64 parent, in add_prelim_ref() 430 const struct btrfs_key *key, int level, in add_indirect_ref() 476 struct btrfs_key key; in add_all_parents() 477 struct btrfs_key *key_for_search = &ref->key_for_search; in add_all_parents() 600 struct btrfs_key search_key = ref->key_for_search; in resolve_indirect_ref() 892 struct btrfs_key key; in add_delayed_refs() 921 struct btrfs_key *key_ptr = NULL; in add_delayed_refs() 1014 struct btrfs_key key; in add_inline_refs() [all …]
|
H A D | accessors.h | 561 static inline void btrfs_disk_key_to_cpu(struct btrfs_key *cpu_key, in btrfs_disk_key_to_cpu() 564 memcpy(cpu_key, disk_key, sizeof(struct btrfs_key)); in btrfs_disk_key_to_cpu() 568 const struct btrfs_key *cpu_key) in btrfs_cpu_key_to_disk() 570 memcpy(disk_key, cpu_key, sizeof(struct btrfs_key)); in btrfs_cpu_key_to_disk() 574 struct btrfs_key *cpu_key, int nr) in btrfs_node_key_to_cpu() 582 struct btrfs_key *cpu_key, int nr) in btrfs_item_key_to_cpu() 591 struct btrfs_key *cpu_key) in btrfs_dir_item_key_to_cpu() 600 static inline void btrfs_disk_key_to_cpu(struct btrfs_key *cpu, in btrfs_disk_key_to_cpu() 609 const struct btrfs_key *cpu) in btrfs_cpu_key_to_disk() 617 struct btrfs_key *key, int nr) in btrfs_node_key_to_cpu() [all …]
|
H A D | inode-item.h | 14 struct btrfs_key; 102 struct btrfs_key *location, int mod);
|
H A D | send.c | 159 struct btrfs_key *cmp_key; 914 struct btrfs_key key; in get_inode_info() 976 struct btrfs_key *found_key, int resolve, in iterate_inode_ref() 1084 typedef int (*iterate_dir_item_t)(int num, struct btrfs_key *di_key, 1102 struct btrfs_key di_key; in iterate_dir_item() 1226 struct btrfs_key key, found_key; in get_inode_path() 1720 struct btrfs_key key; in read_symlink() 1962 struct btrfs_key key; in lookup_dir_item_inode() 1995 struct btrfs_key key; in get_first_ref() 1996 struct btrfs_key found_key; in get_first_ref() [all …]
|
H A D | ctree.c | 32 const struct btrfs_key *ins_key, struct btrfs_path *path, 707 int __pure btrfs_comp_cpu_keys(const struct btrfs_key *k1, const struct btrfs_key *k2) in btrfs_comp_cpu_keys() 739 const struct btrfs_key *key, int *slot) in btrfs_bin_search() 1453 const struct btrfs_key *key) in read_block_for_search() 1656 struct btrfs_key *found_key) in btrfs_find_item() 1659 struct btrfs_key key; in btrfs_find_item() 1810 const struct btrfs_key *key, in search_for_key_slot() 1831 const struct btrfs_key *key, in search_leaf() 1988 const struct btrfs_key *key, struct btrfs_path *p, in btrfs_search_slot() 2241 int btrfs_search_old_slot(struct btrfs_root *root, const struct btrfs_key *key, in btrfs_search_old_slot() [all …]
|
H A D | extent-tree.c | 57 struct btrfs_key *ins, int ref_mod, u64 oref_root); 62 struct btrfs_key *key); 73 struct btrfs_key key; in btrfs_lookup_data_extent() 104 struct btrfs_key key; in btrfs_lookup_extent_info() 430 struct btrfs_key key; in lookup_extent_data_ref() 504 struct btrfs_key key; in insert_extent_data_ref() 580 struct btrfs_key key; in remove_extent_data_ref() 623 struct btrfs_key key; in extent_data_ref_count() 667 struct btrfs_key key; in lookup_tree_block_ref() 691 struct btrfs_key key; in insert_tree_block_ref() [all …]
|
H A D | print-tree.c | 36 const char *btrfs_root_name(const struct btrfs_key *key, char *buf) in btrfs_root_name() 243 struct btrfs_key key; in btrfs_print_leaf() 244 struct btrfs_key found_key; in btrfs_print_leaf() 393 struct btrfs_key key; in btrfs_print_tree()
|
H A D | export.c | 155 struct btrfs_key key; in btrfs_get_parent() 156 struct btrfs_key found_key; in btrfs_get_parent() 236 struct btrfs_key key; in btrfs_get_name()
|