Searched refs:ctrlgrp (Results 1 – 8 of 8) sorted by relevance
/external/linux-kselftest/tools/testing/selftests/resctrl/ |
D | resctrl_val.c | 390 void set_mbm_path(const char *ctrlgrp, const char *mongrp, int resource_id) in set_mbm_path() argument 392 if (ctrlgrp && mongrp) in set_mbm_path() 394 RESCTRL_PATH, ctrlgrp, mongrp, resource_id); in set_mbm_path() 395 else if (!ctrlgrp && mongrp) in set_mbm_path() 398 else if (ctrlgrp && !mongrp) in set_mbm_path() 400 ctrlgrp, resource_id); in set_mbm_path() 401 else if (!ctrlgrp && !mongrp) in set_mbm_path() 413 static void initialize_mem_bw_resctrl(const char *ctrlgrp, const char *mongrp, in initialize_mem_bw_resctrl() argument 424 set_mbm_path(ctrlgrp, mongrp, resource_id); in initialize_mem_bw_resctrl() 427 if (ctrlgrp) in initialize_mem_bw_resctrl() [all …]
|
D | resctrl.h | 58 char ctrlgrp[64]; member 90 int write_schemata(char *ctrlgrp, char *schemata, int cpu_no, 92 int write_bm_pid_to_resctrl(pid_t bm_pid, char *ctrlgrp, char *mongrp,
|
D | resctrlfs.c | 435 int write_bm_pid_to_resctrl(pid_t bm_pid, char *ctrlgrp, char *mongrp, in write_bm_pid_to_resctrl() argument 442 if (strlen(ctrlgrp)) in write_bm_pid_to_resctrl() 443 sprintf(controlgroup, "%s/%s", RESCTRL_PATH, ctrlgrp); in write_bm_pid_to_resctrl() 448 ret = create_grp(ctrlgrp, controlgroup, RESCTRL_PATH); in write_bm_pid_to_resctrl() 494 int write_schemata(char *ctrlgrp, char *schemata, int cpu_no, char *resctrl_val) in write_schemata() argument 518 if (strlen(ctrlgrp) != 0) in write_schemata() 519 sprintf(controlgroup, "%s/%s/schemata", RESCTRL_PATH, ctrlgrp); in write_schemata()
|
D | cat_test.c | 47 ret = write_schemata(p->ctrlgrp, schemata, p->cpu_no, in cat_setup() 159 strcpy(param.ctrlgrp, "c2"); in cat_perf_miss_val() 177 strcpy(param.ctrlgrp, "c1"); in cat_perf_miss_val()
|
D | mbm_test.c | 106 ret = write_schemata(p->ctrlgrp, "100", p->cpu_no, in mbm_setup() 121 .ctrlgrp = "c1", in mbm_bw_change()
|
D | mba_test.c | 48 write_schemata(p->ctrlgrp, allocation_str, p->cpu_no, p->resctrl_val); in mba_setup() 149 .ctrlgrp = "c1", in mba_schemata_change()
|
D | cmt_test.c | 118 .ctrlgrp = "c1", in cmt_resctrl_val()
|
D | cache.c | 232 ret = write_bm_pid_to_resctrl(bm_pid, param->ctrlgrp, param->mongrp, in cat_val()
|