Searched refs:ctrlgrp (Results 1 – 8 of 8) sorted by relevance
| /Linux-v5.10/tools/testing/selftests/resctrl/ |
| D | resctrl_val.c | 367 void set_mbm_path(const char *ctrlgrp, const char *mongrp, int resource_id) in set_mbm_path() argument 369 if (ctrlgrp && mongrp) in set_mbm_path() 371 RESCTRL_PATH, ctrlgrp, mongrp, resource_id); in set_mbm_path() 372 else if (!ctrlgrp && mongrp) in set_mbm_path() 375 else if (ctrlgrp && !mongrp) in set_mbm_path() 377 ctrlgrp, resource_id); in set_mbm_path() 378 else if (!ctrlgrp && !mongrp) in set_mbm_path() 390 static void initialize_mem_bw_resctrl(const char *ctrlgrp, const char *mongrp, in initialize_mem_bw_resctrl() argument 401 set_mbm_path(ctrlgrp, mongrp, resource_id); in initialize_mem_bw_resctrl() 404 if (ctrlgrp) in initialize_mem_bw_resctrl() [all …]
|
| D | resctrl.h | 53 char ctrlgrp[64]; member 81 int write_schemata(char *ctrlgrp, char *schemata, int cpu_no, 83 int write_bm_pid_to_resctrl(pid_t bm_pid, char *ctrlgrp, char *mongrp,
|
| D | resctrlfs.c | 440 int write_bm_pid_to_resctrl(pid_t bm_pid, char *ctrlgrp, char *mongrp, in write_bm_pid_to_resctrl() argument 447 if (strlen(ctrlgrp)) in write_bm_pid_to_resctrl() 448 sprintf(controlgroup, "%s/%s", RESCTRL_PATH, ctrlgrp); in write_bm_pid_to_resctrl() 453 ret = create_grp(ctrlgrp, controlgroup, RESCTRL_PATH); in write_bm_pid_to_resctrl() 502 int write_schemata(char *ctrlgrp, char *schemata, int cpu_no, char *resctrl_val) in write_schemata() argument 526 if (strlen(ctrlgrp) != 0) in write_schemata() 527 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() 180 strcpy(param.ctrlgrp, "c2"); in cat_perf_miss_val() 198 strcpy(param.ctrlgrp, "c1"); in cat_perf_miss_val()
|
| D | mbm_test.c | 103 ret = write_schemata(p->ctrlgrp, "100", p->cpu_no, in mbm_setup() 118 .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() 145 .ctrlgrp = "c1", in mba_schemata_change()
|
| D | cqm_test.c | 149 .ctrlgrp = "c1", in cqm_resctrl_val()
|
| D | cache.c | 232 ret = write_bm_pid_to_resctrl(bm_pid, param->ctrlgrp, param->mongrp, in cat_val()
|