Lines Matching defs:attach_btf_id
160 u32 attach_btf_id;
167 bpf_cgroup_atype_find(enum bpf_attach_type attach_type, u32 attach_btf_id)
177 if (cgroup_lsm_atype[i].attach_btf_id == attach_btf_id)
181 if (cgroup_lsm_atype[i].attach_btf_id == 0)
188 void bpf_cgroup_atype_get(u32 attach_btf_id, int cgroup_atype)
194 WARN_ON_ONCE(cgroup_lsm_atype[i].attach_btf_id &&
195 cgroup_lsm_atype[i].attach_btf_id != attach_btf_id);
197 cgroup_lsm_atype[i].attach_btf_id = attach_btf_id;
207 cgroup_lsm_atype[i].attach_btf_id = 0;
213 bpf_cgroup_atype_find(enum bpf_attach_type attach_type, u32 attach_btf_id)
815 atype = bpf_cgroup_atype_find(type, new_prog->aux->attach_btf_id);
986 atype = bpf_cgroup_atype_find(link->link.attach_type, new_prog->aux->attach_btf_id);
1143 u32 attach_btf_id = 0;
1147 attach_btf_id = prog->aux->attach_btf_id;
1149 attach_btf_id = link->link.prog->aux->attach_btf_id;
1151 atype = bpf_cgroup_atype_find(type, attach_btf_id);