Lines Matching refs:cgrp
28 struct cgroup *cgrp; in BPF_PROG() local
33 cgrp = bpf_cgroup_from_id(cg_id); in BPF_PROG()
35 if (!cgrp) in BPF_PROG()
38 css = &cgrp->self; in BPF_PROG()
45 bpf_cgroup_release(cgrp); in BPF_PROG()
50 static inline u64 cgroup_id(struct cgroup *cgrp) in cgroup_id() argument
52 return cgrp->kn->id; in cgroup_id()
59 struct cgroup *cgrp = ctx->cgroup; in cgroup_id_printer() local
64 if (cgrp == NULL) { in cgroup_id_printer()
73 BPF_SEQ_PRINTF(seq, "%8llu\n", cgroup_id(cgrp)); in cgroup_id_printer()
75 css = &cgrp->self; in cgroup_id_printer()
89 struct cgroup *cgrp = bpf_cgroup_from_id(cgrp_id); in BPF_PROG() local
93 if (cgrp == NULL) in BPF_PROG()
95 css = &cgrp->self; in BPF_PROG()
100 bpf_cgroup_release(cgrp); in BPF_PROG()