Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Find the offset of the base PFN from the specified align_order.* The value returned is represented in order_per_bits.

Proto:static unsigned long cma_bitmap_aligned_offset(const struct cma *cma, unsigned int align_order)

Type:unsigned long

Parameter:

TypeParameterName
const struct cma *cma
unsigned intalign_order
73  Return (base_pfn & (1UL << align_order) - 1 ) >> Order of pages represented by one bit
Caller
NameDescribe
cma_allocma_alloc() - allocate pages from contiguous area*@cma: Contiguous memory region for which the allocation is performed