Searched refs:temp_str (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/tools/power/acpi/os_specific/service_layers/ |
D | osunixdir.c | 94 char *temp_str; in acpi_os_get_next_filename() local 109 temp_str = calloc(str_len, 1); in acpi_os_get_next_filename() 110 if (!temp_str) { in acpi_os_get_next_filename() 116 strcpy(temp_str, external_info->dir_pathname); in acpi_os_get_next_filename() 117 strcat(temp_str, "/"); in acpi_os_get_next_filename() 118 strcat(temp_str, dir_entry->d_name); in acpi_os_get_next_filename() 120 err = stat(temp_str, &temp_stat); in acpi_os_get_next_filename() 124 temp_str); in acpi_os_get_next_filename() 125 free(temp_str); in acpi_os_get_next_filename() 129 free(temp_str); in acpi_os_get_next_filename()
|
/linux-6.1.9/tools/thermal/tmon/ |
D | sysfs.c | 125 char temp_str[256]; in get_trip_point_data() local 132 sysfs_get_string(tz_path, filename, temp_str); in get_trip_point_data() 133 trip_type = str_to_trip_type(temp_str); in get_trip_point_data() 135 syslog(LOG_ERR, "%s:%s no matching type\n", __func__, temp_str); in get_trip_point_data() 140 tpid, temp_str, trip_type); in get_trip_point_data() 311 char *temp_str; in scan_tzones() local 316 temp_str = strstr(namelist[n]->d_name, "cdev"); in scan_tzones() 317 if (!temp_str) { in scan_tzones()
|