Lines Matching refs:chassis
250 static const char* valid_chassis(const char *chassis) { in valid_chassis() argument
251 assert(chassis); in valid_chassis()
264 chassis); in valid_chassis()
274 const char *chassis; in fallback_chassis() local
403 chassis = valid_chassis(type); in fallback_chassis()
404 if (!chassis) in fallback_chassis()
406 return chassis; in fallback_chassis()
429 _cleanup_free_ char *chassis = NULL; in context_fallback_icon_name() local
433 chassis = context_get_chassis(c); in context_fallback_icon_name()
434 if (chassis) in context_fallback_icon_name()
435 return strjoin("computer-", chassis); in context_fallback_icon_name()
827 _cleanup_free_ char *chassis = NULL; in property_get_chassis() local
832 chassis = context_get_chassis(c); in property_get_chassis()
834 return sd_bus_message_append(reply, "s", chassis); in property_get_chassis()
1159 … *chassis = NULL, *vendor = NULL, *model = NULL, *serial = NULL, *firmware_version = NULL; in method_describe() local
1209 chassis = context_get_chassis(c); in method_describe()
1232 JSON_BUILD_PAIR("Chassis", JSON_BUILD_STRING(chassis)), in method_describe()
1308 SD_BUS_ARGS("s", chassis, "b", interactive),