Searched refs:cma_bitmap_maxno (Results 1 – 3 of 3) sorted by relevance
42 used = bitmap_weight(cma->bitmap, (int)cma_bitmap_maxno(cma)); in cma_used_get()55 unsigned long bitmap_maxno = cma_bitmap_maxno(cma); in cma_maxchunk_get()189 u32s = DIV_ROUND_UP(cma_bitmap_maxno(cma), BITS_PER_BYTE * sizeof(u32)); in cma_debugfs_add_one()
19 static inline unsigned long cma_bitmap_maxno(struct cma *cma) in cma_bitmap_maxno() function
96 int bitmap_size = BITS_TO_LONGS(cma_bitmap_maxno(cma)) * sizeof(long); in cma_activate_area()399 bitmap_maxno = cma_bitmap_maxno(cma); in cma_alloc()