Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:array_of_map_alloc

Proto:static struct bpf_map *array_of_map_alloc(union bpf_attr *attr)

Type:struct bpf_map

Parameter:

TypeParameterName
union bpf_attr *attr
1007  inner_map_meta = bpf_map_meta_alloc( fd pointing to the inner map )
1008  If IS_ERR(inner_map_meta) Then Return inner_map_meta
1011  map = array_map_alloc(attr)
1012  If IS_ERR(map) Then
1013  bpf_map_meta_free(inner_map_meta)
1014  Return map
1017  inner_map_meta = inner_map_meta
1019  Return map