Lines Matching defs:hostid
201 hostid_t hostid;
283 if (hostp->hostid.platform &&
284 strcmp(hostp->hostid.platform, platform) == 0 &&
285 hostp->hostid.server &&
286 strcmp(hostp->hostid.server, server) == 0 &&
287 (chassis == NULL || hostp->hostid.chassis == NULL ||
288 strcmp(chassis, hostp->hostid.chassis) == 0) &&
289 (product_sn == NULL || hostp->hostid.product_sn == NULL ||
290 strcmp(product_sn, hostp->hostid.product_sn) == 0) &&
291 (domain == NULL || hostp->hostid.domain == NULL ||
292 strcmp(domain, hostp->hostid.domain) == 0)) {
293 rt = &hostp->hostid;
300 hostp->hostid.platform = strdup(platform);
301 hostp->hostid.product_sn =
303 hostp->hostid.server = strdup(server);
304 hostp->hostid.chassis = chassis ? strdup(chassis) : NULL;
305 hostp->hostid.domain = domain ? strdup(domain) : NULL;
308 rt = &hostp->hostid;
507 hostid_t *hostid, boolean_t injected)
513 status_rec_p->host = hostid;
688 hostid_t *hostid, boolean_t injected, boolean_t dummy_fru)
693 resource, serial, not_suppressed, hostid, injected);