Lines Matching refs:mongrp
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()
397 mongrp, resource_id); in set_mbm_path()
398 else if (ctrlgrp && !mongrp) 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()
517 static void set_cqm_path(const char *ctrlgrp, const char *mongrp, char sock_num) in set_cqm_path() argument
519 if (strlen(ctrlgrp) && strlen(mongrp)) in set_cqm_path()
521 ctrlgrp, mongrp, sock_num); in set_cqm_path()
522 else if (!strlen(ctrlgrp) && strlen(mongrp)) in set_cqm_path()
524 mongrp, sock_num); in set_cqm_path()
525 else if (strlen(ctrlgrp) && !strlen(mongrp)) in set_cqm_path()
528 else if (!strlen(ctrlgrp) && !strlen(mongrp)) in set_cqm_path()
539 static void initialize_llc_occu_resctrl(const char *ctrlgrp, const char *mongrp, in initialize_llc_occu_resctrl() argument
550 set_cqm_path(ctrlgrp, mongrp, resource_id); in initialize_llc_occu_resctrl()
695 ret = write_bm_pid_to_resctrl(bm_pid, param->ctrlgrp, param->mongrp, in resctrl_val()
706 initialize_mem_bw_resctrl(param->ctrlgrp, param->mongrp, in resctrl_val()
709 initialize_llc_occu_resctrl(param->ctrlgrp, param->mongrp, in resctrl_val()