Home
last modified time | relevance | path

Searched refs:bitmap_no (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.15/mm/
Dcma.c84 unsigned long bitmap_no, bitmap_count; in cma_clear_bitmap() local
87 bitmap_no = (pfn - cma->base_pfn) >> cma->order_per_bit; in cma_clear_bitmap()
91 bitmap_clear(cma->bitmap, bitmap_no, bitmap_count); in cma_clear_bitmap()
432 unsigned long bitmap_maxno, bitmap_no, bitmap_count; in cma_alloc() local
458 bitmap_no = bitmap_find_next_zero_area_off(cma->bitmap, in cma_alloc()
461 if (bitmap_no >= bitmap_maxno) { in cma_alloc()
465 bitmap_set(cma->bitmap, bitmap_no, bitmap_count); in cma_alloc()
473 pfn = cma->base_pfn + (bitmap_no << cma->order_per_bit); in cma_alloc()
492 start = bitmap_no + mask + 1; in cma_alloc()