Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\cma.c Create Date:2022-07-28 16:31:39
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:cma_bitmap_pages_to_bits

Proto:static unsigned long cma_bitmap_pages_to_bits(const struct cma *cma, unsigned long pages)

Type:unsigned long

Parameter:

TypeParameterName
const struct cma *cma
unsigned longpages
80  Return @a is a power of 2 value (pages, 1UL << Order of pages represented by one bit ) >> Order of pages represented by one bit
Caller
NameDescribe
cma_clear_bitmap
cma_allocma_alloc() - allocate pages from contiguous area*@cma: Contiguous memory region for which the allocation is performed