函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\bpf\core.c Create Date:2022-07-27 14:02:08
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:bpf_prog_array_alloc

函数原型:struct bpf_prog_array *bpf_prog_array_alloc(u32 prog_cnt, gfp_t flags)

返回类型:struct bpf_prog_array

参数:

类型参数名称
u32prog_cnt
gfp_tflags
1860  如果prog_cnt则返回:分配内存并置零
1866  返回:hdr
调用者
名称描述
bpf_prog_array_copy
compute_effective_progsmpute a chain of effective programs for a given cgroup:* start from the list of programs in this cgroup and add* all parent programs.* Note that parent's F_ALLOW_OVERRIDE-type program is yielding* to programs in this cgroup