函数逻辑报告

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

函数名称:cma_bitmap_pages_to_bits

函数原型:static unsigned long cma_bitmap_pages_to_bits(const struct cma *cma, unsigned long pages)

返回类型:unsigned long

参数:

类型参数名称
const struct cma *cma
unsigned longpages
80  返回:@a is a power of 2 value (pages, 1UL << Order of pages represented by one bit )右移 Order of pages represented by one bit
调用者
名称描述
cma_clear_bitmap
cma_allocma_alloc() - allocate pages from contiguous area*@cma: Contiguous memory region for which the allocation is performed