Lines Matching refs:hostid

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