/tools/testing/selftests/cgroup/lib/ |
A D | cgroup_util.c | 273 int cg_create(const char *cgroup) in cg_create() 303 int cg_killall(const char *cgroup) in cg_killall() 331 int cg_destroy(const char *cgroup) in cg_destroy() 351 int cg_enter(const char *cgroup, int pid) in cg_enter() 359 int cg_enter_current(const char *cgroup) in cg_enter_current() 369 int cg_run(const char *cgroup, in cg_run() 370 int (*fn)(const char *cgroup, void *arg), in cg_run() 468 int (*fn)(const char *cgroup, void *arg), in clone_into_cgroup_run_nowait() 486 int cg_run_nowait(const char *cgroup, in cg_run_nowait() 487 int (*fn)(const char *cgroup, void *arg), in cg_run_nowait() [all …]
|
/tools/perf/util/ |
A D | cgroup.h | 12 struct cgroup { struct 23 struct cgroup *cgroup__get(struct cgroup *cgroup); argument
|
A D | cgroup.c | 119 struct cgroup *cgroup = zalloc(sizeof(*cgroup)); in cgroup__new() local 148 struct cgroup *cgroup = evlist__find_cgroup(evlist, name); in evlist__findnew_cgroup() local 179 static void cgroup__delete(struct cgroup *cgroup) in cgroup__delete() 194 struct cgroup *cgroup__get(struct cgroup *cgroup) in cgroup__get() 201 static void evsel__set_default_cgroup(struct evsel *evsel, struct cgroup *cgroup) in evsel__set_default_cgroup() 207 void evlist__set_default_cgroup(struct evlist *evlist, struct cgroup *cgroup) in evlist__set_default_cgroup()
|
A D | tool.h | 50 cgroup, member
|
/tools/testing/selftests/cgroup/ |
A D | test_freezer.c | 27 static int cg_check_frozen(const char *cgroup, bool frozen) in cg_check_frozen() 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 363 char *cgroup = NULL; in test_cgfreezer_forkbomb() local 511 char *cgroup[2] = {0}; in test_cgfreezer_migrate() local 586 char *cgroup = NULL; in test_cgfreezer_ptrace() local 668 char *cgroup = NULL; in test_cgfreezer_stopped() local 712 char *cgroup = NULL; in test_cgfreezer_ptraced() local 763 static int vfork_fn(const char *cgroup, void *arg) in vfork_fn() [all …]
|
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
|
A D | test_memcontrol.c | 55 int alloc_anon(const char *cgroup, void *arg) in alloc_anon() 171 static int alloc_anon_50M_check(const char *cgroup, void *arg) in alloc_anon_50M_check() 207 static int alloc_pagecache_50M_check(const char *cgroup, void *arg) in alloc_pagecache_50M_check() 388 static int alloc_pagecache_50M_noexit(const char *cgroup, void *arg) in alloc_pagecache_50M_noexit() 402 static int alloc_anon_noexit(const char *cgroup, void *arg) in alloc_anon_noexit() 428 static int cg_test_proc_killed(const char *cgroup) in cg_test_proc_killed() 664 static int alloc_pagecache_max_30M(const char *cgroup, void *arg) in alloc_pagecache_max_30M() 744 static int alloc_anon_mlock(const char *cgroup, void *arg) in alloc_anon_mlock() 986 static int alloc_anon_50M_check_swap(const char *cgroup, void *arg) in alloc_anon_50M_check_swap() 1266 static int tcp_server(const char *cgroup, void *arg) in tcp_server() [all …]
|
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()
|
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()
|
A D | test_kmem.c | 30 static int alloc_dcache(const char *cgroup, void *arg) in alloc_dcache() 100 static int alloc_kmem_smp(const char *cgroup, void *arg) in alloc_kmem_smp() 130 int (*fn)(const char *cgroup, void *arg), in cg_run_in_subcgroups() 245 static int spawn_1000_threads(const char *cgroup, void *arg) in spawn_1000_threads()
|
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()
|
A D | test_hugetlb_memcg.c | 95 static int hugetlb_test_program(const char *cgroup, void *arg) in hugetlb_test_program()
|
A D | test_cpu.c | 25 char *cgroup; member 133 static int hog_cpus_timed(const char *cgroup, void *arg) in hog_cpus_timed()
|
/tools/perf/util/bpf_skel/vmlinux/ |
A D | vmlinux.h | 82 struct cgroup { struct 88 struct cgroup *cgroup; member 174 u64 cgroup; member
|
/tools/perf/util/bpf_skel/ |
A D | syscall_summary.h | 13 u64 cgroup; member
|
A D | syscall_summary.bpf.c | 126 u64 cgroup = 0; in sys_exit() local
|
/tools/testing/selftests/clone3/ |
A D | clone3_selftests.h | 33 __aligned_u64 cgroup; member
|
/tools/testing/selftests/bpf/progs/ |
A D | cgroup_read_xattr.c | 15 static __always_inline void read_xattr(struct cgroup *cgroup) in read_xattr()
|
/tools/mm/ |
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
|
/tools/tracing/rtla/src/ |
A D | utils.c | 781 int set_pid_cgroup(pid_t pid, const char *cgroup) in set_pid_cgroup() 839 int set_comm_cgroup(const char *comm_prefix, const char *cgroup) in set_comm_cgroup()
|
A D | timerlat.h | 39 int cgroup; member
|
A D | osnoise.h | 26 int cgroup; member
|
/tools/testing/selftests/bpf/prog_tests/ |
A D | cgrp_local_storage.c | 31 static void cgroup_mode_value_init(bool cgroup, int hid) in cgroup_mode_value_init()
|
/tools/perf/trace/beauty/include/uapi/linux/ |
A D | sched.h | 103 __aligned_u64 cgroup; member
|
/tools/testing/selftests/kvm/ |
A D | access_tracking_perf_test.c | 484 static int run_test_for_each_guest_mode(const char *cgroup, void *arg) in run_test_for_each_guest_mode()
|