Home
last modified time | relevance | path

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

/linux-6.1.9/mm/
Dcma.c85 unsigned long bitmap_no, bitmap_count; in cma_clear_bitmap() local
88 bitmap_no = (pfn - cma->base_pfn) >> cma->order_per_bit; in cma_clear_bitmap()
92 bitmap_clear(cma->bitmap, bitmap_no, bitmap_count); in cma_clear_bitmap()
430 unsigned long bitmap_maxno, bitmap_no, bitmap_count; in cma_alloc() local
456 bitmap_no = bitmap_find_next_zero_area_off(cma->bitmap, in cma_alloc()
459 if (bitmap_no >= bitmap_maxno) { in cma_alloc()
463 bitmap_set(cma->bitmap, bitmap_no, bitmap_count); in cma_alloc()
471 pfn = cma->base_pfn + (bitmap_no << cma->order_per_bit); in cma_alloc()
491 start = bitmap_no + mask + 1; in cma_alloc()