cgroup           2136 block/bio.c    	css = cgroup_e_css(page->mem_cgroup->css.cgroup, &io_cgrp_subsys);
cgroup            201 block/blk-iocost.c 			cgroup_path(iocg_to_blkg(iocg)->blkcg->css.cgroup,	\
cgroup           2005 block/blk-iocost.c 	int levels = blkcg->css.cgroup->level + 1;
cgroup           2041 block/blk-iocost.c 	iocg->level = blkg->blkcg->css.cgroup->level;
cgroup            310 include/linux/blk-cgroup.h 		if (atomic_read(&css->cgroup->congestion_count)) {
cgroup            488 include/linux/blk-cgroup.h 	return cgroup_path(blkg->blkcg->css.cgroup, buf, buflen);
cgroup            768 include/linux/blk-cgroup.h 		atomic_inc(&blkg->blkcg->css.cgroup->congestion_count);
cgroup            795 include/linux/blk-cgroup.h 		atomic_dec(&blkg->blkcg->css.cgroup->congestion_count);
cgroup            808 include/linux/blk-cgroup.h 			atomic_dec(&blkg->blkcg->css.cgroup->congestion_count);
cgroup             15 include/linux/bpf-cgroup.h struct cgroup;
cgroup             84 include/linux/bpf-cgroup.h int cgroup_bpf_inherit(struct cgroup *cgrp);
cgroup             85 include/linux/bpf-cgroup.h void cgroup_bpf_offline(struct cgroup *cgrp);
cgroup             87 include/linux/bpf-cgroup.h int __cgroup_bpf_attach(struct cgroup *cgrp, struct bpf_prog *prog,
cgroup             89 include/linux/bpf-cgroup.h int __cgroup_bpf_detach(struct cgroup *cgrp, struct bpf_prog *prog,
cgroup             91 include/linux/bpf-cgroup.h int __cgroup_bpf_query(struct cgroup *cgrp, const union bpf_attr *attr,
cgroup             95 include/linux/bpf-cgroup.h int cgroup_bpf_attach(struct cgroup *cgrp, struct bpf_prog *prog,
cgroup             97 include/linux/bpf-cgroup.h int cgroup_bpf_detach(struct cgroup *cgrp, struct bpf_prog *prog,
cgroup             99 include/linux/bpf-cgroup.h int cgroup_bpf_query(struct cgroup *cgrp, const union bpf_attr *attr,
cgroup            157 include/linux/bpf-cgroup.h 			     struct cgroup *cgroup,
cgroup            339 include/linux/bpf-cgroup.h static inline int cgroup_bpf_inherit(struct cgroup *cgrp) { return 0; }
cgroup            340 include/linux/bpf-cgroup.h static inline void cgroup_bpf_offline(struct cgroup *cgrp) {}
cgroup             27 include/linux/cgroup-defs.h struct cgroup;
cgroup            135 include/linux/cgroup-defs.h 	struct cgroup *cgroup;
cgroup            210 include/linux/cgroup-defs.h 	struct cgroup *dfl_cgrp;
cgroup            268 include/linux/cgroup-defs.h 	struct cgroup *mg_src_cgrp;
cgroup            269 include/linux/cgroup-defs.h 	struct cgroup *mg_dst_cgrp;
cgroup            328 include/linux/cgroup-defs.h 	struct cgroup *updated_children;	/* terminated by self cgroup */
cgroup            329 include/linux/cgroup-defs.h 	struct cgroup *updated_next;		/* NULL iff not on the list */
cgroup            453 include/linux/cgroup-defs.h 	struct cgroup *dom_cgrp;
cgroup            454 include/linux/cgroup-defs.h 	struct cgroup *old_dom_cgrp;		/* used while enabling threaded */
cgroup            509 include/linux/cgroup-defs.h 	struct cgroup cgrp;
cgroup            101 include/linux/cgroup.h struct cgroup_subsys_state *cgroup_e_css(struct cgroup *cgroup,
cgroup            103 include/linux/cgroup.h struct cgroup_subsys_state *cgroup_get_e_css(struct cgroup *cgroup,
cgroup            108 include/linux/cgroup.h struct cgroup *cgroup_get_from_path(const char *path);
cgroup            109 include/linux/cgroup.h struct cgroup *cgroup_get_from_fd(int fd);
cgroup            112 include/linux/cgroup.h int cgroup_transfer_tasks(struct cgroup *to, struct cgroup *from);
cgroup            414 include/linux/cgroup.h static inline void cgroup_get(struct cgroup *cgrp)
cgroup            419 include/linux/cgroup.h static inline bool cgroup_tryget(struct cgroup *cgrp)
cgroup            424 include/linux/cgroup.h static inline void cgroup_put(struct cgroup *cgrp)
cgroup            536 include/linux/cgroup.h static inline struct cgroup *task_cgroup(struct task_struct *task,
cgroup            539 include/linux/cgroup.h 	return task_css(task, subsys_id)->cgroup;
cgroup            542 include/linux/cgroup.h static inline struct cgroup *task_dfl_cgroup(struct task_struct *task)
cgroup            547 include/linux/cgroup.h static inline struct cgroup *cgroup_parent(struct cgroup *cgrp)
cgroup            552 include/linux/cgroup.h 		return container_of(parent_css, struct cgroup, self);
cgroup            565 include/linux/cgroup.h static inline bool cgroup_is_descendant(struct cgroup *cgrp,
cgroup            566 include/linux/cgroup.h 					struct cgroup *ancestor)
cgroup            584 include/linux/cgroup.h static inline struct cgroup *cgroup_ancestor(struct cgroup *cgrp,
cgroup            604 include/linux/cgroup.h 					       struct cgroup *ancestor)
cgroup            612 include/linux/cgroup.h static inline bool cgroup_is_populated(struct cgroup *cgrp)
cgroup            619 include/linux/cgroup.h static inline ino_t cgroup_ino(struct cgroup *cgrp)
cgroup            648 include/linux/cgroup.h static inline int cgroup_name(struct cgroup *cgrp, char *buf, size_t buflen)
cgroup            653 include/linux/cgroup.h static inline int cgroup_path(struct cgroup *cgrp, char *buf, size_t buflen)
cgroup            658 include/linux/cgroup.h static inline void pr_cont_cgroup_name(struct cgroup *cgrp)
cgroup            663 include/linux/cgroup.h static inline void pr_cont_cgroup_path(struct cgroup *cgrp)
cgroup            668 include/linux/cgroup.h static inline struct psi_group *cgroup_psi(struct cgroup *cgrp)
cgroup            692 include/linux/cgroup.h static inline union kernfs_node_id *cgroup_get_kernfs_id(struct cgroup *cgrp)
cgroup            702 include/linux/cgroup.h struct cgroup;
cgroup            723 include/linux/cgroup.h static inline union kernfs_node_id *cgroup_get_kernfs_id(struct cgroup *cgrp)
cgroup            728 include/linux/cgroup.h static inline struct cgroup *cgroup_parent(struct cgroup *cgrp)
cgroup            733 include/linux/cgroup.h static inline struct psi_group *cgroup_psi(struct cgroup *cgrp)
cgroup            739 include/linux/cgroup.h 					       struct cgroup *ancestor)
cgroup            752 include/linux/cgroup.h void cgroup_rstat_updated(struct cgroup *cgrp, int cpu);
cgroup            753 include/linux/cgroup.h void cgroup_rstat_flush(struct cgroup *cgrp);
cgroup            754 include/linux/cgroup.h void cgroup_rstat_flush_irqsafe(struct cgroup *cgrp);
cgroup            755 include/linux/cgroup.h void cgroup_rstat_flush_hold(struct cgroup *cgrp);
cgroup            770 include/linux/cgroup.h void __cgroup_account_cputime(struct cgroup *cgrp, u64 delta_exec);
cgroup            771 include/linux/cgroup.h void __cgroup_account_cputime_field(struct cgroup *cgrp,
cgroup            777 include/linux/cgroup.h 	struct cgroup *cgrp;
cgroup            792 include/linux/cgroup.h 	struct cgroup *cgrp;
cgroup            827 include/linux/cgroup.h static inline struct cgroup *sock_cgroup_ptr(struct sock_cgroup_data *skcd)
cgroup            841 include/linux/cgroup.h 	return (struct cgroup *)(unsigned long)v ?: &cgrp_dfl_root.cgrp;
cgroup            843 include/linux/cgroup.h 	return (struct cgroup *)(unsigned long)skcd->val;
cgroup            872 include/linux/cgroup.h int cgroup_path_ns(struct cgroup *cgrp, char *buf, size_t buflen,
cgroup            903 include/linux/cgroup.h void cgroup_update_frozen(struct cgroup *cgrp);
cgroup            904 include/linux/cgroup.h void cgroup_freeze(struct cgroup *cgrp, bool freeze);
cgroup            905 include/linux/cgroup.h void cgroup_freezer_migrate_task(struct task_struct *task, struct cgroup *src,
cgroup            906 include/linux/cgroup.h 				 struct cgroup *dst);
cgroup            943 include/linux/cgroup.h static inline void cgroup_bpf_get(struct cgroup *cgrp)
cgroup            948 include/linux/cgroup.h static inline void cgroup_bpf_put(struct cgroup *cgrp)
cgroup            955 include/linux/cgroup.h static inline void cgroup_bpf_get(struct cgroup *cgrp) {}
cgroup            956 include/linux/cgroup.h static inline void cgroup_bpf_put(struct cgroup *cgrp) {}
cgroup            504 include/linux/memcontrol.h 	return cgroup_is_descendant(memcg->css.cgroup, root->css.cgroup);
cgroup             28 include/linux/psi.h int psi_cgroup_alloc(struct cgroup *cgrp);
cgroup             29 include/linux/psi.h void psi_cgroup_free(struct cgroup *cgrp);
cgroup             48 include/linux/psi.h static inline int psi_cgroup_alloc(struct cgroup *cgrp)
cgroup             52 include/linux/psi.h static inline void psi_cgroup_free(struct cgroup *cgrp)
cgroup             29 include/net/netprio_cgroup.h 	idx = css->cgroup->id;
cgroup           1244 include/net/sock.h 					    struct cgroup *ancestor)
cgroup              3 include/trace/events/cgroup.h #define TRACE_SYSTEM cgroup
cgroup             54 include/trace/events/cgroup.h DECLARE_EVENT_CLASS(cgroup,
cgroup             56 include/trace/events/cgroup.h 	TP_PROTO(struct cgroup *cgrp, const char *path),
cgroup             78 include/trace/events/cgroup.h DEFINE_EVENT(cgroup, cgroup_mkdir,
cgroup             80 include/trace/events/cgroup.h 	TP_PROTO(struct cgroup *cgrp, const char *path),
cgroup             85 include/trace/events/cgroup.h DEFINE_EVENT(cgroup, cgroup_rmdir,
cgroup             87 include/trace/events/cgroup.h 	TP_PROTO(struct cgroup *cgrp, const char *path),
cgroup             92 include/trace/events/cgroup.h DEFINE_EVENT(cgroup, cgroup_release,
cgroup             94 include/trace/events/cgroup.h 	TP_PROTO(struct cgroup *cgrp, const char *path),
cgroup             99 include/trace/events/cgroup.h DEFINE_EVENT(cgroup, cgroup_rename,
cgroup            101 include/trace/events/cgroup.h 	TP_PROTO(struct cgroup *cgrp, const char *path),
cgroup            106 include/trace/events/cgroup.h DEFINE_EVENT(cgroup, cgroup_freeze,
cgroup            108 include/trace/events/cgroup.h 	TP_PROTO(struct cgroup *cgrp, const char *path),
cgroup            113 include/trace/events/cgroup.h DEFINE_EVENT(cgroup, cgroup_unfreeze,
cgroup            115 include/trace/events/cgroup.h 	TP_PROTO(struct cgroup *cgrp, const char *path),
cgroup            122 include/trace/events/cgroup.h 	TP_PROTO(struct cgroup *dst_cgrp, const char *path,
cgroup            152 include/trace/events/cgroup.h 	TP_PROTO(struct cgroup *dst_cgrp, const char *path,
cgroup            160 include/trace/events/cgroup.h 	TP_PROTO(struct cgroup *dst_cgrp, const char *path,
cgroup            168 include/trace/events/cgroup.h 	TP_PROTO(struct cgroup *cgrp, const char *path, int val),
cgroup            195 include/trace/events/cgroup.h 	TP_PROTO(struct cgroup *cgrp, const char *path, int val),
cgroup            202 include/trace/events/cgroup.h 	TP_PROTO(struct cgroup *cgrp, const char *path, int val),
cgroup             23 include/trace/events/iocost.h 		__string(cgroup, path)
cgroup             39 include/trace/events/iocost.h 		__assign_str(cgroup, path);
cgroup             56 include/trace/events/iocost.h 		__get_str(devname), __get_str(cgroup),
cgroup             76 include/trace/events/iocost.h 		__string(cgroup, path)
cgroup             86 include/trace/events/iocost.h 		__assign_str(cgroup, path);
cgroup             95 include/trace/events/iocost.h 		__get_str(devname), __get_str(cgroup), __entry->now,
cgroup            154 include/trace/events/writeback.h 	return wb->memcg_css->cgroup->kn->id.ino;
cgroup            262 include/trace/events/writeback.h 		__entry->page_cgroup_ino = page->mem_cgroup->css.cgroup->kn->id.ino;
cgroup             25 kernel/bpf/cgroup.c void cgroup_bpf_offline(struct cgroup *cgrp)
cgroup             38 kernel/bpf/cgroup.c 	struct cgroup *p, *cgrp = container_of(work, struct cgroup,
cgroup             82 kernel/bpf/cgroup.c 	struct cgroup *cgrp = container_of(ref, struct cgroup, bpf.refcnt);
cgroup            108 kernel/bpf/cgroup.c static bool hierarchy_allows_attach(struct cgroup *cgrp,
cgroup            112 kernel/bpf/cgroup.c 	struct cgroup *p;
cgroup            138 kernel/bpf/cgroup.c static int compute_effective_progs(struct cgroup *cgrp,
cgroup            145 kernel/bpf/cgroup.c 	struct cgroup *p = cgrp;
cgroup            182 kernel/bpf/cgroup.c static void activate_effective_progs(struct cgroup *cgrp,
cgroup            198 kernel/bpf/cgroup.c int cgroup_bpf_inherit(struct cgroup *cgrp)
cgroup            205 kernel/bpf/cgroup.c 	struct cgroup *p;
cgroup            239 kernel/bpf/cgroup.c static int update_effective_progs(struct cgroup *cgrp,
cgroup            247 kernel/bpf/cgroup.c 		struct cgroup *desc = container_of(css, struct cgroup, self);
cgroup            259 kernel/bpf/cgroup.c 		struct cgroup *desc = container_of(css, struct cgroup, self);
cgroup            280 kernel/bpf/cgroup.c 		struct cgroup *desc = container_of(css, struct cgroup, self);
cgroup            301 kernel/bpf/cgroup.c int __cgroup_bpf_attach(struct cgroup *cgrp, struct bpf_prog *prog,
cgroup            430 kernel/bpf/cgroup.c int __cgroup_bpf_detach(struct cgroup *cgrp, struct bpf_prog *prog,
cgroup            501 kernel/bpf/cgroup.c int __cgroup_bpf_query(struct cgroup *cgrp, const union bpf_attr *attr,
cgroup            552 kernel/bpf/cgroup.c 	struct cgroup *cgrp;
cgroup            568 kernel/bpf/cgroup.c 	struct cgroup *cgrp;
cgroup            590 kernel/bpf/cgroup.c 	struct cgroup *cgrp;
cgroup            633 kernel/bpf/cgroup.c 	struct cgroup *cgrp;
cgroup            682 kernel/bpf/cgroup.c 	struct cgroup *cgrp = sock_cgroup_ptr(&sk->sk_cgrp_data);
cgroup            714 kernel/bpf/cgroup.c 	struct cgroup *cgrp;
cgroup            755 kernel/bpf/cgroup.c 	struct cgroup *cgrp = sock_cgroup_ptr(&sk->sk_cgrp_data);
cgroup            767 kernel/bpf/cgroup.c 	struct cgroup *cgrp;
cgroup            901 kernel/bpf/cgroup.c 	struct cgroup *cgrp;
cgroup            953 kernel/bpf/cgroup.c static bool __cgroup_bpf_prog_array_is_empty(struct cgroup *cgrp,
cgroup            990 kernel/bpf/cgroup.c 	struct cgroup *cgrp = sock_cgroup_ptr(&sk->sk_cgrp_data);
cgroup           1062 kernel/bpf/cgroup.c 	struct cgroup *cgrp = sock_cgroup_ptr(&sk->sk_cgrp_data);
cgroup            318 kernel/bpf/helpers.c 	struct cgroup *cgrp = task_dfl_cgroup(current);
cgroup            563 kernel/bpf/local_storage.c 			     struct cgroup *cgroup,
cgroup            572 kernel/bpf/local_storage.c 	storage->key.cgroup_inode_id = cgroup->kn->id.id;
cgroup             78 kernel/cgroup/cgroup-internal.h 	struct cgroup		*cgrp;
cgroup            168 kernel/cgroup/cgroup-internal.h static inline bool cgroup_is_dead(const struct cgroup *cgrp)
cgroup            173 kernel/cgroup/cgroup-internal.h static inline bool notify_on_release(const struct cgroup *cgrp)
cgroup            206 kernel/cgroup/cgroup-internal.h bool cgroup_on_dfl(const struct cgroup *cgrp);
cgroup            207 kernel/cgroup/cgroup-internal.h bool cgroup_is_thread_root(struct cgroup *cgrp);
cgroup            208 kernel/cgroup/cgroup-internal.h bool cgroup_is_threaded(struct cgroup *cgrp);
cgroup            211 kernel/cgroup/cgroup-internal.h struct cgroup *task_cgroup_from_root(struct task_struct *task,
cgroup            213 kernel/cgroup/cgroup-internal.h struct cgroup *cgroup_kn_lock_live(struct kernfs_node *kn, bool drain_offline);
cgroup            215 kernel/cgroup/cgroup-internal.h int cgroup_path_ns_locked(struct cgroup *cgrp, char *buf, size_t buflen,
cgroup            224 kernel/cgroup/cgroup-internal.h int cgroup_migrate_vet_dst(struct cgroup *dst_cgrp);
cgroup            226 kernel/cgroup/cgroup-internal.h void cgroup_migrate_add_src(struct css_set *src_cset, struct cgroup *dst_cgrp,
cgroup            232 kernel/cgroup/cgroup-internal.h int cgroup_attach_task(struct cgroup *dst_cgrp, struct task_struct *leader,
cgroup            239 kernel/cgroup/cgroup-internal.h void cgroup_lock_and_drain_offline(struct cgroup *cgrp);
cgroup            246 kernel/cgroup/cgroup-internal.h int __cgroup_task_count(const struct cgroup *cgrp);
cgroup            247 kernel/cgroup/cgroup-internal.h int cgroup_task_count(const struct cgroup *cgrp);
cgroup            252 kernel/cgroup/cgroup-internal.h int cgroup_rstat_init(struct cgroup *cgrp);
cgroup            253 kernel/cgroup/cgroup-internal.h void cgroup_rstat_exit(struct cgroup *cgrp);
cgroup            271 kernel/cgroup/cgroup-internal.h void cgroup1_pidlist_destroy_all(struct cgroup *cgrp);
cgroup            273 kernel/cgroup/cgroup-internal.h void cgroup1_check_for_release(struct cgroup *cgrp);
cgroup             67 kernel/cgroup/cgroup-v1.c 		struct cgroup *from_cgrp;
cgroup             98 kernel/cgroup/cgroup-v1.c int cgroup_transfer_tasks(struct cgroup *to, struct cgroup *from)
cgroup            191 kernel/cgroup/cgroup-v1.c 	struct cgroup *owner;
cgroup            200 kernel/cgroup/cgroup-v1.c void cgroup1_pidlist_destroy_all(struct cgroup *cgrp)
cgroup            281 kernel/cgroup/cgroup-v1.c static struct cgroup_pidlist *cgroup_pidlist_find(struct cgroup *cgrp,
cgroup            302 kernel/cgroup/cgroup-v1.c static struct cgroup_pidlist *cgroup_pidlist_find_create(struct cgroup *cgrp,
cgroup            330 kernel/cgroup/cgroup-v1.c static int pidlist_array_load(struct cgroup *cgrp, enum cgroup_filetype type,
cgroup            401 kernel/cgroup/cgroup-v1.c 	struct cgroup *cgrp = seq_css(s)->cgroup;
cgroup            461 kernel/cgroup/cgroup-v1.c 	mutex_unlock(&seq_css(s)->cgroup->pidlist_mutex);
cgroup            495 kernel/cgroup/cgroup-v1.c 	struct cgroup *cgrp;
cgroup            548 kernel/cgroup/cgroup-v1.c 	struct cgroup *cgrp;
cgroup            565 kernel/cgroup/cgroup-v1.c 	struct cgroup *cgrp = seq_css(seq)->cgroup;
cgroup            583 kernel/cgroup/cgroup-v1.c 	return notify_on_release(css->cgroup);
cgroup            590 kernel/cgroup/cgroup-v1.c 		set_bit(CGRP_NOTIFY_ON_RELEASE, &css->cgroup->flags);
cgroup            592 kernel/cgroup/cgroup-v1.c 		clear_bit(CGRP_NOTIFY_ON_RELEASE, &css->cgroup->flags);
cgroup            599 kernel/cgroup/cgroup-v1.c 	return test_bit(CGRP_CPUSET_CLONE_CHILDREN, &css->cgroup->flags);
cgroup            606 kernel/cgroup/cgroup-v1.c 		set_bit(CGRP_CPUSET_CLONE_CHILDREN, &css->cgroup->flags);
cgroup            608 kernel/cgroup/cgroup-v1.c 		clear_bit(CGRP_CPUSET_CLONE_CHILDREN, &css->cgroup->flags);
cgroup            693 kernel/cgroup/cgroup-v1.c 	struct cgroup *cgrp;
cgroup            745 kernel/cgroup/cgroup-v1.c void cgroup1_check_for_release(struct cgroup *cgrp)
cgroup            777 kernel/cgroup/cgroup-v1.c 	struct cgroup *cgrp =
cgroup            778 kernel/cgroup/cgroup-v1.c 		container_of(work, struct cgroup, release_agent_work);
cgroup            821 kernel/cgroup/cgroup-v1.c 	struct cgroup *cgrp = kn->priv;
cgroup            216 kernel/cgroup/cgroup.c static int cgroup_apply_control(struct cgroup *cgrp);
cgroup            217 kernel/cgroup/cgroup.c static void cgroup_finalize_control(struct cgroup *cgrp, int ret);
cgroup            220 kernel/cgroup/cgroup.c static int cgroup_destroy_locked(struct cgroup *cgrp);
cgroup            221 kernel/cgroup/cgroup.c static struct cgroup_subsys_state *css_create(struct cgroup *cgrp,
cgroup            226 kernel/cgroup/cgroup.c 			      struct cgroup *cgrp, struct cftype cfts[],
cgroup            298 kernel/cgroup/cgroup.c bool cgroup_on_dfl(const struct cgroup *cgrp)
cgroup            334 kernel/cgroup/cgroup.c static bool cgroup_has_tasks(struct cgroup *cgrp)
cgroup            339 kernel/cgroup/cgroup.c bool cgroup_is_threaded(struct cgroup *cgrp)
cgroup            345 kernel/cgroup/cgroup.c static bool cgroup_is_mixable(struct cgroup *cgrp)
cgroup            356 kernel/cgroup/cgroup.c static bool cgroup_can_be_thread_root(struct cgroup *cgrp)
cgroup            378 kernel/cgroup/cgroup.c bool cgroup_is_thread_root(struct cgroup *cgrp)
cgroup            400 kernel/cgroup/cgroup.c static bool cgroup_is_valid_domain(struct cgroup *cgrp)
cgroup            418 kernel/cgroup/cgroup.c static u16 cgroup_control(struct cgroup *cgrp)
cgroup            420 kernel/cgroup/cgroup.c 	struct cgroup *parent = cgroup_parent(cgrp);
cgroup            439 kernel/cgroup/cgroup.c static u16 cgroup_ss_mask(struct cgroup *cgrp)
cgroup            441 kernel/cgroup/cgroup.c 	struct cgroup *parent = cgroup_parent(cgrp);
cgroup            466 kernel/cgroup/cgroup.c static struct cgroup_subsys_state *cgroup_css(struct cgroup *cgrp,
cgroup            484 kernel/cgroup/cgroup.c static struct cgroup_subsys_state *cgroup_tryget_css(struct cgroup *cgrp,
cgroup            508 kernel/cgroup/cgroup.c static struct cgroup_subsys_state *cgroup_e_css_by_mask(struct cgroup *cgrp,
cgroup            542 kernel/cgroup/cgroup.c struct cgroup_subsys_state *cgroup_e_css(struct cgroup *cgrp,
cgroup            569 kernel/cgroup/cgroup.c struct cgroup_subsys_state *cgroup_get_e_css(struct cgroup *cgrp,
cgroup            591 kernel/cgroup/cgroup.c static void cgroup_get_live(struct cgroup *cgrp)
cgroup            602 kernel/cgroup/cgroup.c int __cgroup_task_count(const struct cgroup *cgrp)
cgroup            619 kernel/cgroup/cgroup.c int cgroup_task_count(const struct cgroup *cgrp)
cgroup            632 kernel/cgroup/cgroup.c 	struct cgroup *cgrp = of->kn->parent->priv;
cgroup            716 kernel/cgroup/cgroup.c 		       (dsct) = (d_css)->cgroup;			\
cgroup            725 kernel/cgroup/cgroup.c 		       (dsct) = (d_css)->cgroup;			\
cgroup            798 kernel/cgroup/cgroup.c static void cgroup_update_populated(struct cgroup *cgrp, bool populated)
cgroup            800 kernel/cgroup/cgroup.c 	struct cgroup *child = NULL;
cgroup            983 kernel/cgroup/cgroup.c 			     struct cgroup *new_cgrp,
cgroup            986 kernel/cgroup/cgroup.c 	struct cgroup *new_dfl_cgrp;
cgroup           1017 kernel/cgroup/cgroup.c 		struct cgroup *cgrp1, *cgrp2;
cgroup           1061 kernel/cgroup/cgroup.c 					struct cgroup *cgrp,
cgroup           1147 kernel/cgroup/cgroup.c 			 struct cgroup *cgrp)
cgroup           1180 kernel/cgroup/cgroup.c 				    struct cgroup *cgrp)
cgroup           1232 kernel/cgroup/cgroup.c 		struct cgroup *c = link->cgrp;
cgroup           1251 kernel/cgroup/cgroup.c 			      &css->cgroup->e_csets[ssid]);
cgroup           1284 kernel/cgroup/cgroup.c 	struct cgroup *root_cgrp = kf_root->kn->priv;
cgroup           1320 kernel/cgroup/cgroup.c 	struct cgroup *cgrp = &root->cgrp;
cgroup           1364 kernel/cgroup/cgroup.c static struct cgroup *
cgroup           1367 kernel/cgroup/cgroup.c 	struct cgroup *res = NULL;
cgroup           1381 kernel/cgroup/cgroup.c 			struct cgroup *c = link->cgrp;
cgroup           1396 kernel/cgroup/cgroup.c static struct cgroup *cset_cgroup_from_root(struct css_set *cset,
cgroup           1399 kernel/cgroup/cgroup.c 	struct cgroup *res = NULL;
cgroup           1412 kernel/cgroup/cgroup.c 			struct cgroup *c = link->cgrp;
cgroup           1429 kernel/cgroup/cgroup.c struct cgroup *task_cgroup_from_root(struct task_struct *task,
cgroup           1468 kernel/cgroup/cgroup.c static char *cgroup_file_name(struct cgroup *cgrp, const struct cftype *cft,
cgroup           1565 kernel/cgroup/cgroup.c 	struct cgroup *cgrp;
cgroup           1595 kernel/cgroup/cgroup.c struct cgroup *cgroup_kn_lock_live(struct kernfs_node *kn, bool drain_offline)
cgroup           1597 kernel/cgroup/cgroup.c 	struct cgroup *cgrp;
cgroup           1626 kernel/cgroup/cgroup.c static void cgroup_rm_file(struct cgroup *cgrp, const struct cftype *cft)
cgroup           1652 kernel/cgroup/cgroup.c 	struct cgroup *cgrp = css->cgroup;
cgroup           1681 kernel/cgroup/cgroup.c 	struct cgroup *cgrp = css->cgroup;
cgroup           1721 kernel/cgroup/cgroup.c 	struct cgroup *dcgrp = &dst_root->cgrp;
cgroup           1744 kernel/cgroup/cgroup.c 		struct cgroup *scgrp = &src_root->cgrp;
cgroup           1759 kernel/cgroup/cgroup.c 		css->cgroup = dcgrp;
cgroup           1795 kernel/cgroup/cgroup.c 	struct cgroup *ns_cgroup;
cgroup           1945 kernel/cgroup/cgroup.c static void init_cgroup_housekeeping(struct cgroup *cgrp)
cgroup           1955 kernel/cgroup/cgroup.c 	cgrp->self.cgroup = cgrp;
cgroup           1973 kernel/cgroup/cgroup.c 	struct cgroup *cgrp = &root->cgrp;
cgroup           1993 kernel/cgroup/cgroup.c 	struct cgroup *root_cgrp = &root->cgrp;
cgroup           2110 kernel/cgroup/cgroup.c 		struct cgroup *cgrp;
cgroup           2290 kernel/cgroup/cgroup.c int cgroup_path_ns_locked(struct cgroup *cgrp, char *buf, size_t buflen,
cgroup           2293 kernel/cgroup/cgroup.c 	struct cgroup *root = cset_cgroup_from_root(ns->root_cset, cgrp->root);
cgroup           2298 kernel/cgroup/cgroup.c int cgroup_path_ns(struct cgroup *cgrp, char *buf, size_t buflen,
cgroup           2331 kernel/cgroup/cgroup.c 	struct cgroup *cgrp;
cgroup           2572 kernel/cgroup/cgroup.c int cgroup_migrate_vet_dst(struct cgroup *dst_cgrp)
cgroup           2647 kernel/cgroup/cgroup.c 			    struct cgroup *dst_cgrp,
cgroup           2650 kernel/cgroup/cgroup.c 	struct cgroup *src_cgrp;
cgroup           2792 kernel/cgroup/cgroup.c int cgroup_attach_task(struct cgroup *dst_cgrp, struct task_struct *leader,
cgroup           2908 kernel/cgroup/cgroup.c 	struct cgroup *cgrp = seq_css(seq)->cgroup;
cgroup           2917 kernel/cgroup/cgroup.c 	struct cgroup *cgrp = seq_css(seq)->cgroup;
cgroup           2932 kernel/cgroup/cgroup.c static int cgroup_update_dfl_csses(struct cgroup *cgrp)
cgroup           2936 kernel/cgroup/cgroup.c 	struct cgroup *dsct;
cgroup           2984 kernel/cgroup/cgroup.c void cgroup_lock_and_drain_offline(struct cgroup *cgrp)
cgroup           2987 kernel/cgroup/cgroup.c 	struct cgroup *dsct;
cgroup           3025 kernel/cgroup/cgroup.c static void cgroup_save_control(struct cgroup *cgrp)
cgroup           3027 kernel/cgroup/cgroup.c 	struct cgroup *dsct;
cgroup           3045 kernel/cgroup/cgroup.c static void cgroup_propagate_control(struct cgroup *cgrp)
cgroup           3047 kernel/cgroup/cgroup.c 	struct cgroup *dsct;
cgroup           3066 kernel/cgroup/cgroup.c static void cgroup_restore_control(struct cgroup *cgrp)
cgroup           3068 kernel/cgroup/cgroup.c 	struct cgroup *dsct;
cgroup           3081 kernel/cgroup/cgroup.c 	struct cgroup *cgrp = css->cgroup;
cgroup           3103 kernel/cgroup/cgroup.c static int cgroup_apply_control_enable(struct cgroup *cgrp)
cgroup           3105 kernel/cgroup/cgroup.c 	struct cgroup *dsct;
cgroup           3149 kernel/cgroup/cgroup.c static void cgroup_apply_control_disable(struct cgroup *cgrp)
cgroup           3151 kernel/cgroup/cgroup.c 	struct cgroup *dsct;
cgroup           3194 kernel/cgroup/cgroup.c static int cgroup_apply_control(struct cgroup *cgrp)
cgroup           3223 kernel/cgroup/cgroup.c static void cgroup_finalize_control(struct cgroup *cgrp, int ret)
cgroup           3233 kernel/cgroup/cgroup.c static int cgroup_vet_subtree_control_enable(struct cgroup *cgrp, u16 enable)
cgroup           3279 kernel/cgroup/cgroup.c 	struct cgroup *cgrp, *child;
cgroup           3378 kernel/cgroup/cgroup.c static int cgroup_enable_threaded(struct cgroup *cgrp)
cgroup           3380 kernel/cgroup/cgroup.c 	struct cgroup *parent = cgroup_parent(cgrp);
cgroup           3381 kernel/cgroup/cgroup.c 	struct cgroup *dom_cgrp = parent->dom_cgrp;
cgroup           3382 kernel/cgroup/cgroup.c 	struct cgroup *dsct;
cgroup           3427 kernel/cgroup/cgroup.c 	struct cgroup *cgrp = seq_css(seq)->cgroup;
cgroup           3444 kernel/cgroup/cgroup.c 	struct cgroup *cgrp;
cgroup           3465 kernel/cgroup/cgroup.c 	struct cgroup *cgrp = seq_css(seq)->cgroup;
cgroup           3479 kernel/cgroup/cgroup.c 	struct cgroup *cgrp;
cgroup           3508 kernel/cgroup/cgroup.c 	struct cgroup *cgrp = seq_css(seq)->cgroup;
cgroup           3522 kernel/cgroup/cgroup.c 	struct cgroup *cgrp;
cgroup           3551 kernel/cgroup/cgroup.c 	struct cgroup *cgrp = seq_css(seq)->cgroup;
cgroup           3561 kernel/cgroup/cgroup.c 	struct cgroup *cgroup = seq_css(seq)->cgroup;
cgroup           3564 kernel/cgroup/cgroup.c 		   cgroup->nr_descendants);
cgroup           3566 kernel/cgroup/cgroup.c 		   cgroup->nr_dying_descendants);
cgroup           3572 kernel/cgroup/cgroup.c 						 struct cgroup *cgrp, int ssid)
cgroup           3592 kernel/cgroup/cgroup.c 	struct cgroup __maybe_unused *cgrp = seq_css(seq)->cgroup;
cgroup           3605 kernel/cgroup/cgroup.c 	struct cgroup *cgroup = seq_css(seq)->cgroup;
cgroup           3606 kernel/cgroup/cgroup.c 	struct psi_group *psi = cgroup->id == 1 ? &psi_system : &cgroup->psi;
cgroup           3612 kernel/cgroup/cgroup.c 	struct cgroup *cgroup = seq_css(seq)->cgroup;
cgroup           3613 kernel/cgroup/cgroup.c 	struct psi_group *psi = cgroup->id == 1 ? &psi_system : &cgroup->psi;
cgroup           3619 kernel/cgroup/cgroup.c 	struct cgroup *cgroup = seq_css(seq)->cgroup;
cgroup           3620 kernel/cgroup/cgroup.c 	struct psi_group *psi = cgroup->id == 1 ? &psi_system : &cgroup->psi;
cgroup           3629 kernel/cgroup/cgroup.c 	struct cgroup *cgrp;
cgroup           3686 kernel/cgroup/cgroup.c 	struct cgroup *cgrp = seq_css(seq)->cgroup;
cgroup           3696 kernel/cgroup/cgroup.c 	struct cgroup *cgrp;
cgroup           3739 kernel/cgroup/cgroup.c 	struct cgroup *cgrp = of->kn->parent->priv;
cgroup           3869 kernel/cgroup/cgroup.c static int cgroup_add_file(struct cgroup_subsys_state *css, struct cgroup *cgrp,
cgroup           3918 kernel/cgroup/cgroup.c 			      struct cgroup *cgrp, struct cftype cfts[],
cgroup           3958 kernel/cgroup/cgroup.c 	struct cgroup *root = &ss->root->cgrp;
cgroup           3966 kernel/cgroup/cgroup.c 		struct cgroup *cgrp = css->cgroup;
cgroup           4592 kernel/cgroup/cgroup.c 		it->cset_pos = &css->cgroup->e_csets[css->ss->id];
cgroup           4594 kernel/cgroup/cgroup.c 		it->cset_pos = &css->cgroup->cset_links;
cgroup           4681 kernel/cgroup/cgroup.c 	struct cgroup *cgrp = seq_css(s)->cgroup;
cgroup           4708 kernel/cgroup/cgroup.c 	struct cgroup *cgrp = seq_css(s)->cgroup;
cgroup           4729 kernel/cgroup/cgroup.c static int cgroup_procs_write_permission(struct cgroup *src_cgrp,
cgroup           4730 kernel/cgroup/cgroup.c 					 struct cgroup *dst_cgrp,
cgroup           4734 kernel/cgroup/cgroup.c 	struct cgroup *com_cgrp = src_cgrp;
cgroup           4769 kernel/cgroup/cgroup.c 	struct cgroup *src_cgrp, *dst_cgrp;
cgroup           4810 kernel/cgroup/cgroup.c 	struct cgroup *src_cgrp, *dst_cgrp;
cgroup           4862 kernel/cgroup/cgroup.c 		.file_offset = offsetof(struct cgroup, procs_file),
cgroup           4891 kernel/cgroup/cgroup.c 		.file_offset = offsetof(struct cgroup, events_file),
cgroup           4972 kernel/cgroup/cgroup.c 	struct cgroup *cgrp = css->cgroup;
cgroup           5022 kernel/cgroup/cgroup.c 	struct cgroup *cgrp = css->cgroup;
cgroup           5040 kernel/cgroup/cgroup.c 		struct cgroup *tcgrp;
cgroup           5085 kernel/cgroup/cgroup.c 			      struct cgroup_subsys *ss, struct cgroup *cgrp)
cgroup           5092 kernel/cgroup/cgroup.c 	css->cgroup = cgrp;
cgroup           5124 kernel/cgroup/cgroup.c 		rcu_assign_pointer(css->cgroup->subsys[ss->id], css);
cgroup           5147 kernel/cgroup/cgroup.c 	RCU_INIT_POINTER(css->cgroup->subsys[ss->id], NULL);
cgroup           5149 kernel/cgroup/cgroup.c 	wake_up_all(&css->cgroup->offline_waitq);
cgroup           5161 kernel/cgroup/cgroup.c static struct cgroup_subsys_state *css_create(struct cgroup *cgrp,
cgroup           5164 kernel/cgroup/cgroup.c 	struct cgroup *parent = cgroup_parent(cgrp);
cgroup           5221 kernel/cgroup/cgroup.c static struct cgroup *cgroup_create(struct cgroup *parent)
cgroup           5224 kernel/cgroup/cgroup.c 	struct cgroup *cgrp, *tcgrp;
cgroup           5346 kernel/cgroup/cgroup.c static bool cgroup_check_hierarchy_limits(struct cgroup *parent)
cgroup           5348 kernel/cgroup/cgroup.c 	struct cgroup *cgroup;
cgroup           5354 kernel/cgroup/cgroup.c 	for (cgroup = parent; cgroup; cgroup = cgroup_parent(cgroup)) {
cgroup           5355 kernel/cgroup/cgroup.c 		if (cgroup->nr_descendants >= cgroup->max_descendants)
cgroup           5358 kernel/cgroup/cgroup.c 		if (level > cgroup->max_depth)
cgroup           5371 kernel/cgroup/cgroup.c 	struct cgroup *parent, *cgrp;
cgroup           5536 kernel/cgroup/cgroup.c static int cgroup_destroy_locked(struct cgroup *cgrp)
cgroup           5539 kernel/cgroup/cgroup.c 	struct cgroup *tcgrp, *parent = cgroup_parent(cgrp);
cgroup           5610 kernel/cgroup/cgroup.c 	struct cgroup *cgrp;
cgroup           5887 kernel/cgroup/cgroup.c 		struct cgroup *cgrp;
cgroup           6206 kernel/cgroup/cgroup.c 	struct cgroup *cgrp;
cgroup           6254 kernel/cgroup/cgroup.c struct cgroup *cgroup_get_from_path(const char *path)
cgroup           6257 kernel/cgroup/cgroup.c 	struct cgroup *cgrp;
cgroup           6288 kernel/cgroup/cgroup.c struct cgroup *cgroup_get_from_fd(int fd)
cgroup           6291 kernel/cgroup/cgroup.c 	struct cgroup *cgrp;
cgroup           6303 kernel/cgroup/cgroup.c 	cgrp = css->cgroup;
cgroup           6420 kernel/cgroup/cgroup.c 	struct cgroup *cgrp = sock_cgroup_ptr(skcd);
cgroup           6429 kernel/cgroup/cgroup.c int cgroup_bpf_attach(struct cgroup *cgrp, struct bpf_prog *prog,
cgroup           6439 kernel/cgroup/cgroup.c int cgroup_bpf_detach(struct cgroup *cgrp, struct bpf_prog *prog,
cgroup           6449 kernel/cgroup/cgroup.c int cgroup_bpf_query(struct cgroup *cgrp, const union bpf_attr *attr,
cgroup            610 kernel/cgroup/cpuset.c 	if ((cgroup_is_populated(cur->css.cgroup) || cur->attach_in_progress)) {
cgroup           2754 kernel/cgroup/cpuset.c 	if (!test_bit(CGRP_CPUSET_CLONE_CHILDREN, &css->cgroup->flags))
cgroup           2934 kernel/cgroup/cpuset.c 	if (cgroup_transfer_tasks(parent->css.cgroup, cs->css.cgroup)) {
cgroup           2936 kernel/cgroup/cpuset.c 		pr_cont_cgroup_name(cs->css.cgroup);
cgroup           3528 kernel/cgroup/cpuset.c 	struct cgroup *cgrp;
cgroup           3532 kernel/cgroup/cpuset.c 	cgrp = task_cs(current)->css.cgroup;
cgroup           3597 kernel/cgroup/cpuset.c 	retval = cgroup_path_ns(css->cgroup, buf, PATH_MAX,
cgroup             37 kernel/cgroup/debug.c 	return cgroup_task_count(css->cgroup);
cgroup            101 kernel/cgroup/debug.c 		struct cgroup *c = link->cgrp;
cgroup            122 kernel/cgroup/debug.c 	list_for_each_entry(link, &css->cgroup->cset_links, cset_link) {
cgroup            206 kernel/cgroup/debug.c 	struct cgroup *cgrp;
cgroup            258 kernel/cgroup/debug.c 	struct cgroup *cgrp;
cgroup            273 kernel/cgroup/debug.c 	return (!cgroup_is_populated(css->cgroup) &&
cgroup            274 kernel/cgroup/debug.c 		!css_has_online_children(&css->cgroup->self));
cgroup             14 kernel/cgroup/freezer.c static void cgroup_propagate_frozen(struct cgroup *cgrp, bool frozen)
cgroup             52 kernel/cgroup/freezer.c void cgroup_update_frozen(struct cgroup *cgrp)
cgroup             89 kernel/cgroup/freezer.c static void cgroup_inc_frozen_cnt(struct cgroup *cgrp)
cgroup             97 kernel/cgroup/freezer.c static void cgroup_dec_frozen_cnt(struct cgroup *cgrp)
cgroup            109 kernel/cgroup/freezer.c 	struct cgroup *cgrp;
cgroup            133 kernel/cgroup/freezer.c 	struct cgroup *cgrp;
cgroup            177 kernel/cgroup/freezer.c static void cgroup_do_freeze(struct cgroup *cgrp, bool freeze)
cgroup            223 kernel/cgroup/freezer.c 				 struct cgroup *src, struct cgroup *dst)
cgroup            260 kernel/cgroup/freezer.c void cgroup_freeze(struct cgroup *cgrp, bool freeze)
cgroup            263 kernel/cgroup/freezer.c 	struct cgroup *dsct;
cgroup            280 kernel/cgroup/freezer.c 		dsct = css->cgroup;
cgroup            230 kernel/cgroup/pids.c 			pr_cont_cgroup_path(css->cgroup);
cgroup              9 kernel/cgroup/rstat.c static void cgroup_base_stat_flush(struct cgroup *cgrp, int cpu);
cgroup             11 kernel/cgroup/rstat.c static struct cgroup_rstat_cpu *cgroup_rstat_cpu(struct cgroup *cgrp, int cpu)
cgroup             25 kernel/cgroup/rstat.c void cgroup_rstat_updated(struct cgroup *cgrp, int cpu)
cgroup             28 kernel/cgroup/rstat.c 	struct cgroup *parent;
cgroup             84 kernel/cgroup/rstat.c static struct cgroup *cgroup_rstat_cpu_pop_updated(struct cgroup *pos,
cgroup             85 kernel/cgroup/rstat.c 						   struct cgroup *root, int cpu)
cgroup            116 kernel/cgroup/rstat.c 		struct cgroup *parent = cgroup_parent(pos);
cgroup            119 kernel/cgroup/rstat.c 		struct cgroup **nextp;
cgroup            142 kernel/cgroup/rstat.c static void cgroup_rstat_flush_locked(struct cgroup *cgrp, bool may_sleep)
cgroup            152 kernel/cgroup/rstat.c 		struct cgroup *pos = NULL;
cgroup            192 kernel/cgroup/rstat.c void cgroup_rstat_flush(struct cgroup *cgrp)
cgroup            207 kernel/cgroup/rstat.c void cgroup_rstat_flush_irqsafe(struct cgroup *cgrp)
cgroup            225 kernel/cgroup/rstat.c void cgroup_rstat_flush_hold(struct cgroup *cgrp)
cgroup            242 kernel/cgroup/rstat.c int cgroup_rstat_init(struct cgroup *cgrp)
cgroup            264 kernel/cgroup/rstat.c void cgroup_rstat_exit(struct cgroup *cgrp)
cgroup            305 kernel/cgroup/rstat.c static void cgroup_base_stat_flush(struct cgroup *cgrp, int cpu)
cgroup            307 kernel/cgroup/rstat.c 	struct cgroup *parent = cgroup_parent(cgrp);
cgroup            338 kernel/cgroup/rstat.c cgroup_base_stat_cputime_account_begin(struct cgroup *cgrp)
cgroup            347 kernel/cgroup/rstat.c static void cgroup_base_stat_cputime_account_end(struct cgroup *cgrp,
cgroup            355 kernel/cgroup/rstat.c void __cgroup_account_cputime(struct cgroup *cgrp, u64 delta_exec)
cgroup            364 kernel/cgroup/rstat.c void __cgroup_account_cputime_field(struct cgroup *cgrp,
cgroup            390 kernel/cgroup/rstat.c 	struct cgroup *cgrp = seq_css(seq)->cgroup;
cgroup            695 kernel/events/core.c 	return cgroup_is_descendant(cpuctx->cgrp->css.cgroup,
cgroup            696 kernel/events/core.c 				    event->cgrp->css.cgroup);
cgroup            759 kernel/events/core.c 	if (cgroup_is_descendant(cgrp->css.cgroup, event->cgrp->css.cgroup))
cgroup            972 kernel/events/core.c 		if (cgroup_is_descendant(cgrp->css.cgroup, event->cgrp->css.cgroup))
cgroup           2627 kernel/events/core.c 		reprogram = cgroup_is_descendant(cgrp->css.cgroup,
cgroup           2628 kernel/events/core.c 					event->cgrp->css.cgroup);
cgroup            427 kernel/sched/debug.c 	cgroup_path(tg->css.cgroup, group_path, PATH_MAX);
cgroup            285 kernel/sched/fair.c 	else if (cfs_rq && cfs_rq->tg->css.cgroup)
cgroup            286 kernel/sched/fair.c 		cgroup_path(cfs_rq->tg->css.cgroup, path, len);
cgroup            726 kernel/sched/psi.c 	struct cgroup *cgroup = NULL;
cgroup            729 kernel/sched/psi.c 		cgroup = task->cgroups->dfl_cgrp;
cgroup            733 kernel/sched/psi.c 		cgroup = cgroup_parent(*iter);
cgroup            735 kernel/sched/psi.c 	if (cgroup && cgroup_parent(cgroup)) {
cgroup            736 kernel/sched/psi.c 		*iter = cgroup;
cgroup            737 kernel/sched/psi.c 		return cgroup_psi(cgroup);
cgroup            867 kernel/sched/psi.c int psi_cgroup_alloc(struct cgroup *cgroup)
cgroup            872 kernel/sched/psi.c 	cgroup->psi.pcpu = alloc_percpu(struct psi_group_cpu);
cgroup            873 kernel/sched/psi.c 	if (!cgroup->psi.pcpu)
cgroup            875 kernel/sched/psi.c 	group_init(&cgroup->psi);
cgroup            879 kernel/sched/psi.c void psi_cgroup_free(struct cgroup *cgroup)
cgroup            884 kernel/sched/psi.c 	cancel_delayed_work_sync(&cgroup->psi.avgs_work);
cgroup            885 kernel/sched/psi.c 	free_percpu(cgroup->psi.pcpu);
cgroup            887 kernel/sched/psi.c 	WARN_ONCE(cgroup->psi.poll_states, "psi: trigger leak\n");
cgroup            175 kernel/trace/blktrace.c 		blkcg ? cgroup_get_kernfs_id(blkcg->css.cgroup) : NULL);
cgroup            769 kernel/trace/blktrace.c 	return cgroup_get_kernfs_id(bio_blkcg(bio)->css.cgroup);
cgroup            566 kernel/trace/bpf_trace.c 	struct cgroup *cgrp;
cgroup            539 mm/backing-dev.c 	blkcg_css = cgroup_get_e_css(memcg_css->cgroup, &io_cgrp_subsys);
cgroup            658 mm/backing-dev.c 		blkcg_css = cgroup_get_e_css(memcg_css->cgroup, &io_cgrp_subsys);
cgroup            496 mm/memcontrol.c 		ino = cgroup_ino(memcg->css.cgroup);
cgroup           1518 mm/memcontrol.c 		pr_cont_cgroup_path(memcg->css.cgroup);
cgroup           1554 mm/memcontrol.c 	pr_cont_cgroup_path(memcg->css.cgroup);
cgroup           2071 mm/memcontrol.c 	pr_cont_cgroup_path(memcg->css.cgroup);
cgroup            674 mm/slab_common.c 	cgroup_name(css->cgroup, memcg_name_buf, sizeof(memcg_name_buf));
cgroup           4059 net/core/filter.c 	struct cgroup *cgrp;
cgroup           4088 net/core/filter.c 	struct cgroup *cgrp;
cgroup           4108 net/core/filter.c 	struct cgroup *ancestor;
cgroup           4109 net/core/filter.c 	struct cgroup *cgrp;
cgroup             96 net/core/netprio_cgroup.c 	int id = css->cgroup->id;
cgroup            116 net/core/netprio_cgroup.c 	int id = css->cgroup->id;
cgroup            180 net/core/netprio_cgroup.c 	return css->cgroup->id;
cgroup            242 net/core/netprio_cgroup.c 		void *v = (void *)(unsigned long)css->cgroup->id;
cgroup             39 net/netfilter/xt_cgroup.c 	struct cgroup *cgrp;
cgroup             71 net/netfilter/xt_cgroup.c 	struct cgroup *cgrp;
cgroup            117 net/netfilter/xt_cgroup.c 	struct cgroup *ancestor = info->priv;
cgroup            135 net/netfilter/xt_cgroup.c 	struct cgroup *ancestor = info->priv;
cgroup            114 tools/perf/builtin-trace.c 	struct cgroup		*cgroup;
cgroup           3331 tools/perf/builtin-trace.c 	if (trace->cgroup)
cgroup           3332 tools/perf/builtin-trace.c 		evlist__set_default_cgroup(trace->evlist, trace->cgroup);
cgroup           3517 tools/perf/builtin-trace.c 	cgroup__put(trace->cgroup);
cgroup           4001 tools/perf/builtin-trace.c 	trace->cgroup = evlist__findnew_cgroup(trace->evlist, str);
cgroup           4213 tools/perf/builtin-trace.c 	if ((nr_cgroups || trace.cgroup) && !trace.opts.target.system_wide) {
cgroup             94 tools/perf/util/cgroup.c static struct cgroup *evlist__find_cgroup(struct evlist *evlist, const char *str)
cgroup            110 tools/perf/util/cgroup.c static struct cgroup *cgroup__new(const char *name)
cgroup            112 tools/perf/util/cgroup.c 	struct cgroup *cgroup = zalloc(sizeof(*cgroup));
cgroup            114 tools/perf/util/cgroup.c 	if (cgroup != NULL) {
cgroup            115 tools/perf/util/cgroup.c 		refcount_set(&cgroup->refcnt, 1);
cgroup            117 tools/perf/util/cgroup.c 		cgroup->name = strdup(name);
cgroup            118 tools/perf/util/cgroup.c 		if (!cgroup->name)
cgroup            120 tools/perf/util/cgroup.c 		cgroup->fd = open_cgroup(name);
cgroup            121 tools/perf/util/cgroup.c 		if (cgroup->fd == -1)
cgroup            125 tools/perf/util/cgroup.c 	return cgroup;
cgroup            128 tools/perf/util/cgroup.c 	zfree(&cgroup->name);
cgroup            130 tools/perf/util/cgroup.c 	free(cgroup);
cgroup            134 tools/perf/util/cgroup.c struct cgroup *evlist__findnew_cgroup(struct evlist *evlist, const char *name)
cgroup            136 tools/perf/util/cgroup.c 	struct cgroup *cgroup = evlist__find_cgroup(evlist, name);
cgroup            138 tools/perf/util/cgroup.c 	return cgroup ?: cgroup__new(name);
cgroup            144 tools/perf/util/cgroup.c 	struct cgroup *cgrp = evlist__findnew_cgroup(evlist, str);
cgroup            167 tools/perf/util/cgroup.c static void cgroup__delete(struct cgroup *cgroup)
cgroup            169 tools/perf/util/cgroup.c 	close(cgroup->fd);
cgroup            170 tools/perf/util/cgroup.c 	zfree(&cgroup->name);
cgroup            171 tools/perf/util/cgroup.c 	free(cgroup);
cgroup            174 tools/perf/util/cgroup.c void cgroup__put(struct cgroup *cgrp)
cgroup            181 tools/perf/util/cgroup.c struct cgroup *cgroup__get(struct cgroup *cgroup)
cgroup            183 tools/perf/util/cgroup.c        if (cgroup)
cgroup            184 tools/perf/util/cgroup.c 		refcount_inc(&cgroup->refcnt);
cgroup            185 tools/perf/util/cgroup.c        return cgroup;
cgroup            188 tools/perf/util/cgroup.c static void evsel__set_default_cgroup(struct evsel *evsel, struct cgroup *cgroup)
cgroup            191 tools/perf/util/cgroup.c 		evsel->cgrp = cgroup__get(cgroup);
cgroup            194 tools/perf/util/cgroup.c void evlist__set_default_cgroup(struct evlist *evlist, struct cgroup *cgroup)
cgroup            199 tools/perf/util/cgroup.c 		evsel__set_default_cgroup(evsel, cgroup);
cgroup            207 tools/perf/util/cgroup.c 	struct cgroup *cgrp = NULL;
cgroup             18 tools/perf/util/cgroup.h struct cgroup *cgroup__get(struct cgroup *cgroup);
cgroup             19 tools/perf/util/cgroup.h void cgroup__put(struct cgroup *cgroup);
cgroup             23 tools/perf/util/cgroup.h struct cgroup *evlist__findnew_cgroup(struct evlist *evlist, const char *name);
cgroup             25 tools/perf/util/cgroup.h void evlist__set_default_cgroup(struct evlist *evlist, struct cgroup *cgroup);
cgroup             16 tools/perf/util/evsel.h struct cgroup;
cgroup             60 tools/perf/util/evsel.h 	struct cgroup		*cgrp;
cgroup             77 tools/testing/selftests/cgroup/cgroup_util.c char *cg_control(const char *cgroup, const char *control)
cgroup             79 tools/testing/selftests/cgroup/cgroup_util.c 	size_t len = strlen(cgroup) + strlen(control) + 2;
cgroup             82 tools/testing/selftests/cgroup/cgroup_util.c 	snprintf(ret, len, "%s/%s", cgroup, control);
cgroup             87 tools/testing/selftests/cgroup/cgroup_util.c int cg_read(const char *cgroup, const char *control, char *buf, size_t len)
cgroup             91 tools/testing/selftests/cgroup/cgroup_util.c 	snprintf(path, sizeof(path), "%s/%s", cgroup, control);
cgroup             99 tools/testing/selftests/cgroup/cgroup_util.c int cg_read_strcmp(const char *cgroup, const char *control,
cgroup            116 tools/testing/selftests/cgroup/cgroup_util.c 	if (cg_read(cgroup, control, buf, size)) {
cgroup            126 tools/testing/selftests/cgroup/cgroup_util.c int cg_read_strstr(const char *cgroup, const char *control, const char *needle)
cgroup            130 tools/testing/selftests/cgroup/cgroup_util.c 	if (cg_read(cgroup, control, buf, sizeof(buf)))
cgroup            136 tools/testing/selftests/cgroup/cgroup_util.c long cg_read_long(const char *cgroup, const char *control)
cgroup            140 tools/testing/selftests/cgroup/cgroup_util.c 	if (cg_read(cgroup, control, buf, sizeof(buf)))
cgroup            146 tools/testing/selftests/cgroup/cgroup_util.c long cg_read_key_long(const char *cgroup, const char *control, const char *key)
cgroup            151 tools/testing/selftests/cgroup/cgroup_util.c 	if (cg_read(cgroup, control, buf, sizeof(buf)))
cgroup            161 tools/testing/selftests/cgroup/cgroup_util.c int cg_write(const char *cgroup, const char *control, char *buf)
cgroup            166 tools/testing/selftests/cgroup/cgroup_util.c 	snprintf(path, sizeof(path), "%s/%s", cgroup, control);
cgroup            203 tools/testing/selftests/cgroup/cgroup_util.c int cg_create(const char *cgroup)
cgroup            205 tools/testing/selftests/cgroup/cgroup_util.c 	return mkdir(cgroup, 0644);
cgroup            208 tools/testing/selftests/cgroup/cgroup_util.c int cg_wait_for_proc_count(const char *cgroup, int count)
cgroup            217 tools/testing/selftests/cgroup/cgroup_util.c 		if (cg_read(cgroup, "cgroup.procs", buf, sizeof(buf)))
cgroup            233 tools/testing/selftests/cgroup/cgroup_util.c int cg_killall(const char *cgroup)
cgroup            238 tools/testing/selftests/cgroup/cgroup_util.c 	if (cg_read(cgroup, "cgroup.procs", buf, sizeof(buf)))
cgroup            257 tools/testing/selftests/cgroup/cgroup_util.c int cg_destroy(const char *cgroup)
cgroup            262 tools/testing/selftests/cgroup/cgroup_util.c 	ret = rmdir(cgroup);
cgroup            264 tools/testing/selftests/cgroup/cgroup_util.c 		cg_killall(cgroup);
cgroup            275 tools/testing/selftests/cgroup/cgroup_util.c int cg_enter(const char *cgroup, int pid)
cgroup            280 tools/testing/selftests/cgroup/cgroup_util.c 	return cg_write(cgroup, "cgroup.procs", pidbuf);
cgroup            283 tools/testing/selftests/cgroup/cgroup_util.c int cg_enter_current(const char *cgroup)
cgroup            288 tools/testing/selftests/cgroup/cgroup_util.c 	return cg_write(cgroup, "cgroup.procs", pidbuf);
cgroup            291 tools/testing/selftests/cgroup/cgroup_util.c int cg_run(const char *cgroup,
cgroup            292 tools/testing/selftests/cgroup/cgroup_util.c 	   int (*fn)(const char *cgroup, void *arg),
cgroup            304 tools/testing/selftests/cgroup/cgroup_util.c 		if (cg_write(cgroup, "cgroup.procs", buf))
cgroup            306 tools/testing/selftests/cgroup/cgroup_util.c 		exit(fn(cgroup, arg));
cgroup            316 tools/testing/selftests/cgroup/cgroup_util.c int cg_run_nowait(const char *cgroup,
cgroup            317 tools/testing/selftests/cgroup/cgroup_util.c 		  int (*fn)(const char *cgroup, void *arg),
cgroup            327 tools/testing/selftests/cgroup/cgroup_util.c 		if (cg_write(cgroup, "cgroup.procs", buf))
cgroup            329 tools/testing/selftests/cgroup/cgroup_util.c 		exit(fn(cgroup, arg));
cgroup            363 tools/testing/selftests/cgroup/cgroup_util.c int alloc_anon(const char *cgroup, void *arg)
cgroup             21 tools/testing/selftests/cgroup/cgroup_util.h extern char *cg_control(const char *cgroup, const char *control);
cgroup             22 tools/testing/selftests/cgroup/cgroup_util.h extern int cg_create(const char *cgroup);
cgroup             23 tools/testing/selftests/cgroup/cgroup_util.h extern int cg_destroy(const char *cgroup);
cgroup             24 tools/testing/selftests/cgroup/cgroup_util.h extern int cg_read(const char *cgroup, const char *control,
cgroup             26 tools/testing/selftests/cgroup/cgroup_util.h extern int cg_read_strcmp(const char *cgroup, const char *control,
cgroup             28 tools/testing/selftests/cgroup/cgroup_util.h extern int cg_read_strstr(const char *cgroup, const char *control,
cgroup             30 tools/testing/selftests/cgroup/cgroup_util.h extern long cg_read_long(const char *cgroup, const char *control);
cgroup             31 tools/testing/selftests/cgroup/cgroup_util.h long cg_read_key_long(const char *cgroup, const char *control, const char *key);
cgroup             32 tools/testing/selftests/cgroup/cgroup_util.h extern int cg_write(const char *cgroup, const char *control, char *buf);
cgroup             33 tools/testing/selftests/cgroup/cgroup_util.h extern int cg_run(const char *cgroup,
cgroup             34 tools/testing/selftests/cgroup/cgroup_util.h 		  int (*fn)(const char *cgroup, void *arg),
cgroup             36 tools/testing/selftests/cgroup/cgroup_util.h extern int cg_enter(const char *cgroup, int pid);
cgroup             37 tools/testing/selftests/cgroup/cgroup_util.h extern int cg_enter_current(const char *cgroup);
cgroup             38 tools/testing/selftests/cgroup/cgroup_util.h extern int cg_run_nowait(const char *cgroup,
cgroup             39 tools/testing/selftests/cgroup/cgroup_util.h 			 int (*fn)(const char *cgroup, void *arg),
cgroup             43 tools/testing/selftests/cgroup/cgroup_util.h extern int alloc_anon(const char *cgroup, void *arg);
cgroup             46 tools/testing/selftests/cgroup/cgroup_util.h extern int cg_wait_for_proc_count(const char *cgroup, int count);
cgroup             47 tools/testing/selftests/cgroup/cgroup_util.h extern int cg_killall(const char *cgroup);
cgroup             29 tools/testing/selftests/cgroup/test_freezer.c static int cg_check_frozen(const char *cgroup, bool frozen)
cgroup             32 tools/testing/selftests/cgroup/test_freezer.c 		if (cg_read_strstr(cgroup, "cgroup.events", "frozen 1") != 0) {
cgroup             33 tools/testing/selftests/cgroup/test_freezer.c 			debug("Cgroup %s isn't frozen\n", cgroup);
cgroup             40 tools/testing/selftests/cgroup/test_freezer.c 		if (cg_read_strstr(cgroup, "cgroup.events", "frozen 0") != 0) {
cgroup             41 tools/testing/selftests/cgroup/test_freezer.c 			debug("Cgroup %s is frozen\n", cgroup);
cgroup             52 tools/testing/selftests/cgroup/test_freezer.c static int cg_freeze_nowait(const char *cgroup, bool freeze)
cgroup             54 tools/testing/selftests/cgroup/test_freezer.c 	return cg_write(cgroup, "cgroup.freeze", freeze ? "1" : "0");
cgroup             60 tools/testing/selftests/cgroup/test_freezer.c static int cg_prepare_for_wait(const char *cgroup)
cgroup             70 tools/testing/selftests/cgroup/test_freezer.c 	ret = inotify_add_watch(fd, cg_control(cgroup, "cgroup.events"),
cgroup            116 tools/testing/selftests/cgroup/test_freezer.c static int cg_enter_and_wait_for_frozen(const char *cgroup, int pid,
cgroup            122 tools/testing/selftests/cgroup/test_freezer.c 	fd = cg_prepare_for_wait(cgroup);
cgroup            126 tools/testing/selftests/cgroup/test_freezer.c 	ret = cg_enter(cgroup, pid);
cgroup            135 tools/testing/selftests/cgroup/test_freezer.c 		ret = cg_check_frozen(cgroup, frozen);
cgroup            150 tools/testing/selftests/cgroup/test_freezer.c static int cg_freeze_wait(const char *cgroup, bool freeze)
cgroup            154 tools/testing/selftests/cgroup/test_freezer.c 	fd = cg_prepare_for_wait(cgroup);
cgroup            158 tools/testing/selftests/cgroup/test_freezer.c 	ret = cg_freeze_nowait(cgroup, freeze);
cgroup            168 tools/testing/selftests/cgroup/test_freezer.c 	ret = cg_check_frozen(cgroup, freeze);
cgroup            178 tools/testing/selftests/cgroup/test_freezer.c static int child_fn(const char *cgroup, void *arg)
cgroup            196 tools/testing/selftests/cgroup/test_freezer.c 	char *cgroup = NULL;
cgroup            199 tools/testing/selftests/cgroup/test_freezer.c 	cgroup = cg_name(root, "cg_test_simple");
cgroup            200 tools/testing/selftests/cgroup/test_freezer.c 	if (!cgroup)
cgroup            203 tools/testing/selftests/cgroup/test_freezer.c 	if (cg_create(cgroup))
cgroup            207 tools/testing/selftests/cgroup/test_freezer.c 		cg_run_nowait(cgroup, child_fn, NULL);
cgroup            209 tools/testing/selftests/cgroup/test_freezer.c 	if (cg_wait_for_proc_count(cgroup, 100))
cgroup            212 tools/testing/selftests/cgroup/test_freezer.c 	if (cg_check_frozen(cgroup, false))
cgroup            215 tools/testing/selftests/cgroup/test_freezer.c 	if (cg_freeze_wait(cgroup, true))
cgroup            218 tools/testing/selftests/cgroup/test_freezer.c 	if (cg_freeze_wait(cgroup, false))
cgroup            224 tools/testing/selftests/cgroup/test_freezer.c 	if (cgroup)
cgroup            225 tools/testing/selftests/cgroup/test_freezer.c 		cg_destroy(cgroup);
cgroup            226 tools/testing/selftests/cgroup/test_freezer.c 	free(cgroup);
cgroup            247 tools/testing/selftests/cgroup/test_freezer.c 	char *cgroup[10] = {0};
cgroup            251 tools/testing/selftests/cgroup/test_freezer.c 	cgroup[0] = cg_name(root, "cg_test_tree_A");
cgroup            252 tools/testing/selftests/cgroup/test_freezer.c 	if (!cgroup[0])
cgroup            255 tools/testing/selftests/cgroup/test_freezer.c 	cgroup[1] = cg_name(cgroup[0], "B");
cgroup            256 tools/testing/selftests/cgroup/test_freezer.c 	if (!cgroup[1])
cgroup            259 tools/testing/selftests/cgroup/test_freezer.c 	cgroup[2] = cg_name(cgroup[1], "C");
cgroup            260 tools/testing/selftests/cgroup/test_freezer.c 	if (!cgroup[2])
cgroup            263 tools/testing/selftests/cgroup/test_freezer.c 	cgroup[3] = cg_name(cgroup[1], "D");
cgroup            264 tools/testing/selftests/cgroup/test_freezer.c 	if (!cgroup[3])
cgroup            267 tools/testing/selftests/cgroup/test_freezer.c 	cgroup[4] = cg_name(cgroup[0], "E");
cgroup            268 tools/testing/selftests/cgroup/test_freezer.c 	if (!cgroup[4])
cgroup            271 tools/testing/selftests/cgroup/test_freezer.c 	cgroup[5] = cg_name(cgroup[4], "F");
cgroup            272 tools/testing/selftests/cgroup/test_freezer.c 	if (!cgroup[5])
cgroup            275 tools/testing/selftests/cgroup/test_freezer.c 	cgroup[6] = cg_name(cgroup[5], "G");
cgroup            276 tools/testing/selftests/cgroup/test_freezer.c 	if (!cgroup[6])
cgroup            279 tools/testing/selftests/cgroup/test_freezer.c 	cgroup[7] = cg_name(cgroup[6], "H");
cgroup            280 tools/testing/selftests/cgroup/test_freezer.c 	if (!cgroup[7])
cgroup            283 tools/testing/selftests/cgroup/test_freezer.c 	cgroup[8] = cg_name(cgroup[0], "I");
cgroup            284 tools/testing/selftests/cgroup/test_freezer.c 	if (!cgroup[8])
cgroup            287 tools/testing/selftests/cgroup/test_freezer.c 	cgroup[9] = cg_name(cgroup[0], "K");
cgroup            288 tools/testing/selftests/cgroup/test_freezer.c 	if (!cgroup[9])
cgroup            292 tools/testing/selftests/cgroup/test_freezer.c 		if (cg_create(cgroup[i]))
cgroup            295 tools/testing/selftests/cgroup/test_freezer.c 	cg_run_nowait(cgroup[2], child_fn, NULL);
cgroup            296 tools/testing/selftests/cgroup/test_freezer.c 	cg_run_nowait(cgroup[7], child_fn, NULL);
cgroup            297 tools/testing/selftests/cgroup/test_freezer.c 	cg_run_nowait(cgroup[9], child_fn, NULL);
cgroup            298 tools/testing/selftests/cgroup/test_freezer.c 	cg_run_nowait(cgroup[9], child_fn, NULL);
cgroup            299 tools/testing/selftests/cgroup/test_freezer.c 	cg_run_nowait(cgroup[9], child_fn, NULL);
cgroup            306 tools/testing/selftests/cgroup/test_freezer.c 	if (cg_wait_for_proc_count(cgroup[2], 1) ||
cgroup            307 tools/testing/selftests/cgroup/test_freezer.c 	    cg_wait_for_proc_count(cgroup[7], 1) ||
cgroup            308 tools/testing/selftests/cgroup/test_freezer.c 	    cg_wait_for_proc_count(cgroup[9], 3))
cgroup            314 tools/testing/selftests/cgroup/test_freezer.c 	if (cg_freeze_wait(cgroup[1], true))
cgroup            320 tools/testing/selftests/cgroup/test_freezer.c 	if (cg_freeze_wait(cgroup[5], true))
cgroup            326 tools/testing/selftests/cgroup/test_freezer.c 	if (cg_freeze_wait(cgroup[6], true))
cgroup            332 tools/testing/selftests/cgroup/test_freezer.c 	if (cg_check_frozen(cgroup[0], false))
cgroup            335 tools/testing/selftests/cgroup/test_freezer.c 	if (cg_check_frozen(cgroup[4], false))
cgroup            341 tools/testing/selftests/cgroup/test_freezer.c 	if (cg_freeze_wait(cgroup[0], true))
cgroup            344 tools/testing/selftests/cgroup/test_freezer.c 	if (cg_check_frozen(cgroup[1], true))
cgroup            347 tools/testing/selftests/cgroup/test_freezer.c 	if (cg_check_frozen(cgroup[4], true))
cgroup            353 tools/testing/selftests/cgroup/test_freezer.c 	if (cg_freeze_nowait(cgroup[1], false))
cgroup            356 tools/testing/selftests/cgroup/test_freezer.c 	if (cg_freeze_nowait(cgroup[5], false))
cgroup            359 tools/testing/selftests/cgroup/test_freezer.c 	if (cg_freeze_nowait(cgroup[6], false))
cgroup            365 tools/testing/selftests/cgroup/test_freezer.c 	if (cg_check_frozen(cgroup[2], true))
cgroup            368 tools/testing/selftests/cgroup/test_freezer.c 	if (cg_check_frozen(cgroup[7], true))
cgroup            374 tools/testing/selftests/cgroup/test_freezer.c 	if (cg_freeze_wait(cgroup[0], false))
cgroup            377 tools/testing/selftests/cgroup/test_freezer.c 	if (cg_check_frozen(cgroup[2], false))
cgroup            380 tools/testing/selftests/cgroup/test_freezer.c 	if (cg_check_frozen(cgroup[9], false))
cgroup            386 tools/testing/selftests/cgroup/test_freezer.c 	for (i = 9; i >= 0 && cgroup[i]; i--) {
cgroup            387 tools/testing/selftests/cgroup/test_freezer.c 		cg_destroy(cgroup[i]);
cgroup            388 tools/testing/selftests/cgroup/test_freezer.c 		free(cgroup[i]);
cgroup            397 tools/testing/selftests/cgroup/test_freezer.c static int forkbomb_fn(const char *cgroup, void *arg)
cgroup            420 tools/testing/selftests/cgroup/test_freezer.c 	char *cgroup = NULL;
cgroup            422 tools/testing/selftests/cgroup/test_freezer.c 	cgroup = cg_name(root, "cg_forkbomb_test");
cgroup            423 tools/testing/selftests/cgroup/test_freezer.c 	if (!cgroup)
cgroup            426 tools/testing/selftests/cgroup/test_freezer.c 	if (cg_create(cgroup))
cgroup            429 tools/testing/selftests/cgroup/test_freezer.c 	cg_run_nowait(cgroup, forkbomb_fn, NULL);
cgroup            433 tools/testing/selftests/cgroup/test_freezer.c 	if (cg_freeze_wait(cgroup, true))
cgroup            436 tools/testing/selftests/cgroup/test_freezer.c 	if (cg_killall(cgroup))
cgroup            439 tools/testing/selftests/cgroup/test_freezer.c 	if (cg_wait_for_proc_count(cgroup, 0))
cgroup            445 tools/testing/selftests/cgroup/test_freezer.c 	if (cgroup)
cgroup            446 tools/testing/selftests/cgroup/test_freezer.c 		cg_destroy(cgroup);
cgroup            447 tools/testing/selftests/cgroup/test_freezer.c 	free(cgroup);
cgroup            568 tools/testing/selftests/cgroup/test_freezer.c 	char *cgroup[2] = {0};
cgroup            571 tools/testing/selftests/cgroup/test_freezer.c 	cgroup[0] = cg_name(root, "cg_test_migrate_A");
cgroup            572 tools/testing/selftests/cgroup/test_freezer.c 	if (!cgroup[0])
cgroup            575 tools/testing/selftests/cgroup/test_freezer.c 	cgroup[1] = cg_name(root, "cg_test_migrate_B");
cgroup            576 tools/testing/selftests/cgroup/test_freezer.c 	if (!cgroup[1])
cgroup            579 tools/testing/selftests/cgroup/test_freezer.c 	if (cg_create(cgroup[0]))
cgroup            582 tools/testing/selftests/cgroup/test_freezer.c 	if (cg_create(cgroup[1]))
cgroup            585 tools/testing/selftests/cgroup/test_freezer.c 	pid = cg_run_nowait(cgroup[0], child_fn, NULL);
cgroup            589 tools/testing/selftests/cgroup/test_freezer.c 	if (cg_wait_for_proc_count(cgroup[0], 1))
cgroup            595 tools/testing/selftests/cgroup/test_freezer.c 	if (cg_freeze_wait(cgroup[1], true))
cgroup            598 tools/testing/selftests/cgroup/test_freezer.c 	if (cg_enter_and_wait_for_frozen(cgroup[1], pid, true))
cgroup            601 tools/testing/selftests/cgroup/test_freezer.c 	if (cg_check_frozen(cgroup[0], false))
cgroup            607 tools/testing/selftests/cgroup/test_freezer.c 	if (cg_enter_and_wait_for_frozen(cgroup[0], pid, false))
cgroup            610 tools/testing/selftests/cgroup/test_freezer.c 	if (cg_check_frozen(cgroup[1], true))
cgroup            616 tools/testing/selftests/cgroup/test_freezer.c 	if (cg_freeze_wait(cgroup[0], true))
cgroup            619 tools/testing/selftests/cgroup/test_freezer.c 	if (cg_enter_and_wait_for_frozen(cgroup[1], pid, true))
cgroup            622 tools/testing/selftests/cgroup/test_freezer.c 	if (cg_check_frozen(cgroup[0], true))
cgroup            628 tools/testing/selftests/cgroup/test_freezer.c 	if (cgroup[0])
cgroup            629 tools/testing/selftests/cgroup/test_freezer.c 		cg_destroy(cgroup[0]);
cgroup            630 tools/testing/selftests/cgroup/test_freezer.c 	free(cgroup[0]);
cgroup            631 tools/testing/selftests/cgroup/test_freezer.c 	if (cgroup[1])
cgroup            632 tools/testing/selftests/cgroup/test_freezer.c 		cg_destroy(cgroup[1]);
cgroup            633 tools/testing/selftests/cgroup/test_freezer.c 	free(cgroup[1]);
cgroup            643 tools/testing/selftests/cgroup/test_freezer.c 	char *cgroup = NULL;
cgroup            647 tools/testing/selftests/cgroup/test_freezer.c 	cgroup = cg_name(root, "cg_test_ptrace");
cgroup            648 tools/testing/selftests/cgroup/test_freezer.c 	if (!cgroup)
cgroup            651 tools/testing/selftests/cgroup/test_freezer.c 	if (cg_create(cgroup))
cgroup            654 tools/testing/selftests/cgroup/test_freezer.c 	pid = cg_run_nowait(cgroup, child_fn, NULL);
cgroup            658 tools/testing/selftests/cgroup/test_freezer.c 	if (cg_wait_for_proc_count(cgroup, 1))
cgroup            661 tools/testing/selftests/cgroup/test_freezer.c 	if (cg_freeze_wait(cgroup, true))
cgroup            676 tools/testing/selftests/cgroup/test_freezer.c 	if (cg_check_frozen(cgroup, true))
cgroup            685 tools/testing/selftests/cgroup/test_freezer.c 	if (cg_check_frozen(cgroup, true))
cgroup            691 tools/testing/selftests/cgroup/test_freezer.c 	if (cgroup)
cgroup            692 tools/testing/selftests/cgroup/test_freezer.c 		cg_destroy(cgroup);
cgroup            693 tools/testing/selftests/cgroup/test_freezer.c 	free(cgroup);
cgroup            725 tools/testing/selftests/cgroup/test_freezer.c 	char *cgroup = NULL;
cgroup            727 tools/testing/selftests/cgroup/test_freezer.c 	cgroup = cg_name(root, "cg_test_stopped");
cgroup            728 tools/testing/selftests/cgroup/test_freezer.c 	if (!cgroup)
cgroup            731 tools/testing/selftests/cgroup/test_freezer.c 	if (cg_create(cgroup))
cgroup            734 tools/testing/selftests/cgroup/test_freezer.c 	pid = cg_run_nowait(cgroup, child_fn, NULL);
cgroup            736 tools/testing/selftests/cgroup/test_freezer.c 	if (cg_wait_for_proc_count(cgroup, 1))
cgroup            742 tools/testing/selftests/cgroup/test_freezer.c 	if (cg_check_frozen(cgroup, false))
cgroup            745 tools/testing/selftests/cgroup/test_freezer.c 	if (cg_freeze_wait(cgroup, true))
cgroup            748 tools/testing/selftests/cgroup/test_freezer.c 	if (cg_freeze_wait(cgroup, false))
cgroup            757 tools/testing/selftests/cgroup/test_freezer.c 	if (cgroup)
cgroup            758 tools/testing/selftests/cgroup/test_freezer.c 		cg_destroy(cgroup);
cgroup            759 tools/testing/selftests/cgroup/test_freezer.c 	free(cgroup);
cgroup            769 tools/testing/selftests/cgroup/test_freezer.c 	char *cgroup = NULL;
cgroup            772 tools/testing/selftests/cgroup/test_freezer.c 	cgroup = cg_name(root, "cg_test_ptraced");
cgroup            773 tools/testing/selftests/cgroup/test_freezer.c 	if (!cgroup)
cgroup            776 tools/testing/selftests/cgroup/test_freezer.c 	if (cg_create(cgroup))
cgroup            779 tools/testing/selftests/cgroup/test_freezer.c 	pid = cg_run_nowait(cgroup, child_fn, NULL);
cgroup            781 tools/testing/selftests/cgroup/test_freezer.c 	if (cg_wait_for_proc_count(cgroup, 1))
cgroup            792 tools/testing/selftests/cgroup/test_freezer.c 	if (cg_check_frozen(cgroup, false))
cgroup            795 tools/testing/selftests/cgroup/test_freezer.c 	if (cg_freeze_wait(cgroup, true))
cgroup            802 tools/testing/selftests/cgroup/test_freezer.c 	if (cg_freeze_wait(cgroup, false))
cgroup            814 tools/testing/selftests/cgroup/test_freezer.c 	if (cgroup)
cgroup            815 tools/testing/selftests/cgroup/test_freezer.c 		cg_destroy(cgroup);
cgroup            816 tools/testing/selftests/cgroup/test_freezer.c 	free(cgroup);
cgroup            820 tools/testing/selftests/cgroup/test_freezer.c static int vfork_fn(const char *cgroup, void *arg)
cgroup            838 tools/testing/selftests/cgroup/test_freezer.c 	char *cgroup = NULL;
cgroup            840 tools/testing/selftests/cgroup/test_freezer.c 	cgroup = cg_name(root, "cg_test_vfork");
cgroup            841 tools/testing/selftests/cgroup/test_freezer.c 	if (!cgroup)
cgroup            844 tools/testing/selftests/cgroup/test_freezer.c 	if (cg_create(cgroup))
cgroup            847 tools/testing/selftests/cgroup/test_freezer.c 	cg_run_nowait(cgroup, vfork_fn, NULL);
cgroup            849 tools/testing/selftests/cgroup/test_freezer.c 	if (cg_wait_for_proc_count(cgroup, 2))
cgroup            852 tools/testing/selftests/cgroup/test_freezer.c 	if (cg_freeze_wait(cgroup, true))
cgroup            858 tools/testing/selftests/cgroup/test_freezer.c 	if (cgroup)
cgroup            859 tools/testing/selftests/cgroup/test_freezer.c 		cg_destroy(cgroup);
cgroup            860 tools/testing/selftests/cgroup/test_freezer.c 	free(cgroup);
cgroup             89 tools/testing/selftests/cgroup/test_memcontrol.c static int alloc_anon_50M_check(const char *cgroup, void *arg)
cgroup            100 tools/testing/selftests/cgroup/test_memcontrol.c 	current = cg_read_long(cgroup, "memory.current");
cgroup            107 tools/testing/selftests/cgroup/test_memcontrol.c 	anon = cg_read_key_long(cgroup, "memory.stat", "anon ");
cgroup            120 tools/testing/selftests/cgroup/test_memcontrol.c static int alloc_pagecache_50M_check(const char *cgroup, void *arg)
cgroup            134 tools/testing/selftests/cgroup/test_memcontrol.c 	current = cg_read_long(cgroup, "memory.current");
cgroup            138 tools/testing/selftests/cgroup/test_memcontrol.c 	file = cg_read_key_long(cgroup, "memory.stat", "file ");
cgroup            189 tools/testing/selftests/cgroup/test_memcontrol.c static int alloc_pagecache_50M(const char *cgroup, void *arg)
cgroup            196 tools/testing/selftests/cgroup/test_memcontrol.c static int alloc_pagecache_50M_noexit(const char *cgroup, void *arg)
cgroup            210 tools/testing/selftests/cgroup/test_memcontrol.c static int alloc_anon_noexit(const char *cgroup, void *arg)
cgroup            214 tools/testing/selftests/cgroup/test_memcontrol.c 	if (alloc_anon(cgroup, arg))
cgroup            227 tools/testing/selftests/cgroup/test_memcontrol.c static int cg_test_proc_killed(const char *cgroup)
cgroup            232 tools/testing/selftests/cgroup/test_memcontrol.c 		if (cg_read_strcmp(cgroup, "cgroup.procs", "") == 0)
cgroup            556 tools/testing/selftests/cgroup/test_memcontrol.c static int alloc_pagecache_max_30M(const char *cgroup, void *arg)
cgroup            570 tools/testing/selftests/cgroup/test_memcontrol.c 	current = cg_read_long(cgroup, "memory.current");
cgroup            682 tools/testing/selftests/cgroup/test_memcontrol.c static int alloc_anon_50M_check_swap(const char *cgroup, void *arg)
cgroup            694 tools/testing/selftests/cgroup/test_memcontrol.c 	mem_current = cg_read_long(cgroup, "memory.current");
cgroup            698 tools/testing/selftests/cgroup/test_memcontrol.c 	swap_current = cg_read_long(cgroup, "memory.swap.current");
cgroup            821 tools/testing/selftests/cgroup/test_memcontrol.c static int tcp_server(const char *cgroup, void *arg)
cgroup            878 tools/testing/selftests/cgroup/test_memcontrol.c static int tcp_client(const char *cgroup, unsigned short port)
cgroup            907 tools/testing/selftests/cgroup/test_memcontrol.c 		current = cg_read_long(cgroup, "memory.current");
cgroup            908 tools/testing/selftests/cgroup/test_memcontrol.c 		sock = cg_read_key_long(cgroup, "memory.stat", "sock ");
cgroup            372 tools/vm/page-types.c 			    uint64_t cgroup, uint64_t mapcnt)
cgroup            381 tools/vm/page-types.c 	if (flags == flags0 && cgroup == cgroup0 && mapcnt == mapcnt0 &&
cgroup            401 tools/vm/page-types.c 	cgroup0 = cgroup;
cgroup            414 tools/vm/page-types.c 		      uint64_t flags, uint64_t cgroup, uint64_t mapcnt)
cgroup            421 tools/vm/page-types.c 		printf("@%llu\t", (unsigned long long)cgroup);
cgroup            632 tools/vm/page-types.c 		     uint64_t flags, uint64_t cgroup, uint64_t mapcnt,
cgroup            640 tools/vm/page-types.c 	if (opt_cgroup && cgroup != (uint64_t)opt_cgroup)
cgroup            652 tools/vm/page-types.c 		show_page_range(voffset, offset, 1, flags, cgroup, mapcnt);
cgroup            654 tools/vm/page-types.c 		show_page(voffset, offset, flags, cgroup, mapcnt);
cgroup            972 tools/vm/page-types.c 	uint64_t cgroup = 0;
cgroup           1031 tools/vm/page-types.c 			if (!kpagecgroup_read(&cgroup, pfn, 1))
cgroup           1041 tools/vm/page-types.c 				 flags, cgroup, mapcnt, buf[i]);