Searched refs:filep (Results 1 – 4 of 4) sorted by relevance
/tools/hv/ |
D | hv_kvp_daemon.c | 147 FILE *filep; in kvp_update_file() local 155 filep = fopen(kvp_file_info[pool].fname, "we"); in kvp_update_file() 156 if (!filep) { in kvp_update_file() 164 kvp_file_info[pool].num_records, filep); in kvp_update_file() 166 if (ferror(filep) || fclose(filep)) { in kvp_update_file() 177 FILE *filep; in kvp_update_mem_state() local 186 filep = fopen(kvp_file_info[pool].fname, "re"); in kvp_update_mem_state() 187 if (!filep) { in kvp_update_mem_state() 197 filep); in kvp_update_mem_state() 199 if (ferror(filep)) { in kvp_update_mem_state() [all …]
|
/tools/power/x86/intel-speed-select/ |
D | isst-config.c | 167 FILE *filep = fopen(path, mode); in fopen_or_exit() local 169 if (!filep) in fopen_or_exit() 172 return filep; in fopen_or_exit() 180 FILE *filep; in parse_int_file() local 187 filep = fopen_or_exit(path, "r"); in parse_int_file() 189 filep = fopen(path, "r"); in parse_int_file() 190 if (!filep) in parse_int_file() 193 if (fscanf(filep, "%d", &value) != 1) in parse_int_file() 195 fclose(filep); in parse_int_file() 492 FILE *filep; in set_max_cpu_num() local [all …]
|
/tools/power/x86/turbostat/ |
D | turbostat.c | 1367 FILE *filep; in flush_output_stdout() local 1370 filep = stdout; in flush_output_stdout() 1372 filep = outf; in flush_output_stdout() 1374 fputs(output_buffer, filep); in flush_output_stdout() 1375 fflush(filep); in flush_output_stdout() 1866 FILE *filep = fopen(path, mode); in fopen_or_die() local 1868 if (!filep) in fopen_or_die() 1870 return filep; in fopen_or_die() 2777 FILE *filep; in parse_int_file() local 2783 filep = fopen(path, "r"); in parse_int_file() [all …]
|
/tools/power/x86/x86_energy_perf_policy/ |
D | x86_energy_perf_policy.c | 633 FILE *filep = fopen(path, "r"); in fopen_or_die() local 635 if (!filep) in fopen_or_die() 637 return filep; in fopen_or_die()
|