Lines Matching refs:SBD_HD2ERR
589 rv = SBD_GET_ERRNO(SBD_HD2ERR(hp)); in sbd_ioctl()
712 (SBD_GET_ERRNO(SBD_HD2ERR(hp)) == 0 && in sbd_exec_op()
713 SBD_GET_ERR(SBD_HD2ERR(hp)) == 0)) in sbd_exec_op()
759 sbderror_t *ep = SBD_HD2ERR(hp); in sbd_exec_op()
772 SBD_GET_PERR(hdp->h_err, SBD_HD2ERR(hp)); in sbd_exec_op()
780 SBD_SET_ERRNO(SBD_HD2ERR(hp), ENOTTY); in sbd_exec_op()
786 if (SBD_GET_ERR(SBD_HD2ERR(hp))) in sbd_exec_op()
787 PR_BYP("XXX e_code=%d", SBD_GET_ERR(SBD_HD2ERR(hp))); in sbd_exec_op()
788 if (SBD_GET_ERRNO(SBD_HD2ERR(hp))) in sbd_exec_op()
789 PR_BYP("XXX errno=%d", SBD_GET_ERRNO(SBD_HD2ERR(hp))); in sbd_exec_op()
883 SBD_GET_PERR(hdp->h_err, SBD_HD2ERR(hp)); in sbd_dev_configure()
959 SBD_GET_PERR(hdp->h_err, SBD_HD2ERR(hp)); in sbd_dev_release()
1037 SBD_GET_PERR(hdp->h_err, SBD_HD2ERR(hp)); in sbd_dev_unconfigure()
1481 sbderror_t *hep = SBD_HD2ERR(hp); in sbd_set_err_in_hdl()
1833 sbderror_t *ep = SBD_HD2ERR(hp); in sbd_pre_op()
1968 sbderror_t *ep = SBD_HD2ERR(hp); in sbd_post_op()
2025 sbderror_t *ep = SBD_HD2ERR(hp); in sbd_probe_board()
2061 sbderror_t *ep = SBD_HD2ERR(hp); in sbd_deprobe_board()
2583 sbd_init_mem_unit(sbp, i, SBD_HD2ERR(hp)); in sbd_connect()
2687 sbderror_t *ep = SBD_HD2ERR(hp); in sbd_test_board()
2711 sbderror_t *ep = SBD_HD2ERR(hp); in sbd_assign_board()
2735 sbderror_t *ep = SBD_HD2ERR(hp); in sbd_unassign_board()
2759 sbderror_t *ep = SBD_HD2ERR(hp); in sbd_poweron_board()
2783 sbderror_t *ep = SBD_HD2ERR(hp); in sbd_poweroff_board()
2829 sbderror_t *ep = SBD_HD2ERR(hp); in sbd_get_devlist()
3131 f, SBD_GET_ERRNO(SBD_HD2ERR(hp)), in sbd_post_attach_devlist()
3348 sbderror_t *ep = SBD_HD2ERR(hp); in sbd_pre_release_devlist()
3465 SBD_GET_PERR(hdp->h_err, SBD_HD2ERR(hp)); in sbd_post_release_devlist()
3473 if (SBD_GET_ERRNO(SBD_HD2ERR(hp))) { in sbd_post_release_devlist()
3475 f, SBD_GET_ERRNO(SBD_HD2ERR(hp)), in sbd_post_release_devlist()
3476 SBD_GET_ERR(SBD_HD2ERR(hp))); in sbd_post_release_devlist()
3492 return (SBD_GET_ERRNO(SBD_HD2ERR(hp)) ? -1 : 0); in sbd_post_release_devlist()
3514 ep = SBD_HD2ERR(hp); in sbd_release_done()
3796 f, SBD_GET_ERRNO(SBD_HD2ERR(hp)), in sbd_post_detach_devlist()
3813 return (SBD_GET_ERRNO(SBD_HD2ERR(hp)) ? -1 : 0); in sbd_post_detach_devlist()
3939 SBD_GET_PERR(hdp->h_err, SBD_HD2ERR(hp)); in sbd_get_memhandle()
3951 SBD_SET_ERR(SBD_HD2ERR(hp), ESBD_INTERNAL); in sbd_get_memhandle()
3952 SBD_SET_ERRSTR(SBD_HD2ERR(hp), sbp->sb_mempath[unit]); in sbd_get_memhandle()
4267 SBD_SET_ERRNO(SBD_HD2ERR(hp), error); in sbd_get_ncm()
4325 SBD_SET_ERRNO(SBD_HD2ERR(hp), EINVAL); in sbd_status()
4362 SBD_SET_ERRNO(SBD_HD2ERR(hp), EINVAL); in sbd_status()
4404 SBD_GET_PERR(hdp->h_err, SBD_HD2ERR(hp)); in sbd_status()
4456 SBD_SET_ERRNO(SBD_HD2ERR(hp), EINVAL); in sbd_status()
4475 SBD_SET_ERRNO(SBD_HD2ERR(hp), EINVAL); in sbd_status()
4600 SBD_SET_ERRNO(SBD_HD2ERR(hp), EFAULT); in sbd_status()
4609 SBD_SET_ERRNO(SBD_HD2ERR(hp), EFAULT); in sbd_status()