Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\bpf\verifier.c Create Date:2022-07-28 13:03:50
Last Modify:2022-05-19 20:02:10 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:check_map_prealloc

Proto:static int check_map_prealloc(struct bpf_map *map)

Type:int

Parameter:

TypeParameterName
struct bpf_map *map
8098  Return map_type != BPF_MAP_TYPE_HASH && map_type != BPF_MAP_TYPE_PERCPU_HASH && map_type != BPF_MAP_TYPE_HASH_OF_MAPS || Not (map_flags & lags for BPF_MAP_CREATE command )
Caller
NameDescribe
check_map_prog_compatibility