Searched refs:cgroup_atype (Results 1 – 4 of 4) sorted by relevance
| /linux/kernel/bpf/ |
| H A D | trampoline.c | 1124 int cgroup_atype, in cgroup_shim_alloc() argument 1143 p->aux->cgroup_atype = cgroup_atype; in cgroup_shim_alloc() 1153 bpf_cgroup_atype_get(p->aux->attach_btf_id, cgroup_atype); in cgroup_shim_alloc() 1177 int cgroup_atype, in bpf_trampoline_link_cgroup_shim() argument 1213 shim_link = cgroup_shim_alloc(prog, bpf_func, cgroup_atype, attach_type); in bpf_trampoline_link_cgroup_shim()
|
| H A D | cgroup.c | 163 shim_prog->aux->cgroup_atype, in __cgroup_bpf_run_lsm_current() 185 shim_prog->aux->cgroup_atype, in bpf_cgroup_atype_find() 204 shim_prog->aux->cgroup_atype, in bpf_cgroup_atype_get() argument 232 void bpf_cgroup_atype_get(u32 attach_btf_id, int cgroup_atype) 234 int i = cgroup_atype - CGROUP_LSM_START; in bpf_cgroup_atype_find() 248 void bpf_cgroup_atype_put(int cgroup_atype) in bpf_cgroup_storages_free() 250 int i = cgroup_atype - CGROUP_LSM_START; in bpf_cgroup_storages_free() 220 bpf_cgroup_atype_put(int cgroup_atype) bpf_cgroup_atype_put() argument
|
| H A D | core.c | 134 aux->cgroup_atype = CGROUP_BPF_ATTACH_TYPE_INVALID; in bpf_prog_alloc_no_stats() 3183 if (aux->cgroup_atype != CGROUP_BPF_ATTACH_TYPE_INVALID) 3184 bpf_cgroup_atype_put(aux->cgroup_atype);
|
| /linux/include/linux/ |
| H A D | bpf.h | 1937 int cgroup_atype; /* enum cgroup_bpf_attach_type */ 2234 * @cgroup_atype: A value in enum cgroup_bpf_attach_type for cgroup attachment. in is_tracing_multi() 2236 * If cgroup_atype is non-zero, the @reg and @unreg must be NULL 2264 int cgroup_atype; 2538 int cgroup_atype, 2543 int cgroup_atype, 4337 void bpf_cgroup_atype_get(u32 attach_btf_id, int cgroup_atype); 4338 void bpf_cgroup_atype_put(int cgroup_atype); 4340 static inline void bpf_cgroup_atype_get(u32 attach_btf_id, int cgroup_atype) {} 4341 static inline void bpf_cgroup_atype_put(int cgroup_atype) {} 1854 int cgroup_atype; /* enum cgroup_bpf_attach_type */ global() member 2402 bpf_trampoline_link_cgroup_shim(struct bpf_prog * prog,int cgroup_atype,enum bpf_attach_type attach_type) bpf_trampoline_link_cgroup_shim() argument 4167 bpf_cgroup_atype_get(u32 attach_btf_id,int cgroup_atype) bpf_cgroup_atype_get() argument 4168 bpf_cgroup_atype_put(int cgroup_atype) bpf_cgroup_atype_put() argument [all...] |