/kernel/linux/linux-5.10/fs/btrfs/ |
H A D | print-tree.c | 221 struct btrfs_key found_key; in btrfs_print_leaf() local 251 btrfs_dir_item_key_to_cpu(l, di, &found_key); in btrfs_print_leaf() 253 found_key.objectid, in btrfs_print_leaf()
|
H A D | scrub.c | 733 struct btrfs_key found_key; in scrub_print_warning() local 758 ret = extent_from_logical(fs_info, swarn.logical, path, &found_key, in scrub_print_warning() 763 extent_item_pos = swarn.logical - found_key.objectid; in scrub_print_warning() 764 swarn.extent_item_size = found_key.offset; in scrub_print_warning() 772 ret = tree_backref_for_extent(&ptr, eb, &found_key, ei, in scrub_print_warning() 789 iterate_extent_inodes(fs_info, found_key.objectid, in scrub_print_warning() 3431 struct btrfs_key found_key; in scrub_enumerate_chunks() local 3469 btrfs_item_key_to_cpu(l, &found_key, slot); in scrub_enumerate_chunks() 3471 if (found_key.objectid != scrub_dev->devid) in scrub_enumerate_chunks() 3474 if (found_key in scrub_enumerate_chunks() [all...] |
H A D | volumes.c | 1725 struct btrfs_key found_key; in btrfs_free_dev_extent() local 1744 btrfs_item_key_to_cpu(leaf, &found_key, path->slots[0]); in btrfs_free_dev_extent() 1747 BUG_ON(found_key.offset > start || found_key.offset + in btrfs_free_dev_extent() 1749 key = found_key; in btrfs_free_dev_extent() 1841 struct btrfs_key found_key; in find_next_devid() local 1869 btrfs_item_key_to_cpu(path->nodes[0], &found_key, in find_next_devid() 1871 *devid_ret = found_key.offset + 1; in find_next_devid() 3159 struct btrfs_key found_key; in btrfs_relocate_sys_chunks() local 3193 btrfs_item_key_to_cpu(leaf, &found_key, pat in btrfs_relocate_sys_chunks() 3701 struct btrfs_key found_key; __btrfs_balance() local 7173 struct btrfs_key found_key; btrfs_read_chunk_tree() local [all...] |
H A D | backref.h | 24 struct btrfs_path *path, struct btrfs_key *found_key,
|
H A D | disk-io.c | 333 struct btrfs_key found_key; in btrfs_verify_level_key() local 368 btrfs_node_key_to_cpu(eb, &found_key, 0); in btrfs_verify_level_key() 370 btrfs_item_key_to_cpu(eb, &found_key, 0); in btrfs_verify_level_key() 371 ret = btrfs_comp_cpu_keys(first_key, &found_key); in btrfs_verify_level_key() 380 found_key.objectid, found_key.type, in btrfs_verify_level_key() 381 found_key.offset); in btrfs_verify_level_key() 4808 struct btrfs_key found_key; in btrfs_find_highest_objectid() local 4825 btrfs_item_key_to_cpu(l, &found_key, slot); in btrfs_find_highest_objectid() 4826 *objectid = max_t(u64, found_key in btrfs_find_highest_objectid() [all...] |
H A D | block-group.c | 1604 struct btrfs_key found_key; in find_first_block_group() local 1623 btrfs_item_key_to_cpu(leaf, &found_key, slot); in find_first_block_group() 1625 if (found_key.objectid >= key->objectid && in find_first_block_group() 1626 found_key.type == BTRFS_BLOCK_GROUP_ITEM_KEY) { in find_first_block_group() 1627 ret = read_bg_from_eb(fs_info, &found_key, path); in find_first_block_group()
|
H A D | free-space-cache.c | 1042 struct btrfs_key found_key; in update_cache_item() local 1045 btrfs_item_key_to_cpu(leaf, &found_key, path->slots[0]); in update_cache_item() 1046 if (found_key.objectid != BTRFS_FREE_SPACE_OBJECTID || in update_cache_item() 1047 found_key.offset != offset) { in update_cache_item()
|
H A D | extent_io.c | 4680 struct btrfs_key found_key; in extent_fiemap() local 4731 btrfs_item_key_to_cpu(path->nodes[0], &found_key, path->slots[0]); in extent_fiemap() 4732 found_type = found_key.type; in extent_fiemap() 4735 if (found_key.objectid != btrfs_ino(inode) || in extent_fiemap() 4746 last = found_key.offset; in extent_fiemap()
|
H A D | ctree.h | 2734 u64 inum, u64 ioff, u8 key_type, struct btrfs_key *found_key);
|
/kernel/linux/linux-6.6/fs/btrfs/ |
H A D | print-tree.c | 218 struct btrfs_key found_key; in btrfs_print_leaf() local 247 btrfs_dir_item_key_to_cpu(l, di, &found_key); in btrfs_print_leaf() 249 found_key.objectid, in btrfs_print_leaf()
|
H A D | ctree.h | 562 u64 inum, u64 ioff, u8 key_type, struct btrfs_key *found_key); 653 * Search in @root for a given @key, and store the slot found in @found_key. 657 * @found_key: Will hold the found item. 671 #define btrfs_for_each_slot(root, key, found_key, path, iter_ret) \ 674 (iter_ret = btrfs_get_next_valid_item((root), (found_key), (path))) == 0; \
|
H A D | dev-replace.c | 458 struct btrfs_key found_key; in mark_block_group_to_copy() local 514 btrfs_for_each_slot(root, &key, &found_key, path, iter_ret) { in mark_block_group_to_copy() 517 if (found_key.objectid != src_dev->devid) in mark_block_group_to_copy() 520 if (found_key.type != BTRFS_DEV_EXTENT_KEY) in mark_block_group_to_copy() 523 if (found_key.offset < key.offset) in mark_block_group_to_copy()
|
H A D | volumes.c | 1738 struct btrfs_key found_key; in btrfs_free_dev_extent() local 1757 btrfs_item_key_to_cpu(leaf, &found_key, path->slots[0]); in btrfs_free_dev_extent() 1760 BUG_ON(found_key.offset > start || found_key.offset + in btrfs_free_dev_extent() 1762 key = found_key; in btrfs_free_dev_extent() 1807 struct btrfs_key found_key; in find_next_devid() local 1835 btrfs_item_key_to_cpu(path->nodes[0], &found_key, in find_next_devid() 1837 *devid_ret = found_key.offset + 1; in find_next_devid() 3333 struct btrfs_key found_key; in btrfs_relocate_sys_chunks() local 3367 btrfs_item_key_to_cpu(leaf, &found_key, pat in btrfs_relocate_sys_chunks() 3870 struct btrfs_key found_key; __btrfs_balance() local 7236 struct btrfs_key found_key; btrfs_read_chunk_tree() local [all...] |
H A D | zoned.c | 1221 struct btrfs_key found_key; in calculate_alloc_pointer() local 1265 btrfs_item_key_to_cpu(path->nodes[0], &found_key, path->slots[0]); in calculate_alloc_pointer() 1267 if (found_key.type == BTRFS_EXTENT_ITEM_KEY) in calculate_alloc_pointer() 1268 length = found_key.offset; in calculate_alloc_pointer() 1272 if (!(found_key.objectid >= cache->start && in calculate_alloc_pointer() 1273 found_key.objectid + length <= cache->start + cache->length)) { in calculate_alloc_pointer() 1277 *offset_ret = found_key.objectid + length - cache->start; in calculate_alloc_pointer()
|
H A D | tree-checker.c | 1986 struct btrfs_key found_key; in btrfs_verify_level_key() local 2021 btrfs_node_key_to_cpu(eb, &found_key, 0); in btrfs_verify_level_key() 2023 btrfs_item_key_to_cpu(eb, &found_key, 0); in btrfs_verify_level_key() 2024 ret = btrfs_comp_cpu_keys(first_key, &found_key); in btrfs_verify_level_key() 2033 found_key.objectid, found_key.type, in btrfs_verify_level_key() 2034 found_key.offset); in btrfs_verify_level_key()
|
H A D | block-group.c | 583 struct btrfs_key *found_key) in sample_block_group_extent_item() 615 btrfs_for_each_slot(extent_root, &search_key, found_key, path, ret) { in sample_block_group_extent_item() 617 if (found_key->type == BTRFS_EXTENT_ITEM_KEY && in sample_block_group_extent_item() 618 found_key->objectid >= block_group->start && in sample_block_group_extent_item() 619 found_key->objectid + found_key->offset <= search_end) in sample_block_group_extent_item() 623 if (found_key->objectid >= search_end) { in sample_block_group_extent_item() 2029 struct btrfs_key found_key; in find_first_block_group() local 2031 btrfs_for_each_slot(root, key, &found_key, path, ret) { in find_first_block_group() 2032 if (found_key in find_first_block_group() 580 sample_block_group_extent_item(struct btrfs_caching_control *caching_ctl, struct btrfs_block_group *block_group, int index, int max_index, struct btrfs_key *found_key) sample_block_group_extent_item() argument [all...] |
H A D | backref.h | 205 struct btrfs_path *path, struct btrfs_key *found_key,
|
H A D | disk-io.c | 405 struct btrfs_key found_key; in btrfs_validate_extent_buffer() local 408 btrfs_node_key_to_cpu(eb, &found_key, 0); in btrfs_validate_extent_buffer() 410 btrfs_item_key_to_cpu(eb, &found_key, 0); in btrfs_validate_extent_buffer() 411 if (unlikely(btrfs_comp_cpu_keys(expect_key, &found_key))) { in btrfs_validate_extent_buffer() 417 found_key.objectid, found_key.type, in btrfs_validate_extent_buffer() 418 found_key.offset); in btrfs_validate_extent_buffer() 4967 struct btrfs_key found_key; in btrfs_init_root_free_objectid() local 4984 btrfs_item_key_to_cpu(l, &found_key, slot); in btrfs_init_root_free_objectid() 4985 root->free_objectid = max_t(u64, found_key in btrfs_init_root_free_objectid() [all...] |
H A D | free-space-cache.c | 1168 struct btrfs_key found_key; in update_cache_item() local 1171 btrfs_item_key_to_cpu(leaf, &found_key, path->slots[0]); in update_cache_item() 1172 if (found_key.objectid != BTRFS_FREE_SPACE_OBJECTID || in update_cache_item() 1173 found_key.offset != offset) { in update_cache_item()
|
/third_party/skia/third_party/externals/microhttpd/src/microhttpd/ |
H A D | daemon.c | 376 struct MHD_IPCount *found_key; in MHD_ip_limit_del() local 398 found_key = (struct MHD_IPCount *) *nodep; in MHD_ip_limit_del() 400 if (0 == found_key->count) in MHD_ip_limit_del() 405 if (0 == --found_key->count) in MHD_ip_limit_del() 407 tdelete (found_key, in MHD_ip_limit_del() 410 free (found_key); in MHD_ip_limit_del()
|