Lines Matching refs:hostid
202 hostid_t hostid; member
284 if (hostp->hostid.platform && in find_hostid_in_list()
285 strcmp(hostp->hostid.platform, platform) == 0 && in find_hostid_in_list()
286 hostp->hostid.server && in find_hostid_in_list()
287 strcmp(hostp->hostid.server, server) == 0 && in find_hostid_in_list()
288 (chassis == NULL || hostp->hostid.chassis == NULL || in find_hostid_in_list()
289 strcmp(chassis, hostp->hostid.chassis) == 0) && in find_hostid_in_list()
290 (product_sn == NULL || hostp->hostid.product_sn == NULL || in find_hostid_in_list()
291 strcmp(product_sn, hostp->hostid.product_sn) == 0) && in find_hostid_in_list()
292 (domain == NULL || hostp->hostid.domain == NULL || in find_hostid_in_list()
293 strcmp(domain, hostp->hostid.domain) == 0)) { in find_hostid_in_list()
294 rt = &hostp->hostid; in find_hostid_in_list()
301 hostp->hostid.platform = strdup(platform); in find_hostid_in_list()
302 hostp->hostid.product_sn = in find_hostid_in_list()
304 hostp->hostid.server = strdup(server); in find_hostid_in_list()
305 hostp->hostid.chassis = chassis ? strdup(chassis) : NULL; in find_hostid_in_list()
306 hostp->hostid.domain = domain ? strdup(domain) : NULL; in find_hostid_in_list()
309 rt = &hostp->hostid; in find_hostid_in_list()
508 hostid_t *hostid, boolean_t injected) in new_record_init() argument
514 status_rec_p->host = hostid; in new_record_init()
689 hostid_t *hostid, boolean_t injected, boolean_t dummy_fru) in catalog_new_record() argument
694 resource, serial, not_suppressed, hostid, injected); in catalog_new_record()