/Linux-v5.4/tools/testing/selftests/cgroup/ |
D | test_freezer.c | 29 static int cg_check_frozen(const char *cgroup, bool frozen) in cg_check_frozen() 52 static int cg_freeze_nowait(const char *cgroup, bool freeze) in cg_freeze_nowait() 60 static int cg_prepare_for_wait(const char *cgroup) in cg_prepare_for_wait() 115 static int cg_enter_and_wait_for_frozen(const char *cgroup, int pid, in cg_enter_and_wait_for_frozen() 149 static int cg_freeze_wait(const char *cgroup, bool freeze) in cg_freeze_wait() 177 static int child_fn(const char *cgroup, void *arg) in child_fn() 195 char *cgroup = NULL; in test_cgfreezer_simple() local 246 char *cgroup[10] = {0}; in test_cgfreezer_tree() local 396 static int forkbomb_fn(const char *cgroup, void *arg) in forkbomb_fn() 419 char *cgroup = NULL; in test_cgfreezer_forkbomb() local [all …]
|
D | cgroup_util.c | 77 char *cg_control(const char *cgroup, const char *control) in cg_control() 87 int cg_read(const char *cgroup, const char *control, char *buf, size_t len) in cg_read() 99 int cg_read_strcmp(const char *cgroup, const char *control, in cg_read_strcmp() 126 int cg_read_strstr(const char *cgroup, const char *control, const char *needle) in cg_read_strstr() 136 long cg_read_long(const char *cgroup, const char *control) in cg_read_long() 146 long cg_read_key_long(const char *cgroup, const char *control, const char *key) in cg_read_key_long() 161 int cg_write(const char *cgroup, const char *control, char *buf) in cg_write() 203 int cg_create(const char *cgroup) in cg_create() 208 int cg_wait_for_proc_count(const char *cgroup, int count) in cg_wait_for_proc_count() 233 int cg_killall(const char *cgroup) in cg_killall() [all …]
|
D | test_memcontrol.c | 89 static int alloc_anon_50M_check(const char *cgroup, void *arg) in alloc_anon_50M_check() 120 static int alloc_pagecache_50M_check(const char *cgroup, void *arg) in alloc_pagecache_50M_check() 189 static int alloc_pagecache_50M(const char *cgroup, void *arg) in alloc_pagecache_50M() 196 static int alloc_pagecache_50M_noexit(const char *cgroup, void *arg) in alloc_pagecache_50M_noexit() 210 static int alloc_anon_noexit(const char *cgroup, void *arg) in alloc_anon_noexit() 227 static int cg_test_proc_killed(const char *cgroup) in cg_test_proc_killed() 556 static int alloc_pagecache_max_30M(const char *cgroup, void *arg) in alloc_pagecache_max_30M() 682 static int alloc_anon_50M_check_swap(const char *cgroup, void *arg) in alloc_anon_50M_check_swap() 821 static int tcp_server(const char *cgroup, void *arg) in tcp_server() 878 static int tcp_client(const char *cgroup, unsigned short port) in tcp_client()
|
/Linux-v5.4/include/linux/ |
D | cgroup-defs.h | 135 struct cgroup *cgroup; member 351 struct cgroup { struct 353 struct cgroup_subsys_state self; argument 360 * ID 0 is not used, the ID of the root cgroup is always 1, and a argument 368 * The depth this cgroup is at. The root is at depth zero and each argument 394 * Each non-empty css_set associated with this cgroup contributes argument 408 int nr_threaded_children; /* # of live threaded child cgroups */ argument 410 struct kernfs_node *kn; /* cgroup kernfs entry */ argument 411 struct cgroup_file procs_file; /* handle for "cgroup.procs" */ argument 412 struct cgroup_file events_file; /* handle for "cgroup.events" */ argument [all …]
|
/Linux-v5.4/tools/perf/util/ |
D | cgroup.h | 9 struct cgroup { struct 18 struct cgroup *cgroup__get(struct cgroup *cgroup); argument
|
D | cgroup.c | 112 struct cgroup *cgroup = zalloc(sizeof(*cgroup)); in cgroup__new() local 136 struct cgroup *cgroup = evlist__find_cgroup(evlist, name); in evlist__findnew_cgroup() local 167 static void cgroup__delete(struct cgroup *cgroup) in cgroup__delete() 181 struct cgroup *cgroup__get(struct cgroup *cgroup) in cgroup__get() 188 static void evsel__set_default_cgroup(struct evsel *evsel, struct cgroup *cgroup) in evsel__set_default_cgroup() 194 void evlist__set_default_cgroup(struct evlist *evlist, struct cgroup *cgroup) in evlist__set_default_cgroup()
|
/Linux-v5.4/tools/vm/ |
D | page-types.c | 372 uint64_t cgroup, uint64_t mapcnt) in show_page_range() 414 uint64_t flags, uint64_t cgroup, uint64_t mapcnt) in show_page() 632 uint64_t flags, uint64_t cgroup, uint64_t mapcnt, in add_page() 972 uint64_t cgroup = 0; in walk_file() local
|
/Linux-v5.4/kernel/sched/ |
D | psi.c | 725 struct cgroup *cgroup = NULL; in iterate_groups() local 866 int psi_cgroup_alloc(struct cgroup *cgroup) in psi_cgroup_alloc() 878 void psi_cgroup_free(struct cgroup *cgroup) in psi_cgroup_free()
|
/Linux-v5.4/tools/ |
D | Makefile | 66 cgroup firewire hv guest spi usb virtio vm bpf iio gpio objtool leds wmi pci firmware debugging: FO… target
|
/Linux-v5.4/kernel/bpf/ |
D | local_storage.c | 563 struct cgroup *cgroup, in bpf_cgroup_storage_link()
|
/Linux-v5.4/kernel/cgroup/ |
D | cgroup.c | 3560 struct cgroup *cgroup = seq_css(seq)->cgroup; in cgroup_stat_show() local 3604 struct cgroup *cgroup = seq_css(seq)->cgroup; in cgroup_io_pressure_show() local 3611 struct cgroup *cgroup = seq_css(seq)->cgroup; in cgroup_memory_pressure_show() local 3618 struct cgroup *cgroup = seq_css(seq)->cgroup; in cgroup_cpu_pressure_show() local 5334 struct cgroup *cgroup; in cgroup_check_hierarchy_limits() local
|
/Linux-v5.4/tools/perf/ |
D | builtin-trace.c | 114 struct cgroup *cgroup; member
|