Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:map_iter_alloc

Proto:static struct map_iter *map_iter_alloc(struct bpf_map *map)

Type:struct map_iter

Parameter:

TypeParameterName
struct bpf_map *map
178  iter = 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).
179  If Not iter Then Go to error
182  key = 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).
183  If Not key Then Go to error
186  Return iter
188  error :
189  map_iter_free(iter)
190  Return NULL
Caller
NameDescribe
bpffs_map_open