Home
last modified time | relevance | path

Searched defs:cgroup (Results 1 – 10 of 10) sorted by relevance

/Linux-v4.19/include/linux/
Dcgroup-defs.h121 struct cgroup *cgroup; member
317 struct cgroup { struct
319 struct cgroup_subsys_state self; argument
326 * ID 0 is not used, the ID of the root cgroup is always 1, and a argument
334 * The depth this cgroup is at. The root is at depth zero and each argument
355 * Each non-empty css_set associated with this cgroup contributes argument
369 int nr_threaded_children; /* # of live threaded child cgroups */ argument
371 struct kernfs_node *kn; /* cgroup kernfs entry */ argument
372 struct cgroup_file procs_file; /* handle for "cgroup.procs" */ argument
373 struct cgroup_file events_file; /* handle for "cgroup.events" */ argument
[all …]
/Linux-v4.19/tools/testing/selftests/cgroup/
Dcgroup_util.c77 int cg_read(const char *cgroup, const char *control, char *buf, size_t len) in cg_read()
89 int cg_read_strcmp(const char *cgroup, const char *control, in cg_read_strcmp()
116 int cg_read_strstr(const char *cgroup, const char *control, const char *needle) in cg_read_strstr()
126 long cg_read_long(const char *cgroup, const char *control) in cg_read_long()
136 long cg_read_key_long(const char *cgroup, const char *control, const char *key) in cg_read_key_long()
151 int cg_write(const char *cgroup, const char *control, char *buf) in cg_write()
194 int cg_create(const char *cgroup) in cg_create()
199 static int cg_killall(const char *cgroup) in cg_killall()
223 int cg_destroy(const char *cgroup) in cg_destroy()
243 int cg_enter_current(const char *cgroup) in cg_enter_current()
[all …]
Dtest_memcontrol.c85 static int alloc_anon_50M_check(const char *cgroup, void *arg) in alloc_anon_50M_check()
116 static int alloc_pagecache_50M_check(const char *cgroup, void *arg) in alloc_pagecache_50M_check()
185 static int alloc_pagecache_50M(const char *cgroup, void *arg) in alloc_pagecache_50M()
192 static int alloc_pagecache_50M_noexit(const char *cgroup, void *arg) in alloc_pagecache_50M_noexit()
206 static int alloc_anon_noexit(const char *cgroup, void *arg) in alloc_anon_noexit()
223 static int cg_test_proc_killed(const char *cgroup) in cg_test_proc_killed()
552 static int alloc_pagecache_max_30M(const char *cgroup, void *arg) in alloc_pagecache_max_30M()
678 static int alloc_anon_50M_check_swap(const char *cgroup, void *arg) in alloc_anon_50M_check_swap()
817 static int tcp_server(const char *cgroup, void *arg) in tcp_server()
874 static int tcp_client(const char *cgroup, unsigned short port) in tcp_client()
/Linux-v4.19/tools/perf/util/
Dcgroup.h9 struct cgroup { struct
18 struct cgroup *cgroup__get(struct cgroup *cgroup); argument
Dcgroup.c111 struct cgroup *cgroup = zalloc(sizeof(*cgroup)); in cgroup__new() local
135 struct cgroup *cgroup = evlist__find_cgroup(evlist, name); in evlist__findnew_cgroup() local
166 static void cgroup__delete(struct cgroup *cgroup) in cgroup__delete()
180 struct cgroup *cgroup__get(struct cgroup *cgroup) in cgroup__get()
187 static void evsel__set_default_cgroup(struct perf_evsel *evsel, struct cgroup *cgroup) in evsel__set_default_cgroup()
193 void evlist__set_default_cgroup(struct perf_evlist *evlist, struct cgroup *cgroup) in evlist__set_default_cgroup()
/Linux-v4.19/tools/vm/
Dpage-types.c384 uint64_t cgroup, uint64_t mapcnt) in show_page_range()
426 uint64_t flags, uint64_t cgroup, uint64_t mapcnt) in show_page()
644 uint64_t flags, uint64_t cgroup, uint64_t mapcnt, in add_page()
984 uint64_t cgroup = 0; in walk_file() local
/Linux-v4.19/tools/
DMakefile62 cgroup firewire hv guest spi usb virtio vm bpf iio gpio objtool leds wmi: FORCE target
/Linux-v4.19/kernel/bpf/
Dlocal_storage.c345 struct cgroup *cgroup, in bpf_cgroup_storage_link()
/Linux-v4.19/kernel/cgroup/
Dcgroup.c3378 struct cgroup *cgroup = seq_css(seq)->cgroup; in cgroup_stat_show() local
4920 struct cgroup *cgroup; in cgroup_check_hierarchy_limits() local
/Linux-v4.19/tools/perf/
Dbuiltin-trace.c88 struct cgroup *cgroup; member