Searched refs:chassis (Results 1 - 3 of 3) sorted by relevance

/systemd/src/hostname/
H A Dhostnamectl.c61 char *chassis; member in struct:StatusInfo
92 if (!isempty(i->chassis))
94 strna(i->chassis));
162 { "Chassis", "s", NULL, offsetof(StatusInfo, chassis) },
201 free(info.chassis);
347 " set-chassis NAME Set chassis type for host\n"
442 { "set-chassis", EQUAL, 2, set_chassis },
H A Dhostnamed.c128 static bool valid_chassis(const char *chassis) { argument
129 assert(chassis);
141 chassis);
249 const char *chassis; local
256 chassis = fallback_chassis();
257 if (chassis)
258 return strappend("computer-", chassis);
586 return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid chassis '%s'", name);
610 prop == PROP_CHASSIS ? "chassis" : "icon name", strna(c->data[prop]));
/systemd/src/network/
H A Dnetworkctl.c931 _cleanup_free_ char *chassis = NULL, *port = NULL, *cap = NULL, *lldp = NULL; local
960 r = free_and_strdup(&chassis, b);
995 strna(chassis), strna(port),

Completed in 16 milliseconds