Home
last modified time | relevance | path

Searched refs:temp_str (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/tools/power/acpi/os_specific/service_layers/
H A Dosunixdir.c94 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()
/openbmc/linux/tools/thermal/tmon/
H A Dsysfs.c125 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()
/openbmc/linux/drivers/platform/x86/hp/hp-bioscfg/
H A Dbioscfg.c776 char *temp_str = NULL; in hp_init_bios_buffer_attribute() local
815 temp_str = str; in hp_init_bios_buffer_attribute()
817 temp_str = "SPM"; in hp_init_bios_buffer_attribute()
820 &attr_name_ktype, NULL, "%s", temp_str); in hp_init_bios_buffer_attribute()