Home
last modified time | relevance | path

Searched refs:ctrlgrp (Results 1 – 7 of 7) sorted by relevance

/linux/tools/testing/selftests/resctrl/
H A Dresctrlfs.c534 int write_bm_pid_to_resctrl(pid_t bm_pid, const char *ctrlgrp, const char *mongrp) in write_bm_pid_to_resctrl() argument
540 if (ctrlgrp) in write_bm_pid_to_resctrl()
541 sprintf(controlgroup, "%s/%s", RESCTRL_PATH, ctrlgrp); in write_bm_pid_to_resctrl()
546 ret = create_grp(ctrlgrp, controlgroup, RESCTRL_PATH); in write_bm_pid_to_resctrl()
589 int write_schemata(const char *ctrlgrp, char *schemata, int cpu_no, in write_schemata() argument
608 if (ctrlgrp) in write_schemata()
609 sprintf(controlgroup, "%s/%s/schemata", RESCTRL_PATH, ctrlgrp); in write_schemata()
H A Dresctrl.h92 const char *ctrlgrp; member
137 int write_schemata(const char *ctrlgrp, char *schemata, int cpu_no,
139 int write_bm_pid_to_resctrl(pid_t bm_pid, const char *ctrlgrp, const char *mongrp);
H A Dmbm_test.c114 ret = write_schemata(p->ctrlgrp, "100", uparams->cpu, test->resource); in mbm_setup()
135 .ctrlgrp = "c1", in mbm_run_test()
H A Dmba_test.c58 ret = write_schemata(p->ctrlgrp, allocation_str, uparams->cpu, test->resource); in mba_setup()
167 .ctrlgrp = "c1", in mba_run_test()
H A Dcat_test.c180 ret = write_bm_pid_to_resctrl(bm_pid, param->ctrlgrp, param->mongrp); in cat_test()
204 ret = write_schemata(param->ctrlgrp, schemata, uparams->cpu, test->resource); in cat_test()
273 .ctrlgrp = "c1", in cat_run_test()
H A Dcmt_test.c25 param->ctrlgrp, domain_id); in cmt_init()
147 .ctrlgrp = "c1", in cmt_run_test()
H A Dresctrl_val.c422 param->ctrlgrp, domain_id); in initialize_mem_bw_resctrl()
777 ret = write_bm_pid_to_resctrl(bm_pid, param->ctrlgrp, param->mongrp); in resctrl_val()