函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:cma_alloc_mem

函数原型:static int cma_alloc_mem(struct cma *cma, int count)

返回类型:int

参数:

类型参数名称
struct cma *cma
intcount
136  mem等于分配内存并置零
137  如果非mem则返回:负ENOMEM
140  p等于ma_alloc() - allocate pages from contiguous area*@cma: Contiguous memory region for which the allocation is performed
141  如果非p
142  释放内存
143  返回:负ENOMEM
146  p等于p
147  n等于count
149  cma_add_to_cma_mem_list(cma, mem)
151  返回:0
调用者
名称描述
cma_alloc_write