Home
last modified time | relevance | path

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

12

/linux-6.1.9/fs/btrfs/
Dtree-checker.c80 struct btrfs_key key; in file_extent_err()
114 struct btrfs_key *key, in file_extent_end()
140 struct btrfs_key key; in dir_item_err()
168 struct btrfs_key *key, int slot, in check_prev_ino()
169 struct btrfs_key *prev_key) in check_prev_ino()
199 struct btrfs_key *key, int slot, in check_extent_data_item()
200 struct btrfs_key *prev_key) in check_extent_data_item()
338 static int check_csum_item(struct extent_buffer *leaf, struct btrfs_key *key, in check_csum_item()
339 int slot, struct btrfs_key *prev_key) in check_csum_item()
384 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()
62 struct btrfs_key key, location; in btrfs_insert_xattr_item()
108 struct btrfs_key *location, u8 type, u64 index) in btrfs_insert_dir_item()
117 struct btrfs_key key; in btrfs_insert_dir_item()
174 struct btrfs_key *key, const char *name, in btrfs_lookup_match_dir()
212 struct btrfs_key key; in btrfs_lookup_dir_item()
230 struct btrfs_key key; in btrfs_check_dir_item_collision()
310 struct btrfs_key key; in btrfs_lookup_dir_index_item()
329 struct btrfs_key key; in btrfs_search_dir_index_item()
358 struct btrfs_key key; in btrfs_lookup_xattr()
Ddisk-io.h34 struct btrfs_key *first_key, u64 parent_transid);
37 int level, struct btrfs_key *first_key);
60 struct btrfs_key *key);
75 struct btrfs_key *key);
121 int level, struct btrfs_key *first_key);
Droot-tree.c62 int btrfs_find_root(struct btrfs_root *root, const struct btrfs_key *search_key, in btrfs_find_root()
64 struct btrfs_key *root_key) in btrfs_find_root()
66 struct btrfs_key found_key; in btrfs_find_root()
117 *root, struct btrfs_key *key, struct btrfs_root_item in btrfs_update_root()
196 const struct btrfs_key *key, struct btrfs_root_item *item) in btrfs_insert_root()
210 struct btrfs_key key; in btrfs_find_orphan_roots()
281 struct btrfs_key drop_key; in btrfs_find_orphan_roots()
308 const struct btrfs_key *key) in btrfs_del_root()
338 struct btrfs_key key; in btrfs_del_root_ref()
407 struct btrfs_key key; in btrfs_add_root_ref()
Dtree-log.c358 struct btrfs_key *key) in do_overwrite_item()
383 struct btrfs_key found_key; in do_overwrite_item()
586 struct btrfs_key *key) in overwrite_item()
629 struct btrfs_key *key) in replay_one_extent()
720 struct btrfs_key ins; in replay_one_extent()
939 struct btrfs_key location; in drop_one_dir_item()
984 struct btrfs_key location; in inode_in_dir()
1026 struct btrfs_key *key, in backref_in_log()
1073 struct btrfs_key search_key; in __add_inode_ref()
1290 struct btrfs_key *key) in unlink_old_inode_refs()
[all …]
Dinode-item.c83 struct btrfs_key key; in btrfs_lookup_inode_extref()
106 struct btrfs_key key; in btrfs_del_inode_extref()
176 struct btrfs_key key; in btrfs_del_inode_ref()
258 struct btrfs_key key; in btrfs_insert_inode_extref()
310 struct btrfs_key key; in btrfs_insert_inode_ref()
385 struct btrfs_key key; in btrfs_insert_empty_inode()
398 struct btrfs_key *location, int mod) in btrfs_lookup_inode()
405 struct btrfs_key found_key; in btrfs_lookup_inode()
462 struct btrfs_key key; in btrfs_truncate_inode_items()
463 struct btrfs_key found_key; in btrfs_truncate_inode_items()
Dctree.h960 struct btrfs_key qgroup_rescan_progress;
1331 struct btrfs_key root_key;
1362 struct btrfs_key defrag_progress;
1363 struct btrfs_key defrag_max;
2287 static inline void btrfs_disk_key_to_cpu(struct btrfs_key *cpu_key, in btrfs_disk_key_to_cpu()
2290 memcpy(cpu_key, disk_key, sizeof(struct btrfs_key)); in btrfs_disk_key_to_cpu()
2294 const struct btrfs_key *cpu_key) in btrfs_cpu_key_to_disk()
2296 memcpy(disk_key, cpu_key, sizeof(struct btrfs_key)); in btrfs_cpu_key_to_disk()
2300 struct btrfs_key *cpu_key, int nr) in btrfs_node_key_to_cpu()
2308 struct btrfs_key *cpu_key, int nr) in btrfs_item_key_to_cpu()
[all …]
Dbackref.h39 struct btrfs_path *path, struct btrfs_key *found_key,
43 struct btrfs_key *key, struct btrfs_extent_item *ei,
91 struct btrfs_key key_for_search;
108 struct btrfs_key cur_key;
389 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()
153 struct btrfs_key key; in btrfs_uuid_tree_remove()
293 struct btrfs_key key; in btrfs_uuid_tree_iterate()
Dfree-space-tree.c22 struct btrfs_key key = { in btrfs_free_space_root()
70 struct btrfs_key key; in add_new_free_space_info()
103 struct btrfs_key key; in search_free_space_info()
130 struct btrfs_key *key, struct btrfs_path *p, in btrfs_search_prev_slot()
207 struct btrfs_key key, found_key; in convert_free_space_to_bitmaps()
345 struct btrfs_key key, found_key; in convert_free_space_to_extents()
513 struct btrfs_key key; in free_space_test_bit()
537 struct btrfs_key key; in free_space_set_bits()
576 struct btrfs_key key; in free_space_next_bitmap()
604 struct btrfs_key key; in modify_free_space_bitmap()
[all …]
Dinode-item.h11 struct btrfs_key;
79 struct btrfs_key *location, int mod);
Dfile-item.c149 struct btrfs_key file_key; in btrfs_insert_hole_extent()
193 struct btrfs_key file_key; in btrfs_lookup_csum()
194 struct btrfs_key found_key; in btrfs_lookup_csum()
244 struct btrfs_key file_key; in btrfs_lookup_file_extent()
270 struct btrfs_key key; in search_csum_tree()
518 struct btrfs_key key; in btrfs_lookup_csums_range()
761 struct btrfs_key *key, in truncate_one_csum()
814 struct btrfs_key key; in btrfs_del_csums()
876 struct btrfs_key pk; in btrfs_del_csums()
958 struct btrfs_key found_key; in find_next_csum_offset()
[all …]
Dctree.c24 const struct btrfs_key *ins_key, struct btrfs_path *path,
617 const struct btrfs_key *k2) in comp_keys()
619 const struct btrfs_key *k1 = (const struct btrfs_key *)disk_key; in comp_keys()
630 const struct btrfs_key *k2) in comp_keys()
632 struct btrfs_key k1; in comp_keys()
643 int __pure btrfs_comp_cpu_keys(const struct btrfs_key *k1, const struct btrfs_key *k2) in btrfs_comp_cpu_keys()
668 struct btrfs_key *progress) in btrfs_realloc_node()
759 const struct btrfs_key *key, int *slot) in generic_bin_search()
824 int btrfs_bin_search(struct extent_buffer *eb, const struct btrfs_key *key, in btrfs_bin_search()
854 struct btrfs_key first_key; in btrfs_read_node_slot()
[all …]
Dbackref.c28 static int check_extent_in_eb(const struct btrfs_key *key, in check_extent_in_eb()
82 struct btrfs_key key; in find_extent_in_eb()
341 const struct btrfs_key *key, int level, u64 parent, in add_prelim_ref()
382 const struct btrfs_key *key, int level, in add_indirect_ref()
428 struct btrfs_key key; in add_all_parents()
429 struct btrfs_key *key_for_search = &ref->key_for_search; in add_all_parents()
553 struct btrfs_key search_key = ref->key_for_search; in resolve_indirect_ref()
846 struct btrfs_key key; in add_delayed_refs()
876 struct btrfs_key *key_ptr = NULL; in add_delayed_refs()
974 struct btrfs_key key; in add_inline_refs()
[all …]
Dprint-tree.c30 const char *btrfs_root_name(const struct btrfs_key *key, char *buf) in btrfs_root_name()
212 struct btrfs_key key; in btrfs_print_leaf()
213 struct btrfs_key found_key; in btrfs_print_leaf()
359 struct btrfs_key key; in btrfs_print_tree()
387 struct btrfs_key first_key; in btrfs_print_tree()
Dsend.c105 struct btrfs_key *cmp_key;
870 struct btrfs_key key; in get_inode_info()
936 struct btrfs_key *found_key, int resolve, in iterate_inode_ref()
1041 typedef int (*iterate_dir_item_t)(int num, struct btrfs_key *di_key,
1059 struct btrfs_key di_key; in iterate_dir_item()
1184 struct btrfs_key key, found_key; in get_inode_path()
1357 struct btrfs_key found_key; in find_extent_clone()
1529 struct btrfs_key key; in read_symlink()
1753 struct btrfs_key key; in lookup_dir_item_inode()
1786 struct btrfs_key key; in get_first_ref()
[all …]
Dprint-tree.h14 const char *btrfs_root_name(const struct btrfs_key *key, char *buf);
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()
Dextent-tree.c54 struct btrfs_key *ins, int ref_mod);
59 struct btrfs_key *key);
92 struct btrfs_key key; in btrfs_lookup_data_extent()
126 struct btrfs_key key; in btrfs_lookup_extent_info()
450 struct btrfs_key key; in lookup_extent_data_ref()
526 struct btrfs_key key; in insert_extent_data_ref()
603 struct btrfs_key key; in remove_extent_data_ref()
647 struct btrfs_key key; in extent_data_ref_count()
692 struct btrfs_key key; in lookup_tree_block_ref()
716 struct btrfs_key key; in insert_tree_block_ref()
[all …]
Drelocation.c104 struct btrfs_key key;
460 struct reloc_control *rc, struct btrfs_key *node_key, in build_backref_tree()
739 struct btrfs_key root_key; in create_reloc_root()
1060 struct btrfs_key key; in replace_file_extents()
1200 struct btrfs_path *path, struct btrfs_key *next_key, in replace_path()
1207 struct btrfs_key key; in replace_path()
1508 struct btrfs_key *min_key, in invalidate_extent_cache()
1509 struct btrfs_key *max_key) in invalidate_extent_cache()
1577 struct btrfs_key *key) in find_next_key()
1682 struct btrfs_key key; in merge_reloc_root()
[all …]
Dverity.c108 struct btrfs_key key; in drop_verity_items()
218 struct btrfs_key key; in write_key_bytes()
297 struct btrfs_key key; in read_key_bytes()
Dqgroup.c349 struct btrfs_key key; in btrfs_read_qgroup_config()
350 struct btrfs_key found_key; in btrfs_read_qgroup_config()
608 struct btrfs_key key; in add_qgroup_relation_item()
632 struct btrfs_key key; in del_qgroup_relation_item()
665 struct btrfs_key key; in add_qgroup_item()
730 struct btrfs_key key; in del_qgroup_item()
776 struct btrfs_key key; in update_qgroup_limit_item()
819 struct btrfs_key key; in update_qgroup_info_item()
864 struct btrfs_key key; in update_qgroup_status_item()
908 struct btrfs_key key; in btrfs_clean_quota_tree()
[all …]
Dtree-defrag.c23 struct btrfs_key key; in btrfs_defrag_leaves()
/linux-6.1.9/fs/btrfs/tests/
Dqgroup-tests.c23 struct btrfs_key ins; in insert_normal_tree_ref()
72 struct btrfs_key key; in add_tree_ref()
121 struct btrfs_key key; in remove_extent_item()
154 struct btrfs_key key; in remove_extent_ref()

12