Searched refs:map_lookup_size (Results 1 – 4 of 4) sorted by relevance
473 map = kmalloc(map_lookup_size(test->num_stripes), GFP_KERNEL); in test_rmap_block()
552 #define map_lookup_size(n) (sizeof(struct map_lookup) + \ macro
1315 cache->physical_map = kmemdup(map, map_lookup_size(map->num_stripes), GFP_NOFS); in btrfs_load_block_group_zone_info()
5384 map = kmalloc(map_lookup_size(ctl->num_stripes), GFP_NOFS); in create_chunk()7209 map = kmalloc(map_lookup_size(num_stripes), GFP_NOFS); in read_one_chunk()