H A D | cgroup_util.c | 75 char *cg_control(const char *cgroup, const char *control) in cg_control() 77 size_t len = strlen(cgroup) + strlen(control) + 2; in cg_control() 80 snprintf(ret, len, "%s/%s", cgroup, control); in cg_control() 86 int cg_read(const char *cgroup, const char *control, char *buf, size_t len) in cg_read() 91 snprintf(path, sizeof(path), "%s/%s", cgroup, control); in cg_read() 97 int cg_read_strcmp(const char *cgroup, const char *control, in cg_read_strcmp() 114 if (cg_read(cgroup, control, buf, size)) { in cg_read_strcmp() 124 int cg_read_strstr(const char *cgroup, const char *control, const char *needle) in cg_read_strstr() 128 if (cg_read(cgroup, control, buf, sizeof(buf))) in cg_read_strstr() 134 long cg_read_long(const char *cgroup, cons in cg_read_long() 72 cg_control(const char * cgroup,const char * control) cg_control() argument 83 cg_read(const char * cgroup,const char * control,char * buf,size_t len) cg_read() argument 94 cg_read_strcmp(const char * cgroup,const char * control,const char * expected) cg_read_strcmp() argument 121 cg_read_strstr(const char * cgroup,const char * control,const char * needle) cg_read_strstr() argument 131 cg_read_long(const char * cgroup,const char * control) cg_read_long() argument 141 cg_read_key_long(const char * cgroup,const char * control,const char * key) cg_read_key_long() argument 156 cg_read_lc(const char * cgroup,const char * control) cg_read_lc() argument 173 cg_write(const char * cgroup,const char * control,char * buf) cg_write() argument 183 cg_write_numeric(const char * cgroup,const char * control,long value) cg_write_numeric() argument 226 cg_create(const char * cgroup) cg_create() argument 231 cg_wait_for_proc_count(const char * cgroup,int count) cg_wait_for_proc_count() argument 256 cg_killall(const char * cgroup) cg_killall() argument 284 cg_destroy(const char * cgroup) cg_destroy() argument 304 cg_enter(const char * cgroup,int pid) cg_enter() argument 312 cg_enter_current(const char * cgroup) cg_enter_current() argument 317 cg_enter_current_thread(const char * cgroup) cg_enter_current_thread() argument 322 cg_run(const char * cgroup,int (* fn)(const char * cgroup,void * arg),void * arg) cg_run() argument 323 cg_run(const char * cgroup,int (* fn)(const char * cgroup,void * arg),void * arg) cg_run() argument 420 clone_into_cgroup_run_nowait(const char * cgroup,int (* fn)(const char * cgroup,void * arg),void * arg) clone_into_cgroup_run_nowait() argument 421 clone_into_cgroup_run_nowait(const char * cgroup,int (* fn)(const char * cgroup,void * arg),void * arg) clone_into_cgroup_run_nowait() argument 439 cg_run_nowait(const char * cgroup,int (* fn)(const char * cgroup,void * arg),void * arg) cg_run_nowait() argument 440 cg_run_nowait(const char * cgroup,int (* fn)(const char * cgroup,void * arg),void * arg) cg_run_nowait() argument 494 alloc_anon(const char * cgroup,void * arg) alloc_anon() argument 581 clone_into_cgroup_run_wait(const char * cgroup) clone_into_cgroup_run_wait() argument 606 __prepare_for_wait(const char * cgroup,const char * filename) __prepare_for_wait() argument 623 cg_prepare_for_wait(const char * cgroup) cg_prepare_for_wait() argument 628 memcg_prepare_for_wait(const char * cgroup) memcg_prepare_for_wait() argument [all...] |