/linux/tools/testing/selftests/cgroup/lib/ |
H A D | cgroup_util.c | 77 char *cg_control(const char *cgroup, const char *control) in cg_control() argument 88 int cg_read(const char *cgroup, const char *control, char *buf, size_t len) in cg_read() argument 99 int cg_read_strcmp(const char *cgroup, const char *control, in cg_read_strcmp() argument 126 int cg_read_strstr(const char *cgroup, const char *control, const char *needle) in cg_read_strstr() argument 136 long cg_read_long(const char *cgroup, cons argument 156 cg_read_key_long(const char * cgroup,const char * control,const char * key) cg_read_key_long() argument 171 cg_read_lc(const char * cgroup,const char * control) cg_read_lc() argument 188 cg_write(const char * cgroup,const char * control,char * buf) cg_write() argument 202 cg_open(const char * cgroup,const char * control,int flags) cg_open() argument 210 cg_write_numeric(const char * cgroup,const char * control,long value) cg_write_numeric() argument 273 cg_create(const char * cgroup) cg_create() argument 278 cg_wait_for_proc_count(const char * cgroup,int count) cg_wait_for_proc_count() argument 303 cg_killall(const char * cgroup) cg_killall() argument 331 cg_destroy(const char * cgroup) cg_destroy() argument 351 cg_enter(const char * cgroup,int pid) cg_enter() argument 359 cg_enter_current(const char * cgroup) cg_enter_current() argument 364 cg_enter_current_thread(const char * cgroup) cg_enter_current_thread() argument 369 cg_run(const char * cgroup,int (* fn)(const char * cgroup,void * arg),void * arg) cg_run() argument 370 cg_run(const char * cgroup,int (* fn)(const char * cgroup,void * arg),void * arg) cg_run() argument 467 clone_into_cgroup_run_nowait(const char * cgroup,int (* fn)(const char * cgroup,void * arg),void * arg) clone_into_cgroup_run_nowait() argument 468 clone_into_cgroup_run_nowait(const char * cgroup,int (* fn)(const char * cgroup,void * arg),void * arg) clone_into_cgroup_run_nowait() argument 486 cg_run_nowait(const char * cgroup,int (* fn)(const char * cgroup,void * arg),void * arg) cg_run_nowait() argument 487 cg_run_nowait(const char * cgroup,int (* fn)(const char * cgroup,void * arg),void * arg) cg_run_nowait() argument 550 clone_into_cgroup_run_wait(const char * cgroup) clone_into_cgroup_run_wait() argument 575 __prepare_for_wait(const char * cgroup,const char * filename) __prepare_for_wait() argument 592 cg_prepare_for_wait(const char * cgroup) cg_prepare_for_wait() argument 597 memcg_prepare_for_wait(const char * cgroup) memcg_prepare_for_wait() argument [all...] |
/linux/include/linux/ |
H A D | cgroup-defs.h | 164 struct cgroup *cgroup; global() member 438 struct cgroup { global() struct 440 selfcgroup global() argument 445 flagscgroup global() argument 471 max_descendantscgroup global() argument 485 nr_threaded_childrencgroup global() argument 487 nr_populated_threaded_childrencgroup global() argument 490 kncgroup global() argument 491 procs_filecgroup global() argument 492 events_filecgroup global() argument 495 psi_filescgroup global() argument 510 subsyscgroup global() argument 513 old_subtree_ss_maskcgroup global() argument 518 rootcgroup global() argument 522 nr_dying_subsyscgroup global() argument 527 cset_linkscgroup global() argument 542 dom_cgrpcgroup global() argument 543 old_dom_cgrpcgroup global() argument 554 rstat_base_cpucgroup global() argument 564 last_bstatcgroup global() argument 565 bstatcgroup global() argument 585 bpfcgroup global() argument 588 freezercgroup global() argument 595 ancestorscgroup global() argument 880 struct cgroup *cgroup; /* v2 */ global() member [all...] |
/linux/tools/testing/selftests/cgroup/ |
H A D | test_freezer.c | 27 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 [all...] |
H A D | test_kill.c | 21 static int cg_kill_wait(const char *cgroup) in cg_kill_wait() argument 46 static int child_fn(const char *cgroup, void *arg) in child_fn() argument 60 char *cgroup = NULL; in test_cgkill_simple() local 116 char *cgroup[10] = {0}; test_cgkill_tree() local 204 forkbomb_fn(const char * cgroup,void * arg) forkbomb_fn() argument 225 char *cgroup = NULL; test_cgkill_forkbomb() local [all...] |
H A D | test_memcontrol.c | 55 int alloc_anon(const char *cgroup, void *arg) in alloc_anon() argument 171 static int alloc_anon_50M_check(const char *cgroup, void *arg) in alloc_anon_50M_check() argument 207 static int alloc_pagecache_50M_check(const char *cgroup, void *arg) in 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 D | test_zswap.c | 58 static long get_zswpout(const char *cgroup) in get_zswpout() argument 63 static int allocate_and_read_bytes(const char *cgroup, void *arg) in allocate_and_read_bytes() argument 84 static int allocate_bytes(const char *cgroup, void *arg) in allocate_bytes() argument 263 static int attempt_writeback(const char *cgroup, void *arg) in attempt_writeback() argument 322 test_zswap_writeback_one(const char * cgroup,bool wb) test_zswap_writeback_one() argument 464 no_kmem_bypass_child(const char * cgroup,void * arg) no_kmem_bypass_child() argument [all...] |
H A D | test_cpuset.c | 9 static int idle_process_fn(const char *cgroup, void *arg) in idle_process_fn() argument 15 static int do_migration_fn(const char *cgroup, void *arg) in do_migration_fn() argument 30 static int do_controller_fn(const char *cgroup, void *arg) in do_controller_fn() argument [all...] |
H A D | test_kmem.c | 30 static int alloc_dcache(const char *cgroup, void *arg) in alloc_dcache() argument 100 static int alloc_kmem_smp(const char *cgroup, void *arg) in alloc_kmem_smp() argument 130 int (*fn)(const char *cgroup, void *arg), in cg_run_in_subcgroups() argument 245 static int spawn_1000_threads(const char *cgroup, void *arg) in spawn_1000_threads() argument [all...] |
H A D | test_pids.c | 15 static int run_success(const char *cgroup, void *arg) in run_success() argument 20 static int run_pause(const char *cgroup, void *arg) in run_pause() argument [all...] |
H A D | test_hugetlb_memcg.c | 95 static int hugetlb_test_program(const char *cgroup, void *arg) in hugetlb_test_program() argument
|
H A D | test_cpu.c | 25 char *cgroup; member 133 static int hog_cpus_timed(const char *cgroup, void *arg) in hog_cpus_timed() argument [all...] |
/linux/tools/perf/util/ |
H A D | cgroup.h | 12 struct cgroup { struct 23 struct cgroup *cgroup__get(struct cgroup *cgroup); argument [all...] |
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/kernel/bpf/ |
H A D | bpf_cgrp_storage.c | 44 void bpf_cgrp_storage_free(struct cgroup *cgroup) in bpf_cgrp_storage_free() argument 63 cgroup_storage_lookup(struct cgroup *cgroup, struct bpf_map *map, bool cacheit_lockit) in cgroup_storage_lookup() argument 80 struct cgroup *cgroup; in bpf_cgrp_storage_lookup_elem() local 99 struct cgroup *cgroup; bpf_cgrp_storage_update_elem() local 115 cgroup_storage_delete(struct cgroup * cgroup,struct bpf_map * map) cgroup_storage_delete() argument 129 struct cgroup *cgroup; bpf_cgrp_storage_delete_elem() local 160 BPF_CALL_5(bpf_cgrp_storage_get,struct bpf_map *,map,struct cgroup *,cgroup,void *,value,u64,flags,gfp_t,gfp_flags) BPF_CALL_5() argument 191 BPF_CALL_2(bpf_cgrp_storage_delete,struct bpf_map *,map,struct cgroup *,cgroup) BPF_CALL_2() argument [all...] |
/linux/tools/perf/util/bpf_skel/ |
H A D | syscall_summary.h | 13 u64 cgroup; member
|
H A D | syscall_summary.bpf.c | 126 u64 cgroup = 0; in sys_exit() local
|
/linux/tools/testing/selftests/clone3/ |
H A D | clone3_selftests.h | 33 __aligned_u64 cgroup; member
|
/linux/tools/testing/selftests/bpf/progs/ |
H A D | cgroup_read_xattr.c | 15 static __always_inline void read_xattr(struct cgroup *cgroup) in read_xattr() argument [all...] |
/linux/tools/mm/ |
H A D | page-types.c | 374 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 D | utils.c | 781 int set_pid_cgroup(pid_t pid, const char *cgroup) in set_pid_cgroup() argument 839 set_comm_cgroup(const char * comm_prefix,const char * cgroup) set_comm_cgroup() argument [all...] |
/linux/include/linux/sched/ |
H A D | task.h | 40 int cgroup; member
|
/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/tools/perf/trace/beauty/include/uapi/linux/ |
H A D | sched.h | 103 __aligned_u64 cgroup; member
|
/linux/include/uapi/linux/ |
H A D | sched.h | 103 __aligned_u64 cgroup; member
|
/linux/fs/ |
H A D | bpf_fs_kfuncs.c | 339 __bpf_kfunc int bpf_cgroup_read_xattr(struct cgroup *cgroup, const char *name__str, in bpf_cgroup_read_xattr() argument
|