Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\bpf\syscall.c Create Date:2022-07-28 12:53:22
Last Modify:2022-05-19 18:06:12 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:____bpf_prog_get

Proto:static struct bpf_prog *____bpf_prog_get(struct fd f)

Type:struct bpf_prog

Parameter:

TypeParameterName
struct fdf
1518  If Not file Then Return ERR_PTR( - EBADF)
1520  If f_op != bpf_prog_fops Then
1521  fdput(f)
1522  Return ERR_PTR( - EINVAL)
1525  Return needed for tty driver, and maybe others
Caller
NameDescribe
__bpf_prog_get