Searched refs:blk_bitmap (Results 1 – 3 of 3) sorted by relevance
/openbmc/qemu/hw/mem/ |
H A D | cxl_type3.c | 675 region->blk_bitmap = bitmap_new(region->len / region->block_size); in cxl_create_dc_regions() 704 g_free(region->blk_bitmap); in cxl_destroy_dc_regions() 989 bitmap_set(region->blk_bitmap, (dpa - region->base) / region->block_size, in ct3_set_region_block_backed() 1015 return find_next_zero_bit(region->blk_bitmap, nr + nbits, nr) == nr + nbits; in ct3_test_region_block_backed() 1036 bitmap_clear(region->blk_bitmap, nr, nbits); in ct3_clear_region_block_backed() 1936 g_autofree unsigned long *blk_bitmap = NULL; in qmp_cxl_process_dynamic_capacity_prescriptive() local 1957 blk_bitmap = bitmap_new(dcd->dc.regions[rid].len / block_size); in qmp_cxl_process_dynamic_capacity_prescriptive() 1982 if (test_any_bits_set(blk_bitmap, offset / block_size, in qmp_cxl_process_dynamic_capacity_prescriptive() 1987 bitmap_set(blk_bitmap, offset / block_size, len / block_size); in qmp_cxl_process_dynamic_capacity_prescriptive()
|
/openbmc/qemu/include/hw/cxl/ |
H A D | cxl_device.h | 520 unsigned long *blk_bitmap; member
|
/openbmc/qemu/hw/cxl/ |
H A D | cxl-mailbox-utils.c | 2383 g_autofree unsigned long *blk_bitmap = NULL; in cxl_detect_malformed_extent_list() local 2392 blk_bitmap = bitmap_new((lastregion->base + lastregion->len - in cxl_detect_malformed_extent_list() 2409 if (test_any_bits_set(blk_bitmap, dpa / min_block_size, in cxl_detect_malformed_extent_list() 2413 bitmap_set(blk_bitmap, dpa / min_block_size, len / min_block_size); in cxl_detect_malformed_extent_list()
|