Home
last modified time | relevance | path

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

/openbmc/linux/tools/lib/thermal/
H A Dcommands.c41 struct thermal_zone *__tz = NULL; in parse_tz_get() local
51 __tz = realloc(__tz, sizeof(*__tz) * (size + 2)); in parse_tz_get()
52 if (!__tz) in parse_tz_get()
55 __tz[size - 1].id = nla_get_u32(attr); in parse_tz_get()
60 nla_strlcpy(__tz[size - 1].name, attr, in parse_tz_get()
64 if (__tz) in parse_tz_get()
65 __tz[size].id = -1; in parse_tz_get()
67 *tz = __tz; in parse_tz_get()