Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:delta_create

Proto:static void *delta_create(void *priv, void *parent_obj, void *obj)

Type:void

Parameter:

TypeParameterName
void *priv
void *parent_obj
void *obj
101  parent_key = parent_obj
102  world = priv
103  key = obj
104  diff = id - id
107  If Not delta_check(priv, parent_obj, obj) Then Return ERR_PTR( - EINVAL)
110  delta = 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).
111  If Not delta Then Return ERR_PTR( - ENOMEM)
113  key_id_diff = diff
114  delta_count++
115  Return delta