函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\cma.c Create Date:2022-07-27 18:06:54
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Find the offset of the base PFN from the specified align_order.* The value returned is represented in order_per_bits.

函数原型:static unsigned long cma_bitmap_aligned_offset(const struct cma *cma, unsigned int align_order)

返回类型:unsigned long

参数:

类型参数名称
const struct cma *cma
unsigned intalign_order
73  返回:base_pfn按位与1UL左移align_order位的值减1的值右移 Order of pages represented by one bit
调用者
名称描述
cma_allocma_alloc() - allocate pages from contiguous area*@cma: Contiguous memory region for which the allocation is performed