Searched refs:bitmap_maxno (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.15/mm/ |
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()
|
D | cma.c | 432 unsigned long bitmap_maxno, bitmap_no, bitmap_count; in cma_alloc() local 450 bitmap_maxno = cma_bitmap_maxno(cma); in cma_alloc() 453 if (bitmap_count > bitmap_maxno) in cma_alloc() 459 bitmap_maxno, start, bitmap_count, mask, in cma_alloc() 461 if (bitmap_no >= bitmap_maxno) { in cma_alloc()
|