Home
last modified time | relevance | path

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

/systemd-251/src/hostname/
Dhostnamectl.c42 const char *chassis; member
57 static const char* chassis_string_to_glyph(const char *chassis) { in chassis_string_to_glyph() argument
58 if (streq_ptr(chassis, "laptop")) in chassis_string_to_glyph()
60 if (streq_ptr(chassis, "desktop")) in chassis_string_to_glyph()
62 if (streq_ptr(chassis, "server")) in chassis_string_to_glyph()
64 if (streq_ptr(chassis, "tablet")) in chassis_string_to_glyph()
66 if (streq_ptr(chassis, "watch")) in chassis_string_to_glyph()
68 if (streq_ptr(chassis, "handset")) in chassis_string_to_glyph()
70 if (streq_ptr(chassis, "vm")) in chassis_string_to_glyph()
72 if (streq_ptr(chassis, "container")) in chassis_string_to_glyph()
[all …]
Dhostnamed.c250 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()
[all …]
/systemd-251/shell-completion/zsh/
D_hostnamectl26 _describe chassis _chassis
57 "chassis:Get/set chassis type for host"
/systemd-251/hwdb.d/
D20-dmi-id.hwdb8 # Microsoft Surface 1's chassis type
Dpci.ids34692 0002 R1BP1 PCIe over fiber optic expansion chassis
D20-pci-vendor-model.hwdb101904 ID_MODEL_FROM_DATABASE=R1BP1 PCIe over fiber optic expansion chassis
/systemd-251/shell-completion/bash/
Dhostnamectl70 [CHASSIS]='chassis'
/systemd-251/
DNEWS489 /sys/class/dmi/id) to override the chassis that is reported by
1207 * hostnamed's chassis property can now be sourced from chassis-type
7498 * hostnamed has been updated to report a new chassis type of
9954 * hostnamed now knows a new chassis type "embedded".
11409 power button is on the outside of the chassis so that it can
13021 * /etc/machine-info and hostnamed now also expose the chassis