函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:parman_create - creates a new parman instance*@ops: caller-specific callbacks*@priv: pointer to a private data passed to the ops* Note: all locking must be provided by the caller.* Each parman instance manages an array area with chunks of entries

函数原型:struct parman *parman_create(const struct parman_ops *ops, void *priv)

返回类型:struct parman

参数:

类型参数名称
const struct parman_ops *ops
void *priv
272  parman等于分配内存并置零
273  如果非parman则返回:NULL
275  初始化链表头
276  ops等于ops
277  priv等于priv
278  limit_count等于base_count
279  algo等于parman_algos[algo]
280  返回:parman
调用者
名称描述
test_parman_create