Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\parman.c Create Date:2022-07-28 07:23:07
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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

Proto:struct parman *parman_create(const struct parman_ops *ops, void *priv)

Type:struct parman

Parameter:

TypeParameterName
const struct parman_ops *ops
void *priv
272  parman = kzalloc - allocate memory. The memory is set to zero.*@size: how many bytes of memory are required.*@flags: the type of memory to allocate (see kmalloc).
273  If Not parman Then Return NULL
275  Initialization list head
276  ops = ops
277  priv = priv
278  limit_count = base_count
279  algo = parman_algos[algo]
280  Return parman
Caller
NameDescribe
test_parman_create