Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:prog_idr_lock should have been held

Proto:struct bpf_prog *bpf_prog_inc_not_zero(struct bpf_prog *prog)

Type:struct bpf_prog

Parameter:

TypeParameterName
struct bpf_prog *prog
1556  refold = atomic64_fetch_add_unless( & refcnt, 1, 0)
1558  If Not refold Then Return ERR_PTR( - ENOENT)
1561  Return prog
Caller
NameDescribe
bpf_prog_get_fd_by_id