Home
last modified time | relevance | path

Searched refs:cgroup_atype (Results 1 – 4 of 4) sorted by relevance

/linux/kernel/bpf/
H A Dtrampoline.c1071 int cgroup_atype, in cgroup_shim_alloc() argument
1090 p->aux->cgroup_atype = cgroup_atype; in cgroup_shim_alloc()
1100 bpf_cgroup_atype_get(p->aux->attach_btf_id, cgroup_atype); in cgroup_shim_alloc()
1124 int cgroup_atype, in bpf_trampoline_link_cgroup_shim() argument
1160 shim_link = cgroup_shim_alloc(prog, bpf_func, cgroup_atype, attach_type); in bpf_trampoline_link_cgroup_shim()
H A Dcgroup.c135 shim_prog->aux->cgroup_atype, in __cgroup_bpf_run_lsm_sock()
157 shim_prog->aux->cgroup_atype, in __cgroup_bpf_run_lsm_socket()
176 shim_prog->aux->cgroup_atype, in __cgroup_bpf_run_lsm_current()
204 void bpf_cgroup_atype_get(u32 attach_btf_id, int cgroup_atype) in bpf_cgroup_atype_get() argument
206 int i = cgroup_atype - CGROUP_LSM_START; in bpf_cgroup_atype_get()
220 void bpf_cgroup_atype_put(int cgroup_atype) in bpf_cgroup_atype_put() argument
222 int i = cgroup_atype - CGROUP_LSM_START; in bpf_cgroup_atype_put()
H A Dcore.c132 aux->cgroup_atype = CGROUP_BPF_ATTACH_TYPE_INVALID; in bpf_prog_alloc_no_stats()
3073 if (aux->cgroup_atype != CGROUP_BPF_ATTACH_TYPE_INVALID) in bpf_prog_free_deferred()
3074 bpf_cgroup_atype_put(aux->cgroup_atype); in bpf_prog_free_deferred()
/linux/include/linux/
H A Dbpf.h1815 int cgroup_atype; /* enum cgroup_bpf_attach_type */ member
2358 int cgroup_atype,
2363 int cgroup_atype, in bpf_trampoline_link_cgroup_shim() argument
4125 void bpf_cgroup_atype_get(u32 attach_btf_id, int cgroup_atype);
4126 void bpf_cgroup_atype_put(int cgroup_atype);
4128 static inline void bpf_cgroup_atype_get(u32 attach_btf_id, int cgroup_atype) {} in bpf_cgroup_atype_get() argument
4129 static inline void bpf_cgroup_atype_put(int cgroup_atype) {} in bpf_cgroup_atype_put() argument