• Home
  • Raw
  • Download

Lines Matching refs:cgroup

89 static int alloc_anon_50M_check(const char *cgroup, void *arg)  in alloc_anon_50M_check()  argument
100 current = cg_read_long(cgroup, "memory.current"); in alloc_anon_50M_check()
107 anon = cg_read_key_long(cgroup, "memory.stat", "anon "); in alloc_anon_50M_check()
120 static int alloc_pagecache_50M_check(const char *cgroup, void *arg) in alloc_pagecache_50M_check() argument
134 current = cg_read_long(cgroup, "memory.current"); in alloc_pagecache_50M_check()
138 file = cg_read_key_long(cgroup, "memory.stat", "file "); in alloc_pagecache_50M_check()
189 static int alloc_pagecache_50M(const char *cgroup, void *arg) in alloc_pagecache_50M() argument
196 static int alloc_pagecache_50M_noexit(const char *cgroup, void *arg) in alloc_pagecache_50M_noexit() argument
210 static int alloc_anon_noexit(const char *cgroup, void *arg) in alloc_anon_noexit() argument
214 if (alloc_anon(cgroup, arg)) in alloc_anon_noexit()
227 static int cg_test_proc_killed(const char *cgroup) in cg_test_proc_killed() argument
232 if (cg_read_strcmp(cgroup, "cgroup.procs", "") == 0) in cg_test_proc_killed()
556 static int alloc_pagecache_max_30M(const char *cgroup, void *arg) in alloc_pagecache_max_30M() argument
570 current = cg_read_long(cgroup, "memory.current"); in alloc_pagecache_max_30M()
682 static int alloc_anon_50M_check_swap(const char *cgroup, void *arg) in alloc_anon_50M_check_swap() argument
694 mem_current = cg_read_long(cgroup, "memory.current"); in alloc_anon_50M_check_swap()
698 swap_current = cg_read_long(cgroup, "memory.swap.current"); in alloc_anon_50M_check_swap()
821 static int tcp_server(const char *cgroup, void *arg) in tcp_server() argument
878 static int tcp_client(const char *cgroup, unsigned short port) in tcp_client() argument
907 current = cg_read_long(cgroup, "memory.current"); in tcp_client()
908 sock = cg_read_key_long(cgroup, "memory.stat", "sock "); in tcp_client()