Searched refs:cma_bitmap_maxno (Results 1 – 3 of 3) sorted by relevance
41 used = bitmap_weight(cma->bitmap, (int)cma_bitmap_maxno(cma)); in cma_used_get()54 unsigned long bitmap_maxno = cma_bitmap_maxno(cma); in cma_maxchunk_get()183 u32s = DIV_ROUND_UP(cma_bitmap_maxno(cma), BITS_PER_BYTE * sizeof(u32)); in cma_debugfs_add_one()
104 cma->bitmap = bitmap_zalloc(cma_bitmap_maxno(cma), GFP_KERNEL); in cma_activate_area()379 unsigned long nbits = cma_bitmap_maxno(cma); in cma_debug_show_areas()434 bitmap_maxno = cma_bitmap_maxno(cma); in cma_alloc()
21 static inline unsigned long cma_bitmap_maxno(struct cma *cma) in cma_bitmap_maxno() function