Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:bpf_any_get

Proto:static void *bpf_any_get(void *raw, enum bpf_type type)

Type:void

Parameter:

TypeParameterName
void *raw
enum bpf_typetype
33  Case type == BPF_TYPE_PROG
34  bpf_prog_inc(raw)
35  Break
36  Case type == BPF_TYPE_MAP
37  bpf_map_inc_with_uref(raw)
38  Break
39  Default
40  WARN_ON_ONCE(1)
41  Break
44  Return raw
Caller
NameDescribe
bpf_obj_do_get