Home
last modified time | relevance | path

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

12

/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()
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 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
H A Dtest_memcontrol.c93 alloc_anon_50M_check(const char * cgroup,void * arg) alloc_anon_50M_check() argument
129 alloc_pagecache_50M_check(const char * cgroup,void * arg) alloc_pagecache_50M_check() argument
310 alloc_pagecache_50M_noexit(const char * cgroup,void * arg) alloc_pagecache_50M_noexit() argument
324 alloc_anon_noexit(const char * cgroup,void * arg) alloc_anon_noexit() argument
350 cg_test_proc_killed(const char * cgroup) cg_test_proc_killed() argument
586 alloc_pagecache_max_30M(const char * cgroup,void * arg) alloc_pagecache_max_30M() argument
666 alloc_anon_mlock(const char * cgroup,void * arg) alloc_anon_mlock() argument
908 alloc_anon_50M_check_swap(const char * cgroup,void * arg) alloc_anon_50M_check_swap() argument
1188 tcp_server(const char * cgroup,void * arg) tcp_server() argument
1245 tcp_client(const char * cgroup,unsigned short port) tcp_client() argument
[all...]
H A Dtest_zswap.c58 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 Dtest_kmem.c28 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 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_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_hugetlb_memcg.c93 hugetlb_test_program(const char * cgroup,void * arg) hugetlb_test_program() argument
/linux/include/linux/
H A Dcgroup-defs.h164 struct cgroup *cgroup; member
441 struct cgroup { struct
443 struct cgroup_subsys_state self; argument
448 * The depth this cgroup is at. The root is at depth zero and each argument
474 * Each non-empty css_set associated with this cgroup contributes argument
488 int nr_threaded_children; /* # of live threaded child cgroups */ argument
490 /* sequence number for cgroup.kill, serialized by css_set_lock. */ argument
493 struct kernfs_node *kn; /* cgroup kernfs entry */ argument
494 struct cgroup_file procs_file; /* handle for "cgroup.procs" */ argument
495 struct cgroup_file events_file; /* handle for "cgroup.events" */ argument
[all …]
H A Dcpuset.h297 static inline bool cpuset_node_allowed(struct cgroup *cgroup, int nid) in cpuset_node_allowed()
/linux/tools/perf/util/
H A Dcgroup.h12 struct cgroup { struct
23 struct cgroup *cgroup__get(struct cgroup *cgroup); argument
H A Dtool.h50 cgroup, member
/linux/kernel/bpf/
H A Dbpf_cgrp_storage.c44 void bpf_cgrp_storage_free(struct cgroup *cgroup) in bpf_cgrp_storage_free()
63 cgroup_storage_lookup(struct cgroup *cgroup, struct bpf_map *map, bool cacheit_lockit) in cgroup_storage_lookup()
80 struct cgroup *cgroup; in bpf_cgrp_storage_lookup_elem() local
99 struct cgroup *cgroup; in bpf_cgrp_storage_update_elem() local
115 static int cgroup_storage_delete(struct cgroup *cgroup, struct bpf_map *map) in cgroup_storage_delete()
129 struct cgroup *cgroup; in bpf_cgrp_storage_delete_elem() local
160 BPF_CALL_5(bpf_cgrp_storage_get, struct bpf_map *, map, struct cgroup *, cgroup, in BPF_CALL_5()
191 BPF_CALL_2(bpf_cgrp_storage_delete, struct bpf_map *, map, struct cgroup *, cgroup) in BPF_CALL_2()
H A Dcgroup_iter.c160 BTF_ID_LIST_GLOBAL_SINGLE(bpf_cgroup_btf_id, struct, cgroup) in BTF_ID_LIST_GLOBAL_SINGLE() argument
/linux/tools/mm/
H A Dpage-types.c374 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 Dutils.c781 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()
H A Dtimerlat.h22 int cgroup; member
/linux/tools/include/uapi/linux/
H A Dsched.h
/linux/include/uapi/linux/
H A Dsched.h103 __aligned_u64 cgroup; member
/linux/tools/perf/trace/beauty/include/uapi/linux/
H A Dsched.h103 __aligned_u64 cgroup; member
/linux/include/linux/sched/
H A Dtask.h40 int cgroup; member
/linux/samples/cgroup/
H A Dmemcg_event_listener.c264 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()
/linux/drivers/infiniband/core/
H A Dcma_configfs.c319 static void drop_cma_dev(struct config_group *cgroup, struct config_item *item) in drop_cma_dev()

12