Lines Matching refs:hdp

240 	sbdp_handle_t	*hdp;  in sbd_cpu_flags()  local
244 hdp = sbd_get_sbdp_handle(sbp, hp); in sbd_cpu_flags()
332 sbd_release_sbdp_handle(hdp); in sbd_cpu_flags()
348 sbdp_handle_t *hdp; in sbd_pre_release_cpu() local
350 hdp = sbd_get_sbdp_handle(sbp, hp); in sbd_pre_release_cpu()
359 cpuid = sbdp_get_cpuid(hdp, dip); in sbd_pre_release_cpu()
367 SBD_GET_PERR(hdp->h_err, SBD_HD2ERR(hp)); in sbd_pre_release_cpu()
373 unit = sbdp_get_unit_num(hdp, dip); in sbd_pre_release_cpu()
381 SBD_GET_PERR(hdp->h_err, SBD_HD2ERR(hp)); in sbd_pre_release_cpu()
414 if (sbdp_release_component(hdp, dip)) { in sbd_pre_release_cpu()
415 SBD_GET_PERR(hdp->h_err, ep); in sbd_pre_release_cpu()
435 unit = sbdp_get_unit_num(hdp, dip); in sbd_pre_release_cpu()
451 sbd_release_sbdp_handle(hdp); in sbd_pre_release_cpu()
466 sbdp_handle_t *hdp; in sbd_pre_attach_cpu() local
470 hdp = sbd_get_sbdp_handle(sbp, hp); in sbd_pre_attach_cpu()
477 cpuid = sbdp_get_cpuid(hdp, dip); in sbd_pre_attach_cpu()
485 SBD_GET_PERR(hdp->h_err, SBD_HD2ERR(hp)); in sbd_pre_attach_cpu()
490 unit = sbdp_get_unit_num(hdp, dip); in sbd_pre_attach_cpu()
498 SBD_GET_PERR(hdp->h_err, SBD_HD2ERR(hp)); in sbd_pre_attach_cpu()
526 sbd_release_sbdp_handle(hdp); in sbd_pre_attach_cpu()
541 sbdp_handle_t *hdp; in sbd_post_attach_cpu() local
546 hdp = sbd_get_sbdp_handle(sbp, hp); in sbd_post_attach_cpu()
551 cpuid = sbdp_get_cpuid(hdp, dip); in sbd_post_attach_cpu()
559 SBD_GET_PERR(hdp->h_err, ep); in sbd_post_attach_cpu()
615 unit = sbdp_get_unit_num(hdp, dip); in sbd_post_attach_cpu()
623 SBD_GET_PERR(hdp->h_err, in sbd_post_attach_cpu()
635 sbd_release_sbdp_handle(hdp); in sbd_post_attach_cpu()
655 sbdp_handle_t *hdp; in sbd_pre_detach_cpu() local
660 hdp = sbd_get_sbdp_handle(sbp, hp); in sbd_pre_detach_cpu()
666 cpuid = sbdp_get_cpuid(hdp, dip); in sbd_pre_detach_cpu()
674 SBD_GET_PERR(hdp->h_err, SBD_HD2ERR(hp)); in sbd_pre_detach_cpu()
694 unit = sbdp_get_unit_num(hdp, dip); in sbd_pre_detach_cpu()
702 SBD_GET_PERR(hdp->h_err, SBD_HD2ERR(hp)); in sbd_pre_detach_cpu()
745 sbd_release_sbdp_handle(hdp); in sbd_pre_detach_cpu()
759 sbdp_handle_t *hdp; in sbd_post_detach_cpu() local
773 hdp = sbd_get_sbdp_handle(sbp, hp); in sbd_post_detach_cpu()
774 cpuid = sbdp_get_cpuid(hdp, dip); in sbd_post_detach_cpu()
782 SBD_GET_PERR(hdp->h_err, ep); in sbd_post_detach_cpu()
790 unit = sbdp_get_unit_num(hdp, dip); in sbd_post_detach_cpu()
798 SBD_GET_PERR(hdp->h_err, in sbd_post_detach_cpu()
806 sbd_release_sbdp_handle(hdp); in sbd_post_detach_cpu()
965 sbdp_handle_t *hdp; in sbd_connect_cpu() local
994 hdp = sbd_get_sbdp_handle(sbp, hp); in sbd_connect_cpu()
996 cpuid = sbdp_get_cpuid(hdp, dip); in sbd_connect_cpu()
998 sbd_release_sbdp_handle(hdp); in sbd_connect_cpu()
1010 sbd_release_sbdp_handle(hdp); in sbd_connect_cpu()
1014 rv = sbdp_connect_cpu(hdp, dip, cpuid); in sbd_connect_cpu()
1021 sbd_release_sbdp_handle(hdp); in sbd_connect_cpu()
1024 sbd_release_sbdp_handle(hdp); in sbd_connect_cpu()
1035 sbdp_handle_t *hdp; in sbd_disconnect_cpu() local
1053 hdp = sbd_get_sbdp_handle(sbp, hp); in sbd_disconnect_cpu()
1055 rv = sbdp_disconnect_cpu(hdp, dip, cpuid); in sbd_disconnect_cpu()
1058 SBD_GET_PERR(hdp->h_err, SBD_HD2ERR(hp)); in sbd_disconnect_cpu()
1060 sbd_release_sbdp_handle(hdp); in sbd_disconnect_cpu()