Home
last modified time | relevance | path

Searched refs:cgrp (Results 1 – 8 of 8) sorted by relevance

/include/linux/
Dcgroup.h314 static inline u64 cgroup_id(const struct cgroup *cgrp) in cgroup_id() argument
316 return cgrp->kn->id; in cgroup_id()
424 static inline void cgroup_get(struct cgroup *cgrp) in cgroup_get() argument
426 css_get(&cgrp->self); in cgroup_get()
429 static inline bool cgroup_tryget(struct cgroup *cgrp) in cgroup_tryget() argument
431 return css_tryget(&cgrp->self); in cgroup_tryget()
434 static inline void cgroup_put(struct cgroup *cgrp) in cgroup_put() argument
436 css_put(&cgrp->self); in cgroup_put()
569 static inline struct cgroup *cgroup_parent(struct cgroup *cgrp) in cgroup_parent() argument
571 struct cgroup_subsys_state *parent_css = cgrp->self.parent; in cgroup_parent()
[all …]
Dpsi.h35 int psi_cgroup_alloc(struct cgroup *cgrp);
36 void psi_cgroup_free(struct cgroup *cgrp);
48 static inline int psi_cgroup_alloc(struct cgroup *cgrp) in psi_cgroup_alloc() argument
52 static inline void psi_cgroup_free(struct cgroup *cgrp) in psi_cgroup_free() argument
Dbpf-cgroup.h157 int cgroup_bpf_inherit(struct cgroup *cgrp);
158 void cgroup_bpf_offline(struct cgroup *cgrp);
160 int __cgroup_bpf_attach(struct cgroup *cgrp,
164 int __cgroup_bpf_detach(struct cgroup *cgrp, struct bpf_prog *prog,
167 int __cgroup_bpf_query(struct cgroup *cgrp, const union bpf_attr *attr,
171 int cgroup_bpf_attach(struct cgroup *cgrp,
175 int cgroup_bpf_detach(struct cgroup *cgrp, struct bpf_prog *prog,
177 int cgroup_bpf_query(struct cgroup *cgrp, const union bpf_attr *attr,
475 static inline int cgroup_bpf_inherit(struct cgroup *cgrp) { return 0; } in cgroup_bpf_inherit() argument
476 static inline void cgroup_bpf_offline(struct cgroup *cgrp) {} in cgroup_bpf_offline() argument
Dblk-cgroup.h695 struct cgroup *cgrp; in blkcg_set_fc_appid() local
703 cgrp = cgroup_get_from_id(cgrp_id); in blkcg_set_fc_appid()
704 if (!cgrp) in blkcg_set_fc_appid()
706 css = cgroup_get_e_css(cgrp, &io_cgrp_subsys); in blkcg_set_fc_appid()
722 cgroup_put(cgrp); in blkcg_set_fc_appid()
Dcgroup-defs.h509 struct cgroup cgrp; member
Dperf_event.h770 struct perf_cgroup *cgrp; /* cgroup event is attach to */ member
870 struct perf_cgroup *cgrp; member
/include/trace/events/
Dcgroup.h56 TP_PROTO(struct cgroup *cgrp, const char *path),
58 TP_ARGS(cgrp, path),
68 __entry->root = cgrp->root->hierarchy_id;
69 __entry->id = cgroup_id(cgrp);
70 __entry->level = cgrp->level;
80 TP_PROTO(struct cgroup *cgrp, const char *path),
82 TP_ARGS(cgrp, path)
87 TP_PROTO(struct cgroup *cgrp, const char *path),
89 TP_ARGS(cgrp, path)
94 TP_PROTO(struct cgroup *cgrp, const char *path),
[all …]
/include/linux/sched/
Dtask.h35 struct cgroup *cgrp; member