Home
last modified time | relevance | path

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

12

/linux/tools/testing/selftests/cgroup/lib/
H A Dcgroup_util.c77 cg_control(const char * cgroup,const char * control) cg_control() argument
88 cg_read(const char * cgroup,const char * control,char * buf,size_t len) cg_read() argument
99 cg_read_strcmp(const char * cgroup,const char * control,const char * expected) cg_read_strcmp() argument
127 cg_read_strcmp_wait(const char * cgroup,const char * control,const char * expected) cg_read_strcmp_wait() argument
142 cg_read_strstr(const char * cgroup,const char * control,const char * needle) cg_read_strstr() argument
152 cg_read_long(const char * cgroup,const char * control) cg_read_long() argument
172 cg_read_key_long(const char * cgroup,const char * control,const char * key) cg_read_key_long() argument
187 cg_read_key_long_poll(const char * cgroup,const char * control,const char * key,long expected,int retries,useconds_t wait_interval_us) cg_read_key_long_poll() argument
208 cg_read_lc(const char * cgroup,const char * control) cg_read_lc() argument
225 cg_write(const char * cgroup,const char * control,char * buf) cg_write() argument
239 cg_open(const char * cgroup,const char * control,int flags) cg_open() argument
247 cg_write_numeric(const char * cgroup,const char * control,long value) cg_write_numeric() argument
310 cg_create(const char * cgroup) cg_create() argument
315 cg_wait_for_proc_count(const char * cgroup,int count) cg_wait_for_proc_count() argument
340 cg_killall(const char * cgroup) cg_killall() argument
368 cg_destroy(const char * cgroup) cg_destroy() argument
388 cg_enter(const char * cgroup,int pid) cg_enter() argument
396 cg_enter_current(const char * cgroup) cg_enter_current() argument
401 cg_enter_current_thread(const char * cgroup) cg_enter_current_thread() argument
406 cg_run(const char * cgroup,int (* fn)(const char * cgroup,void * arg),void * arg) cg_run() argument
407 cg_run(const char * cgroup,int (* fn)(const char * cgroup,void * arg),void * arg) cg_run() argument
504 clone_into_cgroup_run_nowait(const char * cgroup,int (* fn)(const char * cgroup,void * arg),void * arg) clone_into_cgroup_run_nowait() argument
505 clone_into_cgroup_run_nowait(const char * cgroup,int (* fn)(const char * cgroup,void * arg),void * arg) clone_into_cgroup_run_nowait() argument
523 cg_run_nowait(const char * cgroup,int (* fn)(const char * cgroup,void * arg),void * arg) cg_run_nowait() argument
524 cg_run_nowait(const char * cgroup,int (* fn)(const char * cgroup,void * arg),void * arg) cg_run_nowait() argument
599 clone_into_cgroup_run_wait(const char * cgroup) clone_into_cgroup_run_wait() argument
624 __prepare_for_wait(const char * cgroup,const char * filename) __prepare_for_wait() argument
641 cg_prepare_for_wait(const char * cgroup) cg_prepare_for_wait() argument
646 memcg_prepare_for_wait(const char * cgroup) memcg_prepare_for_wait() argument
[all...]
/linux/tools/testing/selftests/cgroup/
H A Dcgroup_util.c
H A Dtest_freezer.c27 static int cg_check_frozen(const char *cgroup, bool frozen) in cg_check_frozen() argument
50 cg_freeze_nowait(const char * cgroup,bool freeze) cg_freeze_nowait() argument
59 cg_enter_and_wait_for_frozen(const char * cgroup,int pid,bool frozen) cg_enter_and_wait_for_frozen() argument
93 cg_freeze_wait(const char * cgroup,bool freeze) cg_freeze_wait() argument
121 child_fn(const char * cgroup,void * arg) child_fn() argument
139 char *cgroup = NULL; test_cgfreezer_simple() local
190 char *cgroup[10] = {0}; test_cgfreezer_tree() local
340 forkbomb_fn(const char * cgroup,void * arg) forkbomb_fn() argument
363 char *cgroup = NULL; test_cgfreezer_forkbomb() local
511 char *cgroup[2] = {0}; test_cgfreezer_migrate() local
586 char *cgroup = NULL; test_cgfreezer_ptrace() local
668 char *cgroup = NULL; test_cgfreezer_stopped() local
712 char *cgroup = NULL; test_cgfreezer_ptraced() local
763 vfork_fn(const char * cgroup,void * arg) vfork_fn() argument
781 char *cgroup = NULL; test_cgfreezer_vfork() local
810 cg_check_freezetime(const char * cgroup) cg_check_freezetime() argument
822 char *cgroup = NULL; test_cgfreezer_time_empty() local
904 char *cgroup = NULL; test_cgfreezer_time_simple() local
998 char *cgroup = NULL; test_cgfreezer_time_populate() local
1144 char *cgroup[2] = {0}; test_cgfreezer_time_migrate() local
1387 char *cgroup[3] = {0}; test_cgfreezer_time_nested() local
[all...]
H A 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
205 static int forkbomb_fn(const char *cgroup, void *arg) in forkbomb_fn()
226 char *cgroup = NULL; in test_cgkill_forkbomb() local
H A Dtest_memcontrol.c55 alloc_anon(const char * cgroup,void * arg) alloc_anon() argument
171 alloc_anon_50M_check(const char * cgroup,void * arg) alloc_anon_50M_check() argument
207 alloc_pagecache_50M_check(const char * cgroup,void * arg) alloc_pagecache_50M_check() argument
388 alloc_pagecache_50M_noexit(const char * cgroup,void * arg) alloc_pagecache_50M_noexit() argument
402 alloc_anon_noexit(const char * cgroup,void * arg) alloc_anon_noexit() argument
428 cg_test_proc_killed(const char * cgroup) cg_test_proc_killed() argument
664 alloc_pagecache_max_30M(const char * cgroup,void * arg) alloc_pagecache_max_30M() argument
744 alloc_anon_mlock(const char * cgroup,void * arg) alloc_anon_mlock() argument
986 alloc_anon_50M_check_swap(const char * cgroup,void * arg) alloc_anon_50M_check_swap() argument
1266 tcp_server(const char * cgroup,void * arg) tcp_server() argument
1323 tcp_client(const char * cgroup,unsigned short port) tcp_client() argument
[all...]
H A Dtest_zswap.c322 if (cg_write_numeric(cgroup, "memory.reclaim", memsize)) { in test_zswap_writeback_one() argument
58 get_zswpout(const char * cgroup) get_zswpout() argument
63 allocate_and_read_bytes(const char * cgroup,void * arg) allocate_and_read_bytes() argument
84 allocate_bytes(const char * cgroup,void * arg) allocate_bytes() argument
263 attempt_writeback(const char * cgroup,void * arg) attempt_writeback() argument
464 no_kmem_bypass_child(const char * cgroup,void * arg) no_kmem_bypass_child() argument
[all...]
H A Dtest_cpuset.c9 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 Dtest_kmem.c31 static int alloc_dcache(const char *cgroup, void *arg) in alloc_dcache() argument
101 static int alloc_kmem_smp(const char *cgroup, void *arg) in alloc_kmem_smp() argument
131 int (*fn)(const char *cgroup, void *arg), in cg_run_in_subcgroups() argument
246 static int spawn_1000_threads(const char *cgroup, void *arg) in spawn_1000_threads() argument
[all...]
H A Dtest_pids.c15 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 Dtest_cpu.c25 char *cgroup; member
133 static int hog_cpus_timed(const char *cgroup, void *arg) in hog_cpus_timed() argument
[all...]
H A Dtest_hugetlb_memcg.c95 static int hugetlb_test_program(const char *cgroup, void *arg) in hugetlb_test_program() argument
/linux/tools/perf/util/
H A Dcgroup.h12 struct cgroup { struct
23 struct cgroup *cgroup__get(struct cgroup *cgroup); argument
H A Dcgroup.c120 struct cgroup *cgroup = zalloc(sizeof(*cgroup)); in cgroup__new() local
149 struct cgroup *cgroup = evlist__find_cgroup(evlist, name); evlist__findnew_cgroup() local
180 cgroup__delete(struct cgroup * cgroup) cgroup__delete() argument
195 cgroup__get(struct cgroup * cgroup) cgroup__get() argument
202 evsel__set_default_cgroup(struct evsel * evsel,struct cgroup * cgroup) evsel__set_default_cgroup() argument
208 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 Dvmlinux.h82 struct cgroup { struct
88 struct cgroup *cgroup; argument
174 u64 cgroup; member
/linux/tools/perf/util/bpf_skel/
H A Dsyscall_summary.h13 u64 cgroup; member
H A Dsyscall_summary.bpf.c126 u64 cgroup = 0; sys_exit() local
/linux/tools/testing/selftests/clone3/
H A Dclone3_selftests.h33 __aligned_u64 cgroup; member
/linux/tools/testing/selftests/bpf/progs/
H A Dcgroup_read_xattr.c15 static __always_inline void read_xattr(struct cgroup *cgroup) in read_xattr() argument
[all...]
/linux/tools/mm/
H A Dpage-types.c374 uint64_t cgroup, uint64_t mapcnt) in show_page_range() argument
416 uint64_t flags, uint64_t cgroup, uint64_t mapcnt) in show_page() argument
636 uint64_t flags, uint64_t cgroup, uint64_t mapcnt, in add_page() argument
977 uint64_t cgroup = 0; walk_file_range() local
[all...]
/linux/tools/tracing/rtla/src/
H A Dutils.c796 set_pid_cgroup(pid_t pid,const char * cgroup) set_pid_cgroup() argument
854 set_comm_cgroup(const char * comm_prefix,const char * cgroup) set_comm_cgroup() argument
[all...]
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dcgrp_local_storage.c31 static void cgroup_mode_value_init(bool cgroup, int hid) in cgroup_mode_value_init() argument
/linux/tools/include/uapi/linux/
H A Dsched.h
/linux/tools/perf/trace/beauty/include/uapi/linux/
H A Dsched.h113 __aligned_u64 cgroup; member
/linux/samples/cgroup/
H A Dmemcg_event_listener.c262 const char *cgroup) in initialize_memcg_events()
/linux/kernel/cgroup/
H A Dmisc.c55 static struct misc_cg *parent_misc(struct misc_cg *cgroup) in parent_misc()

12