Lines Matching refs:eip

70 ipmi_entity_add_assoc(ipmi_handle_t *ihp, ipmi_entity_impl_t *eip,
99 cp->ie_parent = eip;
100 ipmi_list_append(&eip->ie_child_list, cp);
101 eip->ie_entity.ie_children++;
200 ipmi_entity_impl_t *eip;
209 if ((eip = ipmi_hash_lookup(ihp->ih_entities, &search)) == NULL) {
210 if ((eip = ipmi_zalloc(ihp,
214 eip->ie_entity.ie_type = id;
215 eip->ie_entity.ie_instance = instance;
217 ipmi_hash_insert(ihp->ih_entities, eip);
220 eip->ie_entity.ie_logical |= logical;
237 if (ipmi_entity_add_assoc(ihp, eip,
249 if (ipmi_entity_add_assoc(ihp, eip,
262 if (ipmi_entity_add_assoc(ihp, eip, type,
274 ipmi_list_append(&eip->ie_sdr_list, esp);
404 ipmi_entity_impl_t *eip = ENTITY_TO_IMPL(ep);
420 for (esp = ipmi_list_next(&eip->ie_sdr_list); esp != NULL;
495 for (esp = ipmi_list_next(&eip->ie_sdr_list); esp != NULL;
530 for (cp = ipmi_list_next(&eip->ie_child_list); cp != NULL;
542 for (esp = ipmi_list_next(&eip->ie_sdr_list); esp != NULL;
580 ipmi_entity_impl_t *eip;
586 for (eip = ipmi_hash_first(ihp->ih_entities); eip != NULL;
587 eip = ipmi_hash_next(ihp->ih_entities, eip)) {
588 if (eip->ie_parent != NULL)
591 if ((ret = func(ihp, &eip->ie_entity, data)) != 0)
604 ipmi_entity_impl_t *eip = ENTITY_TO_IMPL(ep);
608 for (isp = ipmi_list_next(&eip->ie_sdr_list); isp != NULL;
623 ipmi_entity_impl_t *eip = ENTITY_TO_IMPL(ep);
627 for (cp = ipmi_list_next(&eip->ie_child_list); cp != NULL;
640 ipmi_entity_impl_t *eip = ENTITY_TO_IMPL(ep);
642 if (eip->ie_parent == NULL) {
647 return (&eip->ie_parent->ie_entity);
654 ipmi_entity_impl_t *eip;
662 if ((eip = ipmi_hash_lookup(ihp->ih_entities, &search)) == NULL) {
667 return (&eip->ie_entity);
692 const ipmi_entity_impl_t *eip = p;
694 return (&eip->ie_entity);
734 ipmi_entity_impl_t *eip;
737 while ((eip = ipmi_hash_first(ihp->ih_entities)) != NULL) {
738 while ((esp = ipmi_list_next(&eip->ie_sdr_list)) != NULL) {
739 ipmi_list_delete(&eip->ie_sdr_list, esp);
742 ipmi_hash_remove(ihp->ih_entities, eip);
743 ipmi_free(ihp, eip);