Searched refs:RESCTRL_PATH (Results 1 – 3 of 3) sorted by relevance
/Linux-v6.1/tools/testing/selftests/resctrl/ |
D | resctrlfs.c | 67 strcpy(mountpoint, RESCTRL_PATH); in remount_resctrlfs() 75 ksft_print_msg("Mounting resctrl to \"%s\"\n", RESCTRL_PATH); in remount_resctrlfs() 76 ret = mount("resctrl", RESCTRL_PATH, "resctrl", 0, NULL); in remount_resctrlfs() 88 if (umount(RESCTRL_PATH)) { in umount_resctrlfs() 443 sprintf(controlgroup, "%s/%s", RESCTRL_PATH, ctrlgrp); in write_bm_pid_to_resctrl() 445 sprintf(controlgroup, "%s", RESCTRL_PATH); in write_bm_pid_to_resctrl() 448 ret = create_grp(ctrlgrp, controlgroup, RESCTRL_PATH); in write_bm_pid_to_resctrl() 519 sprintf(controlgroup, "%s/%s/schemata", RESCTRL_PATH, ctrlgrp); in write_schemata() 521 sprintf(controlgroup, "%s/schemata", RESCTRL_PATH); in write_schemata() 579 dp = opendir(RESCTRL_PATH); in check_resctrlfs_support() [all …]
|
D | resctrl_val.c | 394 RESCTRL_PATH, ctrlgrp, mongrp, resource_id); in set_mbm_path() 396 sprintf(mbm_total_path, MON_MBM_LOCAL_BYTES_PATH, RESCTRL_PATH, in set_mbm_path() 399 sprintf(mbm_total_path, CON_MBM_LOCAL_BYTES_PATH, RESCTRL_PATH, in set_mbm_path() 402 sprintf(mbm_total_path, MBM_LOCAL_BYTES_PATH, RESCTRL_PATH, in set_mbm_path() 429 RESCTRL_PATH, ctrlgrp, resource_id); in initialize_mem_bw_resctrl() 432 RESCTRL_PATH, resource_id); in initialize_mem_bw_resctrl() 520 sprintf(llc_occup_path, CON_MON_LCC_OCCUP_PATH, RESCTRL_PATH, in set_cmt_path() 523 sprintf(llc_occup_path, MON_LCC_OCCUP_PATH, RESCTRL_PATH, in set_cmt_path() 526 sprintf(llc_occup_path, CON_LCC_OCCUP_PATH, RESCTRL_PATH, in set_cmt_path() 529 sprintf(llc_occup_path, LCC_OCCUP_PATH, RESCTRL_PATH, sock_num); in set_cmt_path()
|
D | resctrl.h | 29 #define RESCTRL_PATH "/sys/fs/resctrl" macro
|