Searched refs:bitmap_maxno (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/mm/ |
H A D | cma_debug.c | 54 unsigned long bitmap_maxno = cma_bitmap_maxno(cma); in cma_maxchunk_get() local 58 start = find_next_zero_bit(cma->bitmap, bitmap_maxno, end); in cma_maxchunk_get() 59 if (start >= bitmap_maxno) in cma_maxchunk_get() 61 end = find_next_bit(cma->bitmap, bitmap_maxno, start); in cma_maxchunk_get()
|
H A D | cma.c | 431 unsigned long bitmap_maxno, bitmap_no, bitmap_count; in cma_alloc() local 449 bitmap_maxno = cma_bitmap_maxno(cma); in cma_alloc() 452 if (bitmap_count > bitmap_maxno) in cma_alloc() 458 bitmap_maxno, start, bitmap_count, mask, in cma_alloc() 460 if (bitmap_no >= bitmap_maxno) { in cma_alloc()
|