Searched refs:msr_file_name (Results 1 – 3 of 3) sorted by relevance
/kernel/linux/linux-5.10/tools/power/cpupower/utils/helpers/ |
D | msr.c | 30 char msr_file_name[64]; in read_msr() local 32 sprintf(msr_file_name, "/dev/cpu/%d/msr", cpu); in read_msr() 33 fd = open(msr_file_name, O_RDONLY); in read_msr() 59 char msr_file_name[64]; in write_msr() local 61 sprintf(msr_file_name, "/dev/cpu/%d/msr", cpu); in write_msr() 62 fd = open(msr_file_name, O_WRONLY); in write_msr()
|
/kernel/linux/linux-5.10/tools/testing/selftests/intel_pstate/ |
D | msr.c | 17 char msr_file_name[64]; in main() local 28 sprintf(msr_file_name, "/dev/cpu/%d/msr", cpu); in main() 29 fd = open(msr_file_name, O_RDONLY); in main()
|
D | aperf.c | 25 char msr_file_name[64]; in main() local 46 sprintf(msr_file_name, "/dev/cpu/%d/msr", cpu); in main() 47 fd = open(msr_file_name, O_RDONLY); in main()
|