/kernel/linux/linux-5.10/fs/btrfs/ |
H A D | extent_map.c | 81 kfree(em->map_lookup); in free_extent_map() 217 if (prev->map_lookup || next->map_lookup) in mergable_maps() 223 prev->map_lookup == next->map_lookup && in mergable_maps() 358 struct map_lookup *map = em->map_lookup; in extent_map_device_set_bits() 373 struct map_lookup *map = em->map_lookup; in extent_map_device_clear_bits()
|
H A D | raid56.h | 10 static inline int nr_parity_stripes(const struct map_lookup *map) in nr_parity_stripes() 20 static inline int nr_data_stripes(const struct map_lookup *map) in nr_data_stripes()
|
H A D | extent_map.h | 46 struct map_lookup *map_lookup; member
|
H A D | volumes.c | 3018 struct map_lookup *map; in btrfs_remove_chunk() 3033 map = em->map_lookup; in btrfs_remove_chunk() 5156 struct map_lookup *map = NULL; in create_chunk() 5192 em->map_lookup = map; in create_chunk() 5314 struct map_lookup *map; in btrfs_finish_chunk_alloc() 5325 map = em->map_lookup; in btrfs_finish_chunk_alloc() 5417 static inline int btrfs_chunk_max_errors(struct map_lookup *map) in btrfs_chunk_max_errors() 5427 struct map_lookup *map; in btrfs_chunk_readonly() 5436 map = em->map_lookup; in btrfs_chunk_readonly() 5484 struct map_lookup *ma in btrfs_num_copies() [all...] |
H A D | volumes.h | 327 u64 map_type; /* get from map_lookup->type */ 370 struct map_lookup { struct 381 #define map_lookup_size(n) (sizeof(struct map_lookup) + \
|
H A D | block-group.c | 1182 struct map_lookup *map; in btrfs_start_trans_remove_block_group() 1209 map = em->map_lookup; in btrfs_start_trans_remove_block_group() 1585 if (flags != (em->map_lookup->type & BTRFS_BLOCK_GROUP_TYPE_MASK)) { in read_bg_from_eb() 1589 (BTRFS_BLOCK_GROUP_TYPE_MASK & em->map_lookup->type)); in read_bg_from_eb() 1669 struct map_lookup *map; in btrfs_rmap_block() 1681 map = em->map_lookup; in btrfs_rmap_block() 1869 (em->map_lookup->type & BTRFS_BLOCK_GROUP_TYPE_MASK)) { in check_chunk_block_group_mappings() 1873 em->map_lookup->type & BTRFS_BLOCK_GROUP_TYPE_MASK, in check_chunk_block_group_mappings()
|
H A D | dev-replace.c | 656 struct map_lookup *map; in btrfs_dev_replace_update_device_in_mapping_tree() 665 map = em->map_lookup; in btrfs_dev_replace_update_device_in_mapping_tree()
|
H A D | scrub.c | 2402 static int scrub_extent(struct scrub_ctx *sctx, struct map_lookup *map, in scrub_extent() 2596 struct map_lookup *map, u64 *offset, in get_raid56_logic_offset() 2751 struct map_lookup *map, in scrub_raid56_parity() 2976 struct map_lookup *map, in scrub_stripe() 3372 struct map_lookup *map; in scrub_chunk() 3394 map = em->map_lookup; in scrub_chunk()
|
/kernel/linux/linux-6.6/fs/btrfs/ |
H A D | extent_map.c | 71 kfree(em->map_lookup); in free_extent_map() 213 if (prev->map_lookup || next->map_lookup) in mergable_maps() 219 prev->map_lookup == next->map_lookup && in mergable_maps() 359 struct map_lookup *map = em->map_lookup; in extent_map_device_set_bits() 375 struct map_lookup *map = em->map_lookup; in extent_map_device_clear_bits()
|
H A D | extent_map.h | 54 struct map_lookup *map_lookup; member
|
H A D | raid56.h | 167 static inline int nr_data_stripes(const struct map_lookup *map) in nr_data_stripes()
|
H A D | volumes.c | 3067 struct map_lookup *map, u64 chunk_offset) in remove_chunk_item() 3093 struct map_lookup *map; in btrfs_remove_chunk() 3108 map = em->map_lookup; in btrfs_remove_chunk() 5380 struct map_lookup *map = NULL; in create_chunk() 5416 em->map_lookup = map; in create_chunk() 5543 struct map_lookup *map; in btrfs_chunk_alloc_add_chunk_item() 5579 map = em->map_lookup; in btrfs_chunk_alloc_add_chunk_item() 5681 static inline int btrfs_chunk_max_errors(struct map_lookup *map) in btrfs_chunk_max_errors() 5691 struct map_lookup *map; in btrfs_chunk_writeable() 5700 map = em->map_lookup; in btrfs_chunk_writeable() [all...] |
H A D | scrub.c | 1293 struct map_lookup *map, u64 *offset, in get_raid56_logic_offset() 1846 struct map_lookup *map, in scrub_raid56_parity_stripe() 2015 struct map_lookup *map, in scrub_simple_mirror() 2076 static u64 simple_stripe_full_stripe_len(const struct map_lookup *map) in simple_stripe_full_stripe_len() 2085 static u64 simple_stripe_get_logical(struct map_lookup *map, in simple_stripe_get_logical() 2102 static int simple_stripe_mirror_num(struct map_lookup *map, int stripe_index) in simple_stripe_mirror_num() 2114 struct map_lookup *map, in scrub_simple_stripe() 2152 struct map_lookup *map = em->map_lookup; in scrub_stripe() 2322 struct map_lookup *ma in scrub_chunk() [all...] |
H A D | block-group.c | 1300 struct map_lookup *map; in btrfs_start_trans_remove_block_group() 1327 map = em->map_lookup; in btrfs_start_trans_remove_block_group() 2010 if (flags != (em->map_lookup->type & BTRFS_BLOCK_GROUP_TYPE_MASK)) { in read_bg_from_eb() 2014 (BTRFS_BLOCK_GROUP_TYPE_MASK & em->map_lookup->type)); in read_bg_from_eb() 2073 struct map_lookup *map; in btrfs_rmap_block() 2085 map = em->map_lookup; in btrfs_rmap_block() 2276 (em->map_lookup->type & BTRFS_BLOCK_GROUP_TYPE_MASK)) { in check_chunk_block_group_mappings() 2280 em->map_lookup->type & BTRFS_BLOCK_GROUP_TYPE_MASK, in check_chunk_block_group_mappings() 2423 struct map_lookup *map; in fill_dummy_bgs() 2427 map = em->map_lookup; in fill_dummy_bgs() [all...] |
H A D | volumes.h | 417 u64 map_type; /* get from map_lookup->type */ 515 struct map_lookup { struct 525 #define map_lookup_size(n) (sizeof(struct map_lookup) + \
|
H A D | block-group.h | 246 struct map_lookup *physical_map;
|
H A D | dev-replace.c | 553 struct map_lookup *map; in btrfs_finish_block_group_to_copy() 571 map = em->map_lookup; in btrfs_finish_block_group_to_copy() 832 struct map_lookup *map; in btrfs_dev_replace_update_device_in_mapping_tree() 841 map = em->map_lookup; in btrfs_dev_replace_update_device_in_mapping_tree()
|
H A D | zoned.c | 1290 struct map_lookup *map; in btrfs_load_block_group_zone_info() 1323 map = em->map_lookup; in btrfs_load_block_group_zone_info() 1966 struct map_lookup *map; in btrfs_zone_activate() 2074 struct map_lookup *map; in do_zone_finish() 2523 struct map_lookup *map = block_group->physical_map; in btrfs_check_active_zone_reservation()
|
/kernel/linux/linux-5.10/fs/btrfs/tests/ |
H A D | extent-map-tests.c | 460 struct map_lookup *map = NULL; in test_rmap_block() 484 em->map_lookup = map; in test_rmap_block()
|
/kernel/linux/linux-6.6/fs/btrfs/tests/ |
H A D | extent-map-tests.c | 863 struct map_lookup *map = NULL; in test_rmap_block() 887 em->map_lookup = map; in test_rmap_block()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/bpf/ |
H A D | main.h | 120 * @helpers.map_lookup: map lookup helper address 167 u32 map_lookup; member
|
H A D | main.c | 249 bpf->helpers.map_lookup = readl(&cap->func_addr); in nfp_bpf_parse_cap_func()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/netronome/nfp/bpf/ |
H A D | main.h | 120 * @helpers.map_lookup: map lookup helper address 167 u32 map_lookup; member
|
H A D | main.c | 249 bpf->helpers.map_lookup = readl(&cap->func_addr); in nfp_bpf_parse_cap_func()
|
/kernel/linux/linux-5.10/include/trace/events/ |
H A D | btrfs.h | 24 struct map_lookup; 972 const struct map_lookup *map, u64 offset, u64 size), 1006 const struct map_lookup *map, u64 offset, u64 size), 1014 const struct map_lookup *map, u64 offset, u64 size),
|