Searched refs:fullpath (Results 1 – 3 of 3) sorted by relevance
| /dpdk/lib/power/ |
| H A D | power_common.c | 69 char fullpath[PATH_MAX]; in open_core_sysfs_file() local 74 vsnprintf(fullpath, sizeof(fullpath), format, ap); in open_core_sysfs_file() 76 tmpf = fopen(fullpath, mode); in open_core_sysfs_file()
|
| H A D | power_pstate_cpufreq.c | 83 char fullpath[PATH_MAX]; in power_rdmsr() local 85 snprintf(fullpath, sizeof(fullpath), POWER_MSR_PATH, lcore_id); in power_rdmsr() 87 fd = open(fullpath, O_RDONLY); in power_rdmsr() 90 RTE_LOG(ERR, POWER, "Error opening '%s': %s\n", fullpath, in power_rdmsr() 98 RTE_LOG(ERR, POWER, "Error reading '%s': %s\n", fullpath, in power_rdmsr() 104 fullpath, msr, lcore_id); in power_rdmsr()
|
| /dpdk/app/test/ |
| H A D | test_power_cpufreq.c | 56 char fullpath[PATH_MAX]; in check_cur_freq() local 64 if (snprintf(fullpath, sizeof(fullpath), in check_cur_freq() 68 f = fopen(fullpath, "r"); in check_cur_freq() 70 if (snprintf(fullpath, sizeof(fullpath), in check_cur_freq() 74 f = fopen(fullpath, "r"); in check_cur_freq()
|