Searched refs:RESCTRL_PATH (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.10/tools/testing/selftests/resctrl/ |
D | resctrlfs.c | 71 strcpy(mountpoint, RESCTRL_PATH); in remount_resctrlfs() 82 ret = mount("resctrl", RESCTRL_PATH, "resctrl", 0, NULL); in remount_resctrlfs() 84 RESCTRL_PATH); in remount_resctrlfs() 95 if (umount(RESCTRL_PATH)) { in umount_resctrlfs() 448 sprintf(controlgroup, "%s/%s", RESCTRL_PATH, ctrlgrp); in write_bm_pid_to_resctrl() 450 sprintf(controlgroup, "%s", RESCTRL_PATH); in write_bm_pid_to_resctrl() 453 ret = create_grp(ctrlgrp, controlgroup, RESCTRL_PATH); in write_bm_pid_to_resctrl() 527 sprintf(controlgroup, "%s/%s/schemata", RESCTRL_PATH, ctrlgrp); in write_schemata() 529 sprintf(controlgroup, "%s/schemata", RESCTRL_PATH); in write_schemata() 584 dp = opendir(RESCTRL_PATH); in check_resctrlfs_support() [all …]
|
D | resctrl_val.c | 371 RESCTRL_PATH, ctrlgrp, mongrp, resource_id); in set_mbm_path() 373 sprintf(mbm_total_path, MON_MBM_LOCAL_BYTES_PATH, RESCTRL_PATH, in set_mbm_path() 376 sprintf(mbm_total_path, CON_MBM_LOCAL_BYTES_PATH, RESCTRL_PATH, in set_mbm_path() 379 sprintf(mbm_total_path, MBM_LOCAL_BYTES_PATH, RESCTRL_PATH, in set_mbm_path() 406 RESCTRL_PATH, ctrlgrp, resource_id); in initialize_mem_bw_resctrl() 409 RESCTRL_PATH, resource_id); in initialize_mem_bw_resctrl() 498 sprintf(llc_occup_path, CON_MON_LCC_OCCUP_PATH, RESCTRL_PATH, in set_cqm_path() 501 sprintf(llc_occup_path, MON_LCC_OCCUP_PATH, RESCTRL_PATH, in set_cqm_path() 504 sprintf(llc_occup_path, CON_LCC_OCCUP_PATH, RESCTRL_PATH, in set_cqm_path() 507 sprintf(llc_occup_path, LCC_OCCUP_PATH, RESCTRL_PATH, sock_num); in set_cqm_path()
|
D | resctrl.h | 28 #define RESCTRL_PATH "/sys/fs/resctrl" macro
|