Lines Matching refs:hbp

327 	struct cmi_msri_bkt *hbp = &msrihash[idx];
330 mutex_enter(&hbp->msrib_lock);
332 for (hep = hbp->msrib_head; hep != NULL; hep = hep->msrie_next) {
345 if (hbp->msrib_head != NULL)
346 hbp->msrib_head->msrie_prev = hep;
347 hep->msrie_next = hbp->msrib_head;
349 hbp->msrib_head = hep;
352 mutex_exit(&hbp->msrib_lock);
363 struct cmi_msri_bkt *hbp = &msrihash[idx];
374 if (!mutex_tryenter(&hbp->msrib_lock))
377 for (hep = hbp->msrib_head; hep != NULL; hep = hep->msrie_next) {
384 mutex_exit(&hbp->msrib_lock);
397 struct cmi_msri_bkt *hbp = &msrihash[idx];
400 if (!mutex_tryenter(&hbp->msrib_lock))
403 for (hep = hbp->msrib_head; hep != NULL; hep = hep->msrie_next) {
411 if (hbp->msrib_head == hep)
412 hbp->msrib_head = hep->msrie_next;
419 mutex_exit(&hbp->msrib_lock);
475 struct cmi_pcii_bkt *hbp = &pciihash[idx];
480 mutex_enter(&hbp->pciib_lock);
482 for (hep = hbp->pciib_head; hep != NULL; hep = hep->pcii_next) {
498 if (hbp->pciib_head != NULL)
499 hbp->pciib_head->pcii_prev = hep;
500 hep->pcii_next = hbp->pciib_head;
502 hbp->pciib_head = hep;
505 mutex_exit(&hbp->pciib_lock);
518 struct cmi_pcii_bkt *hbp = &pciihash[idx];
521 if (!mutex_tryenter(&hbp->pciib_lock))
524 for (hep = hbp->pciib_head; hep != NULL; hep = hep->pcii_next) {
531 mutex_exit(&hbp->pciib_lock);
540 struct cmi_pcii_bkt *hbp = &pciihash[idx];
543 mutex_enter(&hbp->pciib_lock);
545 for (hep = hbp->pciib_head; hep != NULL; hep = hep->pcii_next) {
553 if (hbp->pciib_head == hep)
554 hbp->pciib_head = hep->pcii_next;
561 mutex_exit(&hbp->pciib_lock);