Home
last modified time | relevance | path

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

12

/linux-6.1.9/tools/testing/selftests/cgroup/
Dcgroup_util.c75 char *cg_control(const char *cgroup, const char *control) in cg_control()
86 int cg_read(const char *cgroup, const char *control, char *buf, size_t len) in cg_read()
97 int cg_read_strcmp(const char *cgroup, const char *control, in cg_read_strcmp()
124 int cg_read_strstr(const char *cgroup, const char *control, const char *needle) in cg_read_strstr()
134 long cg_read_long(const char *cgroup, const char *control) in cg_read_long()
144 long cg_read_key_long(const char *cgroup, const char *control, const char *key) in cg_read_key_long()
159 long cg_read_lc(const char *cgroup, const char *control) in cg_read_lc()
176 int cg_write(const char *cgroup, const char *control, char *buf) in cg_write()
186 int cg_write_numeric(const char *cgroup, const char *control, long value) in cg_write_numeric()
227 int cg_create(const char *cgroup) in cg_create()
[all …]
Dtest_freezer.c27 static int cg_check_frozen(const char *cgroup, bool frozen) in cg_check_frozen()
50 static int cg_freeze_nowait(const char *cgroup, bool freeze) in cg_freeze_nowait()
59 static int cg_enter_and_wait_for_frozen(const char *cgroup, int pid, in cg_enter_and_wait_for_frozen()
93 static int cg_freeze_wait(const char *cgroup, bool freeze) in cg_freeze_wait()
121 static int child_fn(const char *cgroup, void *arg) in child_fn()
139 char *cgroup = NULL; in test_cgfreezer_simple() local
190 char *cgroup[10] = {0}; in test_cgfreezer_tree() local
340 static int forkbomb_fn(const char *cgroup, void *arg) in forkbomb_fn()
363 char *cgroup = NULL; in test_cgfreezer_forkbomb() local
511 char *cgroup[2] = {0}; in test_cgfreezer_migrate() local
[all …]
Dtest_kill.c21 static int cg_kill_wait(const char *cgroup) in cg_kill_wait()
46 static int child_fn(const char *cgroup, void *arg) in child_fn()
60 char *cgroup = NULL; in test_cgkill_simple() local
116 char *cgroup[10] = {0}; in test_cgkill_tree() local
204 static int forkbomb_fn(const char *cgroup, void *arg) in forkbomb_fn()
225 char *cgroup = NULL; in test_cgkill_forkbomb() local
Dtest_memcontrol.c93 static int alloc_anon_50M_check(const char *cgroup, void *arg) in alloc_anon_50M_check()
124 static int alloc_pagecache_50M_check(const char *cgroup, void *arg) in alloc_pagecache_50M_check()
193 static int alloc_pagecache_50M_noexit(const char *cgroup, void *arg) in alloc_pagecache_50M_noexit()
207 static int alloc_anon_noexit(const char *cgroup, void *arg) in alloc_anon_noexit()
228 static int cg_test_proc_killed(const char *cgroup) in cg_test_proc_killed()
441 static int alloc_pagecache_max_30M(const char *cgroup, void *arg) in alloc_pagecache_max_30M()
521 static int alloc_anon_mlock(const char *cgroup, void *arg) in alloc_anon_mlock()
753 static int alloc_anon_50M_check_swap(const char *cgroup, void *arg) in alloc_anon_50M_check_swap()
892 static int tcp_server(const char *cgroup, void *arg) in tcp_server()
949 static int tcp_client(const char *cgroup, unsigned short port) in tcp_client()
Dtest_kmem.c30 static int alloc_dcache(const char *cgroup, void *arg) in alloc_dcache()
96 static int alloc_kmem_smp(const char *cgroup, void *arg) in alloc_kmem_smp()
126 int (*fn)(const char *cgroup, void *arg), in cg_run_in_subcgroups()
248 static int spawn_1000_threads(const char *cgroup, void *arg) in spawn_1000_threads()
Dtest_cpu.c23 char *cgroup; member
131 static int hog_cpus_timed(const char *cgroup, void *arg) in hog_cpus_timed()
Dtest_core.c48 static int alloc_and_touch_anon_noexit(const char *cgroup, void *arg) in alloc_and_touch_anon_noexit()
/linux-6.1.9/include/linux/
Dcgroup-defs.h157 struct cgroup *cgroup; member
378 struct cgroup { struct
380 struct cgroup_subsys_state self; argument
385 * The depth this cgroup is at. The root is at depth zero and each argument
411 * Each non-empty css_set associated with this cgroup contributes argument
425 int nr_threaded_children; /* # of live threaded child cgroups */ argument
427 struct kernfs_node *kn; /* cgroup kernfs entry */ argument
428 struct cgroup_file procs_file; /* handle for "cgroup.procs" */ argument
429 struct cgroup_file events_file; /* handle for "cgroup.events" */ argument
432 struct cgroup_file psi_files[NR_PSI_RESOURCES]; argument
[all …]
/linux-6.1.9/tools/perf/util/
Dcgroup.h12 struct cgroup { struct
23 struct cgroup *cgroup__get(struct cgroup *cgroup); argument
Dcgroup.c111 struct cgroup *cgroup = zalloc(sizeof(*cgroup)); in cgroup__new() local
140 struct cgroup *cgroup = evlist__find_cgroup(evlist, name); in evlist__findnew_cgroup() local
171 static void cgroup__delete(struct cgroup *cgroup) in cgroup__delete()
186 struct cgroup *cgroup__get(struct cgroup *cgroup) in cgroup__get()
193 static void evsel__set_default_cgroup(struct evsel *evsel, struct cgroup *cgroup) in evsel__set_default_cgroup()
199 void evlist__set_default_cgroup(struct evlist *evlist, struct cgroup *cgroup) in evlist__set_default_cgroup()
Dtool.h50 cgroup, member
/linux-6.1.9/tools/testing/selftests/clone3/
Dclone3_selftests.h43 __aligned_u64 cgroup; member
/linux-6.1.9/tools/vm/
Dpage-types.c376 uint64_t cgroup, uint64_t mapcnt) in show_page_range()
418 uint64_t flags, uint64_t cgroup, uint64_t mapcnt) in show_page()
640 uint64_t flags, uint64_t cgroup, uint64_t mapcnt, in add_page()
981 uint64_t cgroup = 0; in walk_file_range() local
/linux-6.1.9/include/linux/sched/
Dtask.h33 int cgroup; member
/linux-6.1.9/kernel/bpf/
Dcgroup_iter.c160 BTF_ID_LIST_SINGLE(bpf_cgroup_btf_id, struct, cgroup) in BTF_ID_LIST_SINGLE() argument
Dlocal_storage.c568 struct cgroup *cgroup, in bpf_cgroup_storage_link()
/linux-6.1.9/kernel/cgroup/
Dmisc.c51 static struct misc_cg *parent_misc(struct misc_cg *cgroup) in parent_misc()
/linux-6.1.9/tools/include/uapi/linux/
Dsched.h103 __aligned_u64 cgroup; member
/linux-6.1.9/include/uapi/linux/
Dsched.h103 __aligned_u64 cgroup; member
/linux-6.1.9/drivers/infiniband/core/
Dcma_configfs.c319 static void drop_cma_dev(struct config_group *cgroup, struct config_item *item) in drop_cma_dev()
/linux-6.1.9/tools/
DMakefile72 cgroup counter firewire hv guest bootconfig spi usb virtio vm bpf iio gpio objtool leds wmi pci fir… target
/linux-6.1.9/kernel/sched/
Dpsi.c1012 int psi_cgroup_alloc(struct cgroup *cgroup) in psi_cgroup_alloc()
1031 void psi_cgroup_free(struct cgroup *cgroup) in psi_cgroup_free()
/linux-6.1.9/tools/perf/include/perf/
Dperf_dlfilter.h60 __u64 cgroup; /* Refer PERF_SAMPLE_CGROUP in <linux/perf_event.h> */ member
/linux-6.1.9/tools/testing/selftests/bpf/progs/
Dbpf_iter.h148 struct cgroup *cgroup; member
/linux-6.1.9/tools/perf/dlfilters/
Ddlfilter-test-api-v0.c59 __u64 cgroup; /* Refer PERF_SAMPLE_CGROUP in <linux/perf_event.h> */ member

12