Lines Matching defs:rnp
240 ghd_reset_notify_list_t *rnp;
248 for (rnp = (ghd_reset_notify_list_t *)L2_next(rnl);
249 rnp != NULL;
250 rnp = (ghd_reset_notify_list_t *)L2_next(&rnp->l2_link)) {
254 (*cccp->ccc_hba_reset_notify_callback)(rnp->gtgtp,
255 rnp->callback, rnp->arg);
841 ghd_reset_notify_list_t *rnp;
848 rnp = (ghd_reset_notify_list_t *)kmem_zalloc(sizeof (*rnp),
850 rnp->gtgtp = gtgtp;
851 rnp->callback = callback;
852 rnp->arg = arg;
855 L2_add(&cccp->ccc_reset_notify_list, &rnp->l2_link,
856 (void *)rnp);
866 for (rnp = (ghd_reset_notify_list_t *)
868 rnp != NULL;
869 rnp = (ghd_reset_notify_list_t *)L2_next(&rnp->l2_link)) {
870 if (rnp->gtgtp == gtgtp &&
871 rnp->callback == callback &&
872 rnp->arg == arg) {
873 L2_delete(&rnp->l2_link);
874 kmem_free(rnp, sizeof (*rnp));