Lines Matching refs:cgroup

47 	__bpf_md_ptr(struct cgroup *, cgroup);
130 if (css && cgroup_is_dead(css->cgroup)) in __cgroup_iter_seq_show()
134 ctx.cgroup = css ? css->cgroup : NULL; in __cgroup_iter_seq_show()
160 BTF_ID_LIST_GLOBAL_SINGLE(bpf_cgroup_btf_id, struct, cgroup) in BTF_ID_LIST_GLOBAL_SINGLE() argument
165 struct cgroup *cgrp = aux->cgroup.start; in BTF_ID_LIST_GLOBAL_SINGLE()
176 p->order = aux->cgroup.order; in BTF_ID_LIST_GLOBAL_SINGLE()
198 int fd = linfo->cgroup.cgroup_fd; in bpf_iter_attach_cgroup()
199 u64 id = linfo->cgroup.cgroup_id; in bpf_iter_attach_cgroup()
200 int order = linfo->cgroup.order; in bpf_iter_attach_cgroup()
201 struct cgroup *cgrp; in bpf_iter_attach_cgroup()
222 aux->cgroup.start = cgrp; in bpf_iter_attach_cgroup()
223 aux->cgroup.order = order; in bpf_iter_attach_cgroup()
229 cgroup_put(aux->cgroup.start); in bpf_iter_detach_cgroup()
248 cgroup_path_ns(aux->cgroup.start, buf, PATH_MAX, in bpf_iter_cgroup_show_fdinfo()
254 if (aux->cgroup.order == BPF_CGROUP_ITER_DESCENDANTS_PRE) in bpf_iter_cgroup_show_fdinfo()
256 else if (aux->cgroup.order == BPF_CGROUP_ITER_DESCENDANTS_POST) in bpf_iter_cgroup_show_fdinfo()
258 else if (aux->cgroup.order == BPF_CGROUP_ITER_ANCESTORS_UP) in bpf_iter_cgroup_show_fdinfo()
267 info->iter.cgroup.order = aux->cgroup.order; in bpf_iter_cgroup_fill_link_info()
268 info->iter.cgroup.cgroup_id = cgroup_id(aux->cgroup.start); in bpf_iter_cgroup_fill_link_info()
272 DEFINE_BPF_ITER_FUNC(cgroup, struct bpf_iter_meta *meta,
273 struct cgroup *cgroup)
284 { offsetof(struct bpf_iter__cgroup, cgroup),