Home
last modified time | relevance | path

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

/linux-4.19.296/include/linux/
Dcgroup.h410 static inline void cgroup_get(struct cgroup *cgrp) in cgroup_get() argument
412 css_get(&cgrp->self); in cgroup_get()
415 static inline bool cgroup_tryget(struct cgroup *cgrp) in cgroup_tryget() argument
417 return css_tryget(&cgrp->self); in cgroup_tryget()
420 static inline void cgroup_put(struct cgroup *cgrp) in cgroup_put() argument
422 css_put(&cgrp->self); in cgroup_put()
543 static inline struct cgroup *cgroup_parent(struct cgroup *cgrp) in cgroup_parent() argument
545 struct cgroup_subsys_state *parent_css = cgrp->self.parent; in cgroup_parent()
561 static inline bool cgroup_is_descendant(struct cgroup *cgrp, in cgroup_is_descendant() argument
564 if (cgrp->root != ancestor->root || cgrp->level < ancestor->level) in cgroup_is_descendant()
[all …]
Dbpf-cgroup.h67 void cgroup_bpf_put(struct cgroup *cgrp);
68 int cgroup_bpf_inherit(struct cgroup *cgrp);
70 int __cgroup_bpf_attach(struct cgroup *cgrp, struct bpf_prog *prog,
72 int __cgroup_bpf_detach(struct cgroup *cgrp, struct bpf_prog *prog,
74 int __cgroup_bpf_query(struct cgroup *cgrp, const union bpf_attr *attr,
78 int cgroup_bpf_attach(struct cgroup *cgrp, struct bpf_prog *prog,
80 int cgroup_bpf_detach(struct cgroup *cgrp, struct bpf_prog *prog,
82 int cgroup_bpf_query(struct cgroup *cgrp, const union bpf_attr *attr,
252 static inline void cgroup_bpf_put(struct cgroup *cgrp) {} in cgroup_bpf_put() argument
253 static inline int cgroup_bpf_inherit(struct cgroup *cgrp) { return 0; } in cgroup_bpf_inherit() argument
Dcgroup-defs.h471 struct cgroup cgrp; member
Dperf_event.h704 struct perf_cgroup *cgrp; /* cgroup event is attach to */ member
800 struct perf_cgroup *cgrp; member
/linux-4.19.296/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 = cgrp->id;
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 …]