Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\bpf\hashtab.c Create Date:2022-07-28 13:10:36
Last Modify:2022-05-23 09:15:29 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:htab_of_map_alloc

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

Type:struct bpf_map

Parameter:

TypeParameterName
union bpf_attr *attr
1455  inner_map_meta = bpf_map_meta_alloc( fd pointing to the inner map )
1456  If IS_ERR(inner_map_meta) Then Return inner_map_meta
1459  map = htab_map_alloc(attr)
1460  If IS_ERR(map) Then
1461  bpf_map_meta_free(inner_map_meta)
1462  Return map
1465  inner_map_meta = inner_map_meta
1467  Return map