函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:zbud_create_pool() - create a new zbud pool*@gfp: gfp flags when allocating the zbud pool structure*@ops: user-defined operations for the zbud pool* Return: pointer to the new zbud pool or NULL if the metadata allocation* failed.

函数原型:struct zbud_pool *zbud_create_pool(gfp_t gfp, const struct zbud_ops *ops)

返回类型:struct zbud_pool

参数:

类型参数名称
gfp_tgfp
const struct zbud_ops *ops
311  pool等于分配内存并置零
312  如果非pool则返回:NULL
314  spin_lock_init( & lock)
315  for_each_unbuddied_list(i, 0)
316  初始化链表头
317  初始化链表头
318  初始化链表头
319  pages_nr等于0
320  ops等于ops
321  返回:pool
调用者
名称描述
zbud_zpool_create