Lines Matching defs:aux
167 static int cgroup_iter_seq_init(void *priv, struct bpf_iter_aux_info *aux)
170 struct cgroup *cgrp = aux->cgroup.start;
181 p->order = aux->cgroup.order;
201 struct bpf_iter_aux_info *aux)
232 aux->cgroup.start = cgrp;
233 aux->cgroup.order = order;
237 static void bpf_iter_detach_cgroup(struct bpf_iter_aux_info *aux)
239 cgroup_put(aux->cgroup.start);
242 static void bpf_iter_cgroup_show_fdinfo(const struct bpf_iter_aux_info *aux,
258 cgroup_path_ns(aux->cgroup.start, buf, PATH_MAX,
264 if (aux->cgroup.order == BPF_CGROUP_ITER_DESCENDANTS_PRE)
266 else if (aux->cgroup.order == BPF_CGROUP_ITER_DESCENDANTS_POST)
268 else if (aux->cgroup.order == BPF_CGROUP_ITER_ANCESTORS_UP)
270 else if (aux->cgroup.order == BPF_CGROUP_ITER_CHILDREN)
276 static int bpf_iter_cgroup_fill_link_info(const struct bpf_iter_aux_info *aux,
279 info->iter.cgroup.order = aux->cgroup.order;
280 info->iter.cgroup.cgroup_id = cgroup_id(aux->cgroup.start);