Home
last modified time | relevance | path

Searched refs:ctrlgrp (Results 1 - 16 of 16) sorted by relevance

/kernel/linux/linux-5.10/tools/testing/selftests/resctrl/
H A Dresctrl_val.c390 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()
408 * @ctrlgrp: Name of the control monitor group (con_mon grp)
413 static void initialize_mem_bw_resctrl(const char *ctrlgrp, const char *mongrp, in initialize_mem_bw_resctrl() argument
424 set_mbm_path(ctrlgrp, mongr in initialize_mem_bw_resctrl()
517 set_cqm_path(const char *ctrlgrp, const char *mongrp, char sock_num) set_cqm_path() argument
539 initialize_llc_occu_resctrl(const char *ctrlgrp, const char *mongrp, int cpu_no, char *resctrl_val) initialize_llc_occu_resctrl() argument
[all...]
H A Dresctrl.h43 * @ctrlgrp: Name of the control monitor group (con_mon grp)
54 char ctrlgrp[64]; member
87 int write_schemata(char *ctrlgrp, char *schemata, int cpu_no,
89 int write_bm_pid_to_resctrl(pid_t bm_pid, char *ctrlgrp, char *mongrp,
H A Dresctrlfs.c428 * @ctrlgrp: Name of the control monitor group (con_mon grp)
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()
492 * @ctrlgrp: Name of the con_mon grp
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()
H A Dcat_test.c47 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()
H A Dmba_test.c49 ret = write_schemata(p->ctrlgrp, allocation_str, p->cpu_no, in mba_setup()
150 .ctrlgrp = "c1", in mba_schemata_change()
H A Dmbm_test.c103 ret = write_schemata(p->ctrlgrp, "100", p->cpu_no, in mbm_setup()
118 .ctrlgrp = "c1", in mbm_bw_change()
H A Dcqm_test.c149 .ctrlgrp = "c1", in cqm_resctrl_val()
H A Dcache.c230 ret = write_bm_pid_to_resctrl(bm_pid, param->ctrlgrp, param->mongrp, in cat_val()
/kernel/linux/linux-6.6/tools/testing/selftests/resctrl/
H A Dresctrl_val.c390 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()
408 * @ctrlgrp: Name of the control monitor group (con_mon grp)
413 static void initialize_mem_bw_resctrl(const char *ctrlgrp, const char *mongrp, in initialize_mem_bw_resctrl() argument
424 set_mbm_path(ctrlgrp, mongr in initialize_mem_bw_resctrl()
560 set_cmt_path(const char *ctrlgrp, const char *mongrp, char sock_num) set_cmt_path() argument
582 initialize_llc_occu_resctrl(const char *ctrlgrp, const char *mongrp, int cpu_no, char *resctrl_val) initialize_llc_occu_resctrl() argument
[all...]
H A Dresctrl.h51 * @ctrlgrp: Name of the control monitor group (con_mon grp)
60 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,
H A Dcat_test.c36 ret = write_schemata(p->ctrlgrp, schemata, p->cpu_no, in cat_setup()
145 strcpy(param.ctrlgrp, "c2"); in cat_perf_miss_val()
164 strcpy(param.ctrlgrp, "c1"); in cat_perf_miss_val()
H A Dresctrlfs.c420 * @ctrlgrp: Name of the control monitor group (con_mon grp)
432 int write_bm_pid_to_resctrl(pid_t bm_pid, char *ctrlgrp, char *mongrp, in write_bm_pid_to_resctrl() argument
439 if (strlen(ctrlgrp)) in write_bm_pid_to_resctrl()
440 sprintf(controlgroup, "%s/%s", RESCTRL_PATH, ctrlgrp); in write_bm_pid_to_resctrl()
445 ret = create_grp(ctrlgrp, controlgroup, RESCTRL_PATH); in write_bm_pid_to_resctrl()
481 * @ctrlgrp: Name of the con_mon grp
491 int write_schemata(char *ctrlgrp, char *schemata, int cpu_no, char *resctrl_val) in write_schemata() argument
516 if (strlen(ctrlgrp) != 0) in write_schemata()
517 sprintf(controlgroup, "%s/%s/schemata", RESCTRL_PATH, ctrlgrp); in write_schemata()
H A Dmba_test.c43 ret = write_schemata(p->ctrlgrp, allocation_str, p->cpu_no, in mba_setup()
148 .ctrlgrp = "c1", in mba_schemata_change()
H A Dmbm_test.c99 ret = write_schemata(p->ctrlgrp, "100", p->cpu_no, in mbm_setup()
116 .ctrlgrp = "c1", in mbm_bw_change()
H A Dcmt_test.c104 .ctrlgrp = "c1", in cmt_resctrl_val()
H A Dcache.c229 ret = write_bm_pid_to_resctrl(bm_pid, param->ctrlgrp, param->mongrp, in cat_val()

Completed in 7 milliseconds