Home
last modified time | relevance | path

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

/openbmc/linux/mm/
H A Dcma.c86 unsigned long bitmap_no, bitmap_count; in cma_clear_bitmap() local
89 bitmap_no = (pfn - cma->base_pfn) >> cma->order_per_bit; in cma_clear_bitmap()
93 bitmap_clear(cma->bitmap, bitmap_no, bitmap_count); in cma_clear_bitmap()
431 unsigned long bitmap_maxno, bitmap_no, bitmap_count; in cma_alloc() local
457 bitmap_no = bitmap_find_next_zero_area_off(cma->bitmap, in cma_alloc()
460 if (bitmap_no >= bitmap_maxno) { in cma_alloc()
464 bitmap_set(cma->bitmap, bitmap_no, bitmap_count); in cma_alloc()
472 pfn = cma->base_pfn + (bitmap_no << cma->order_per_bit); in cma_alloc()
492 start = bitmap_no + mask + 1; in cma_alloc()