Searched refs:cgroup_atype (Results 1 – 4 of 4) sorted by relevance
| /linux/kernel/bpf/ |
| H A D | trampoline.c | 677 int cgroup_atype, in cgroup_shim_alloc() argument 696 p->aux->cgroup_atype = cgroup_atype; in cgroup_shim_alloc() 706 bpf_cgroup_atype_get(p->aux->attach_btf_id, cgroup_atype); in cgroup_shim_alloc() 730 int cgroup_atype, in bpf_trampoline_link_cgroup_shim() argument 768 shim_link = cgroup_shim_alloc(prog, bpf_func, cgroup_atype, attach_type); in bpf_trampoline_link_cgroup_shim()
|
| H A D | cgroup.c | 112 shim_prog->aux->cgroup_atype, in __cgroup_bpf_run_lsm_sock() 134 shim_prog->aux->cgroup_atype, in __cgroup_bpf_run_lsm_socket() 153 shim_prog->aux->cgroup_atype, in __cgroup_bpf_run_lsm_current() 188 void bpf_cgroup_atype_get(u32 attach_btf_id, int cgroup_atype) in bpf_cgroup_atype_get() argument 190 int i = cgroup_atype - CGROUP_LSM_START; in bpf_cgroup_atype_get() 201 void bpf_cgroup_atype_put(int cgroup_atype) in bpf_cgroup_atype_put() argument 203 int i = cgroup_atype - CGROUP_LSM_START; in bpf_cgroup_atype_put()
|
| H A D | core.c | 129 aux->cgroup_atype = CGROUP_BPF_ATTACH_TYPE_INVALID; in bpf_prog_alloc_no_stats() 2873 if (aux->cgroup_atype != CGROUP_BPF_ATTACH_TYPE_INVALID) in bpf_prog_free_deferred() 2874 bpf_cgroup_atype_put(aux->cgroup_atype); in bpf_prog_free_deferred()
|
| /linux/include/linux/ |
| H A D | bpf.h | 1671 int cgroup_atype; /* enum cgroup_bpf_attach_type */ member 2075 int cgroup_atype, 2080 int cgroup_atype, in bpf_trampoline_link_cgroup_shim() argument 3738 void bpf_cgroup_atype_get(u32 attach_btf_id, int cgroup_atype); 3739 void bpf_cgroup_atype_put(int cgroup_atype); 3741 static inline void bpf_cgroup_atype_get(u32 attach_btf_id, int cgroup_atype) {} in bpf_cgroup_atype_get() argument 3742 static inline void bpf_cgroup_atype_put(int cgroup_atype) {} in bpf_cgroup_atype_put() argument
|