Home
last modified time | relevance | path

Searched refs:btrfs_key (Results 1 – 25 of 48) sorted by relevance

12

/Linux-v5.10/fs/btrfs/
Dtree-checker.c79 struct btrfs_key key; in file_extent_err()
112 struct btrfs_key *key, in file_extent_end()
138 struct btrfs_key key; in dir_item_err()
166 struct btrfs_key *key, int slot, in check_prev_ino()
167 struct btrfs_key *prev_key) in check_prev_ino()
197 struct btrfs_key *key, int slot, in check_extent_data_item()
198 struct btrfs_key *prev_key) in check_extent_data_item()
334 static int check_csum_item(struct extent_buffer *leaf, struct btrfs_key *key, in check_csum_item()
335 int slot, struct btrfs_key *prev_key) in check_csum_item()
380 static int check_inode_key(struct extent_buffer *leaf, struct btrfs_key *key, in check_inode_key()
[all …]
Ddir-item.c22 struct btrfs_key *cpu_key, in insert_with_overflow()
64 struct btrfs_key key, location; in btrfs_insert_xattr_item()
110 struct btrfs_key *location, u8 type, u64 index) in btrfs_insert_dir_item()
119 struct btrfs_key key; in btrfs_insert_dir_item()
186 struct btrfs_key key; in btrfs_lookup_dir_item()
208 struct btrfs_key key; in btrfs_check_dir_item_collision()
279 struct btrfs_key key; in btrfs_lookup_dir_index_item()
302 struct btrfs_key key; in btrfs_search_dir_index_item()
350 struct btrfs_key key; in btrfs_lookup_xattr()
Droot-tree.c64 int btrfs_find_root(struct btrfs_root *root, const struct btrfs_key *search_key, in btrfs_find_root()
66 struct btrfs_key *root_key) in btrfs_find_root()
68 struct btrfs_key found_key; in btrfs_find_root()
119 *root, struct btrfs_key *key, struct btrfs_root_item in btrfs_update_root()
198 const struct btrfs_key *key, struct btrfs_root_item *item) in btrfs_insert_root()
212 struct btrfs_key key; in btrfs_find_orphan_roots()
295 const struct btrfs_key *key) in btrfs_del_root()
325 struct btrfs_key key; in btrfs_del_root_ref()
394 struct btrfs_key key; in btrfs_add_root_ref()
Dinode-item.c82 struct btrfs_key key; in btrfs_lookup_inode_extref()
105 struct btrfs_key key; in btrfs_del_inode_extref()
177 struct btrfs_key key; in btrfs_del_inode_ref()
261 struct btrfs_key key; in btrfs_insert_inode_extref()
316 struct btrfs_key key; in btrfs_insert_inode_ref()
392 struct btrfs_key key; in btrfs_insert_empty_inode()
405 struct btrfs_key *location, int mod) in btrfs_lookup_inode()
412 struct btrfs_key found_key; in btrfs_lookup_inode()
Ddisk-io.h44 struct btrfs_key *first_key, u64 parent_transid);
47 struct btrfs_key *first_key);
63 struct btrfs_key *key);
112 struct btrfs_key *first_key);
Dctree.h895 struct btrfs_key qgroup_rescan_progress;
1054 struct btrfs_key root_key;
1094 struct btrfs_key defrag_progress;
1095 struct btrfs_key defrag_max;
1945 static inline void btrfs_disk_key_to_cpu(struct btrfs_key *cpu_key, in btrfs_disk_key_to_cpu()
1948 memcpy(cpu_key, disk_key, sizeof(struct btrfs_key)); in btrfs_disk_key_to_cpu()
1952 const struct btrfs_key *cpu_key) in btrfs_cpu_key_to_disk()
1954 memcpy(disk_key, cpu_key, sizeof(struct btrfs_key)); in btrfs_cpu_key_to_disk()
1958 struct btrfs_key *cpu_key, int nr) in btrfs_node_key_to_cpu()
1966 struct btrfs_key *cpu_key, int nr) in btrfs_item_key_to_cpu()
[all …]
Dbackref.h24 struct btrfs_path *path, struct btrfs_key *found_key,
28 struct btrfs_key *key, struct btrfs_extent_item *ei,
74 struct btrfs_key key_for_search;
91 struct btrfs_key cur_key;
369 struct btrfs_key *node_key,
Dorphan.c13 struct btrfs_key key; in btrfs_insert_orphan_item()
34 struct btrfs_key key; in btrfs_del_orphan_item()
Duuid-tree.c14 static void btrfs_uuid_to_key(u8 *uuid, u8 type, struct btrfs_key *key) in btrfs_uuid_to_key()
31 struct btrfs_key key; in btrfs_uuid_tree_lookup()
89 struct btrfs_key key; in btrfs_uuid_tree_add()
154 struct btrfs_key key; in btrfs_uuid_tree_remove()
294 struct btrfs_key key; in btrfs_uuid_tree_iterate()
Dtree-log.c348 struct btrfs_key *key) in overwrite_item()
577 struct btrfs_key *key) in replay_one_extent()
664 struct btrfs_key ins; in replay_one_extent()
858 struct btrfs_key location; in drop_one_dir_item()
905 struct btrfs_key location; in inode_in_dir()
942 struct btrfs_key *key, in backref_in_log()
990 struct btrfs_key search_key; in __add_inode_ref()
1215 struct btrfs_key *key) in unlink_old_inode_refs()
1295 struct btrfs_key key; in btrfs_inode_ref_exists()
1335 struct btrfs_key key; in add_link()
[all …]
Dfile-item.c134 struct btrfs_key file_key; in btrfs_insert_file_extent()
179 struct btrfs_key file_key; in btrfs_lookup_csum()
180 struct btrfs_key found_key; in btrfs_lookup_csum()
231 struct btrfs_key file_key; in btrfs_lookup_file_extent()
328 struct btrfs_key found_key; in btrfs_lookup_bio_sums()
399 struct btrfs_key key; in btrfs_lookup_csums_range()
636 struct btrfs_key *key, in truncate_one_csum()
689 struct btrfs_key key; in btrfs_del_csums()
751 struct btrfs_key pk; in btrfs_del_csums()
834 struct btrfs_key file_key; in btrfs_csum_file_blocks()
[all …]
Dbackref.c27 static int check_extent_in_eb(const struct btrfs_key *key, in check_extent_in_eb()
81 struct btrfs_key key; in find_extent_in_eb()
337 const struct btrfs_key *key, int level, u64 parent, in add_prelim_ref()
378 const struct btrfs_key *key, int level, in add_indirect_ref()
424 struct btrfs_key key; in add_all_parents()
425 struct btrfs_key *key_for_search = &ref->key_for_search; in add_all_parents()
545 struct btrfs_key search_key = ref->key_for_search; in resolve_indirect_ref()
821 struct btrfs_key key; in add_delayed_refs()
822 struct btrfs_key tmp_op_key; in add_delayed_refs()
938 struct btrfs_key key; in add_inline_refs()
[all …]
Dfree-space-tree.c56 struct btrfs_key key; in add_new_free_space_info()
89 struct btrfs_key key; in search_free_space_info()
116 struct btrfs_key *key, struct btrfs_path *p, in btrfs_search_prev_slot()
192 struct btrfs_key key, found_key; in convert_free_space_to_bitmaps()
332 struct btrfs_key key, found_key; in convert_free_space_to_extents()
501 struct btrfs_key key; in free_space_test_bit()
525 struct btrfs_key key; in free_space_set_bits()
564 struct btrfs_key key; in free_space_next_bitmap()
592 struct btrfs_key key; in modify_free_space_bitmap()
705 struct btrfs_key key; in remove_free_space_extent()
[all …]
Dreada.c55 struct btrfs_key top;
90 struct btrfs_key *top, u64 generation);
136 struct btrfs_key key; in __readahead_hook()
137 struct btrfs_key next_key; in __readahead_hook()
301 struct btrfs_key *top) in reada_find_extent()
549 struct btrfs_key *top, u64 generation) in reada_add_block()
942 struct btrfs_key *key_start, struct btrfs_key *key_end) in btrfs_reada_add()
949 static struct btrfs_key max_key = { in btrfs_reada_add()
Dctree.c21 const struct btrfs_key *ins_key, struct btrfs_path *path,
1525 const struct btrfs_key *k2) in comp_keys()
1527 const struct btrfs_key *k1 = (const struct btrfs_key *)disk_key; in comp_keys()
1538 const struct btrfs_key *k2) in comp_keys()
1540 struct btrfs_key k1; in comp_keys()
1551 int __pure btrfs_comp_cpu_keys(const struct btrfs_key *k1, const struct btrfs_key *k2) in btrfs_comp_cpu_keys()
1576 struct btrfs_key *progress) in btrfs_realloc_node()
1610 struct btrfs_key first_key; in btrfs_realloc_node()
1698 const struct btrfs_key *key, in generic_bin_search()
1754 int btrfs_bin_search(struct extent_buffer *eb, const struct btrfs_key *key, in btrfs_bin_search()
[all …]
Dprint-tree.c220 struct btrfs_key key; in btrfs_print_leaf()
221 struct btrfs_key found_key; in btrfs_print_leaf()
368 struct btrfs_key key; in btrfs_print_tree()
396 struct btrfs_key first_key; in btrfs_print_tree()
Dsend.c96 struct btrfs_key *cmp_key;
824 struct btrfs_key key; in __get_inode_info()
884 struct btrfs_key *found_key, int resolve, in iterate_inode_ref()
991 typedef int (*iterate_dir_item_t)(int num, struct btrfs_key *di_key,
1010 struct btrfs_key di_key; in iterate_dir_item()
1138 struct btrfs_key key, found_key; in get_inode_path()
1314 struct btrfs_key found_key; in find_extent_clone()
1486 struct btrfs_key key; in read_symlink()
1710 struct btrfs_key key; in lookup_dir_item_inode()
1744 struct btrfs_key key; in get_first_ref()
[all …]
Dexport.c142 struct btrfs_key key; in btrfs_get_parent()
143 struct btrfs_key found_key; in btrfs_get_parent()
212 struct btrfs_key key; in btrfs_get_name()
Drelocation.c101 struct btrfs_key key;
457 struct reloc_control *rc, struct btrfs_key *node_key, in build_backref_tree()
737 struct btrfs_key root_key; in create_reloc_root()
1031 struct btrfs_key key; in replace_file_extents()
1171 struct btrfs_path *path, struct btrfs_key *next_key, in replace_path()
1178 struct btrfs_key key; in replace_path()
1223 struct btrfs_key first_key; in replace_path()
1432 struct btrfs_key first_key; in walk_down_reloc_tree()
1475 struct btrfs_key *min_key, in invalidate_extent_cache()
1476 struct btrfs_key *max_key) in invalidate_extent_cache()
[all …]
Dextent-tree.c52 struct btrfs_key *ins, int ref_mod);
57 struct btrfs_key *key);
124 struct btrfs_key key; in btrfs_lookup_data_extent()
157 struct btrfs_key key; in btrfs_lookup_extent_info()
480 struct btrfs_key key; in lookup_extent_data_ref()
556 struct btrfs_key key; in insert_extent_data_ref()
632 struct btrfs_key key; in remove_extent_data_ref()
677 struct btrfs_key key; in extent_data_ref_count()
722 struct btrfs_key key; in lookup_tree_block_ref()
745 struct btrfs_key key; in insert_tree_block_ref()
[all …]
Dqgroup.c332 struct btrfs_key key; in btrfs_read_qgroup_config()
333 struct btrfs_key found_key; in btrfs_read_qgroup_config()
589 struct btrfs_key key; in add_qgroup_relation_item()
613 struct btrfs_key key; in del_qgroup_relation_item()
646 struct btrfs_key key; in add_qgroup_item()
711 struct btrfs_key key; in del_qgroup_item()
757 struct btrfs_key key; in update_qgroup_limit_item()
800 struct btrfs_key key; in update_qgroup_info_item()
845 struct btrfs_key key; in update_qgroup_status_item()
888 struct btrfs_key key; in btrfs_clean_quota_tree()
[all …]
Dinode-map.c34 struct btrfs_key key; in caching_kthread()
534 struct btrfs_key search_key; in btrfs_find_highest_objectid()
535 struct btrfs_key found_key; in btrfs_find_highest_objectid()
Ddelayed-inode.c343 struct btrfs_key *key, in __btrfs_lookup_delayed_item()
394 struct btrfs_key *key) in __btrfs_lookup_delayed_insertion_item()
702 struct btrfs_key *keys; in btrfs_batch_insert_items()
750 keys = kmalloc_array(nitems, sizeof(struct btrfs_key), GFP_NOFS); in btrfs_batch_insert_items()
878 struct btrfs_key key; in btrfs_batch_delete_items()
1015 struct btrfs_key key; in __btrfs_update_delayed_inode()
1491 struct btrfs_key *key) in btrfs_delete_delayed_insertion_item()
1513 struct btrfs_key item_key; in btrfs_delete_delayed_dir_index()
1685 struct btrfs_key location; in btrfs_readdir_delayed_dir_index()
Dreflink.c153 struct btrfs_key *new_key, in clone_copy_inline_extent()
167 struct btrfs_key key; in clone_copy_inline_extent()
313 struct btrfs_key key; in btrfs_clone()
343 struct btrfs_key new_key; in btrfs_clone()
/Linux-v5.10/fs/btrfs/tests/
Dqgroup-tests.c23 struct btrfs_key ins; in insert_normal_tree_ref()
73 struct btrfs_key key; in add_tree_ref()
123 struct btrfs_key key; in remove_extent_item()
157 struct btrfs_key key; in remove_extent_ref()

12