Searched refs:bitmap_maxno (Results 1 – 2 of 2) sorted by relevance
/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 | 412 unsigned long bitmap_maxno, bitmap_no, bitmap_count; in __cma_alloc() local 431 bitmap_maxno = cma_bitmap_maxno(cma); in __cma_alloc() 434 if (bitmap_count > bitmap_maxno) in __cma_alloc() 440 bitmap_maxno, start, bitmap_count, mask, in __cma_alloc() 442 if (bitmap_no >= bitmap_maxno) { in __cma_alloc()
|