/linux/tools/testing/selftests/cgroup/ |
H A D | cgroup_util.c | 75 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() 154 long cg_read_key_long(const char *cgroup, const char *control, const char *key) in cg_read_key_long() 169 long cg_read_lc(const char *cgroup, const char *control) in cg_read_lc() 186 int cg_write(const char *cgroup, const char *control, char *buf) in cg_write() 200 int cg_open(const char *cgroup, const char *control, int flags) in cg_open() 208 int cg_write_numeric(const char *cgroup, const char *control, long value) in cg_write_numeric() [all …]
|
H A D | test_freezer.c | 27 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 …]
|
H A D | test_kill.c | 21 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
|
H A D | test_memcontrol.c | 93 static int alloc_anon_50M_check(const char *cgroup, void *arg) in alloc_anon_50M_check() 129 static int alloc_pagecache_50M_check(const char *cgroup, void *arg) in alloc_pagecache_50M_check() 310 static int alloc_pagecache_50M_noexit(const char *cgroup, void *arg) in alloc_pagecache_50M_noexit() 324 static int alloc_anon_noexit(const char *cgroup, void *arg) in alloc_anon_noexit() 350 static int cg_test_proc_killed(const char *cgroup) in cg_test_proc_killed() 576 static int alloc_pagecache_max_30M(const char *cgroup, void *arg) in alloc_pagecache_max_30M() 656 static int alloc_anon_mlock(const char *cgroup, void *arg) in alloc_anon_mlock() 898 static int alloc_anon_50M_check_swap(const char *cgroup, void *arg) in alloc_anon_50M_check_swap() 1178 static int tcp_server(const char *cgroup, void *arg) in tcp_server() 1235 static int tcp_client(const char *cgroup, unsigned short port) in tcp_client()
|
H A D | test_zswap.c | 58 static long get_zswpout(const char *cgroup) in get_zswpout() 63 static int allocate_and_read_bytes(const char *cgroup, void *arg) in allocate_and_read_bytes() 84 static int allocate_bytes(const char *cgroup, void *arg) in allocate_bytes() 263 static int attempt_writeback(const char *cgroup, void *arg) in attempt_writeback() 322 static int test_zswap_writeback_one(const char *cgroup, bool wb) in test_zswap_writeback_one() 464 static int no_kmem_bypass_child(const char *cgroup, void *arg) in no_kmem_bypass_child()
|
H A D | test_kmem.c | 28 alloc_dcache(const char * cgroup,void * arg) alloc_dcache() argument 98 alloc_kmem_smp(const char * cgroup,void * arg) alloc_kmem_smp() argument 128 cg_run_in_subcgroups(const char * parent,int (* fn)(const char * cgroup,void * arg),void * arg,int times) cg_run_in_subcgroups() argument 243 spawn_1000_threads(const char * cgroup,void * arg) spawn_1000_threads() argument [all...] |
H A D | test_cpuset.c | 9 static int idle_process_fn(const char *cgroup, void *arg) in idle_process_fn() 15 static int do_migration_fn(const char *cgroup, void *arg) in do_migration_fn() 30 static int do_controller_fn(const char *cgroup, void *arg) in do_controller_fn()
|
H A D | test_pids.c | 15 static int run_success(const char *cgroup, void *arg) in run_success() 20 static int run_pause(const char *cgroup, void *arg) in run_pause()
|
H A D | test_cpu.c | 21 char *cgroup; global() member 129 hog_cpus_timed(const char * cgroup,void * arg) hog_cpus_timed() argument [all...] |
H A D | test_hugetlb_memcg.c | 93 hugetlb_test_program(const char * cgroup,void * arg) hugetlb_test_program() argument
|
/linux/include/linux/ |
H A D | cgroup-defs.h | 167 struct cgroup *cgroup; member 415 struct cgroup { struct 417 struct cgroup_subsys_state self; argument 422 * The depth this cgroup is at. The root is at depth zero and each argument 448 * Each non-empty css_set associated with this cgroup contributes argument 462 int nr_threaded_children; /* # of live threaded child cgroups */ argument 464 struct kernfs_node *kn; /* cgroup kernfs entry */ argument 465 struct cgroup_file procs_file; /* handle for "cgroup.procs" */ argument 466 struct cgroup_file events_file; /* handle for "cgroup.events" */ argument 469 struct cgroup_file psi_files[NR_PSI_RESOURCES]; argument [all …]
|
/linux/tools/perf/util/ |
H A D | cgroup.h | 12 struct cgroup { struct 23 struct cgroup *cgroup__get(struct cgroup *cgroup); argument
|
H A D | cgroup.c | 119 struct cgroup *cgroup = zalloc(sizeof(*cgroup)); in cgroup__new() local 148 struct cgroup *cgroup = evlist__find_cgroup(evlist, name); evlist__findnew_cgroup() local 179 cgroup__delete(struct cgroup * cgroup) cgroup__delete() argument 194 cgroup__get(struct cgroup * cgroup) cgroup__get() argument 201 evsel__set_default_cgroup(struct evsel * evsel,struct cgroup * cgroup) evsel__set_default_cgroup() argument 207 evlist__set_default_cgroup(struct evlist * evlist,struct cgroup * cgroup) evlist__set_default_cgroup() argument [all...] |
/linux/tools/perf/util/bpf_skel/vmlinux/ |
H A D | vmlinux.h | 82 struct cgroup { struct 88 struct cgroup *cgroup; argument 174 u64 cgroup; member
|
/linux/tools/testing/selftests/clone3/ |
H A D | clone3_selftests.h | 33 __aligned_u64 cgroup; member
|
/linux/tools/mm/ |
H A D | page-types.c | 374 uint64_t cgroup, uint64_t mapcnt) in show_page_range() 416 uint64_t flags, uint64_t cgroup, uint64_t mapcnt) in show_page() 636 uint64_t flags, uint64_t cgroup, uint64_t mapcnt, in add_page() 977 uint64_t cgroup = 0; in walk_file_range() local
|
/linux/tools/tracing/rtla/src/ |
H A D | utils.c | 779 int set_pid_cgroup(pid_t pid, const char *cgroup) in set_pid_cgroup() 837 int set_comm_cgroup(const char *comm_prefix, const char *cgroup) in set_comm_cgroup()
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | cgrp_local_storage.c | 31 static void cgroup_mode_value_init(bool cgroup, int hid) in cgroup_mode_value_init() argument
|
/linux/include/linux/sched/ |
H A D | task.h | 40 int cgroup; member
|
/linux/tools/include/uapi/linux/ |
H A D | sched.h |
|
/linux/include/uapi/linux/ |
H A D | sched.h | 103 __aligned_u64 cgroup; member
|
/linux/tools/perf/trace/beauty/include/uapi/linux/ |
H A D | sched.h | 103 __aligned_u64 cgroup; member
|
/linux/kernel/bpf/ |
H A D | cgroup_iter.c | 160 BTF_ID_LIST_GLOBAL_SINGLE(bpf_cgroup_btf_id, struct, cgroup) in BTF_ID_LIST_GLOBAL_SINGLE() argument
|
/linux/samples/cgroup/ |
H A D | memcg_event_listener.c | 264 const char *cgroup) in initialize_memcg_events()
|
/linux/kernel/cgroup/ |
H A D | misc.c | 51 static struct misc_cg *parent_misc(struct misc_cg *cgroup) in parent_misc()
|