Home
last modified time | relevance | path

Searched refs:h_err (Results 1 – 20 of 20) sorted by relevance

/illumos-gate/usr/src/uts/sun4u/ngdr/io/
H A Ddr.c595 hp->h_err = NULL; in dr_ioctl()
660 if (hp->h_err != NULL) in dr_ioctl()
1003 if (hp->h_err == NULL) in dr_copyout_errs()
1006 if (hp->h_err->e_code) { in dr_copyout_errs()
1008 f, hp->h_err->e_code, hp->h_err->e_rsc); in dr_copyout_errs()
1017 serr32p->e_code = hp->h_err->e_code; in dr_copyout_errs()
1018 bcopy(&hp->h_err->e_rsc[0], &serr32p->e_rsc[0], in dr_copyout_errs()
1030 if (ddi_copyout((void *)hp->h_err, in dr_copyout_errs()
1038 sbd_err_clear(&hp->h_err); in dr_copyout_errs()
1063 hp->h_err = drmach_pre_op(cmd, bp->b_id, &hp->h_opts); in dr_pre_op()
[all …]
H A Ddr_quiesce.c650 handle->h_err = drerr_int(ESBD_UTHREAD, srh->sr_err_ints, in dr_stop_user_threads()
785 (srh->sr_dr_handlep)->h_err = drerr_int(ESBD_RESUME, in dr_resume()
867 handle->h_err = drerr_int(ESBD_UNSAFE, dev_errs, in dr_suspend()
905 (srh->sr_dr_handlep)->h_err = drerr_int(ESBD_SUSPEND, in dr_suspend()
959 if ((hp->h_err) && ((psmerr = hp->h_err->e_code) != 0)) { in dr_pt_test_suspend()
964 DR_GET_E_RSC(hp->h_err)); in dr_pt_test_suspend()
977 psmerr = hp->h_err ? hp->h_err->e_code : ESBD_NOERROR; in dr_pt_test_suspend()
981 DR_GET_E_RSC(hp->h_err)); in dr_pt_test_suspend()
986 DR_GET_E_RSC(hp->h_err)); in dr_pt_test_suspend()
991 DR_GET_E_RSC(hp->h_err)); in dr_pt_test_suspend()
[all …]
H A Ddr_io.c192 hp->h_err = NULL; in dr_check_io_refs()
221 if ((hp->h_err = drmach_io_pre_release( in dr_pre_release_io()
404 hp->h_err = NULL; in dr_io_status()
H A Ddr_mem.c497 s_mp->sbm_cm.sbdev_error = hp->h_err; in dr_move_memory()
498 hp->h_err = NULL; in dr_move_memory()
/illumos-gate/usr/src/uts/i86pc/io/dr/
H A Ddr.c593 hp->h_err = NULL; in dr_ioctl()
658 if (hp->h_err != NULL) in dr_ioctl()
1000 if (hp->h_err == NULL) in dr_copyout_errs()
1003 if (hp->h_err->e_code) { in dr_copyout_errs()
1005 f, hp->h_err->e_code, hp->h_err->e_rsc); in dr_copyout_errs()
1014 serr32p->e_code = hp->h_err->e_code; in dr_copyout_errs()
1015 bcopy(&hp->h_err->e_rsc[0], &serr32p->e_rsc[0], in dr_copyout_errs()
1027 if (ddi_copyout((void *)hp->h_err, in dr_copyout_errs()
1035 sbd_err_clear(&hp->h_err); in dr_copyout_errs()
1061 hp->h_err = drmach_pre_op(cmd, bp->b_id, &hp->h_opts, &devset); in dr_pre_op()
[all …]
H A Ddr_quiesce.c649 handle->h_err = drerr_int(ESBD_UTHREAD, srh->sr_err_ints, in dr_stop_user_threads()
753 (srh->sr_dr_handlep)->h_err = drerr_int(ESBD_RESUME, in dr_resume()
824 handle->h_err = drerr_int(ESBD_UNSAFE, dev_errs, in dr_suspend()
862 (srh->sr_dr_handlep)->h_err = drerr_int(ESBD_SUSPEND, in dr_suspend()
896 if ((hp->h_err) && ((psmerr = hp->h_err->e_code) != 0)) { in dr_pt_test_suspend()
901 DR_GET_E_RSC(hp->h_err)); in dr_pt_test_suspend()
914 psmerr = hp->h_err ? hp->h_err->e_code : ESBD_NOERROR; in dr_pt_test_suspend()
918 DR_GET_E_RSC(hp->h_err)); in dr_pt_test_suspend()
923 DR_GET_E_RSC(hp->h_err)); in dr_pt_test_suspend()
928 DR_GET_E_RSC(hp->h_err)); in dr_pt_test_suspend()
[all …]
H A Ddr_io.c170 hp->h_err = NULL; in dr_check_io_refs()
199 if ((hp->h_err = drmach_io_pre_release( in dr_pre_release_io()
382 hp->h_err = NULL; in dr_io_status()
/illumos-gate/usr/src/uts/sun4u/io/
H A Dsbd_cpu.c369 SBD_GET_PERR(hdp->h_err, SBD_HD2ERR(hp)); in sbd_pre_release_cpu()
383 SBD_GET_PERR(hdp->h_err, SBD_HD2ERR(hp)); in sbd_pre_release_cpu()
417 SBD_GET_PERR(hdp->h_err, ep); in sbd_pre_release_cpu()
449 hp->h_err, EIO, in sbd_pre_release_cpu()
487 SBD_GET_PERR(hdp->h_err, SBD_HD2ERR(hp)); in sbd_pre_attach_cpu()
500 SBD_GET_PERR(hdp->h_err, SBD_HD2ERR(hp)); in sbd_pre_attach_cpu()
558 SBD_GET_PERR(hdp->h_err, ep); in sbd_post_attach_cpu()
622 SBD_GET_PERR(hdp->h_err, in sbd_post_attach_cpu()
673 SBD_GET_PERR(hdp->h_err, SBD_HD2ERR(hp)); in sbd_pre_detach_cpu()
701 SBD_GET_PERR(hdp->h_err, SBD_HD2ERR(hp)); in sbd_pre_detach_cpu()
[all …]
H A Dsbd.c772 SBD_GET_PERR(hdp->h_err, 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()
1129 SBD_GET_PERR(hdp->h_err, ep); in sbd_attach_cpu()
1196 spe = hdp->h_err; in sbd_detach_cpu()
1455 hp->h_err = ep; in sbd_get_handle()
1544 hdp->h_err = kmem_zalloc(sizeof (sbd_error_t), KM_SLEEP); in sbd_get_sbdp_handle()
1570 kmem_free(hdp->h_err, sizeof (sbd_error_t)); in sbd_release_sbdp_handle()
1577 if ((hdp != NULL) && (hdp->h_err != NULL)) { in sbd_reset_error_sbdph()
[all …]
H A Dsbd_mem.c114 SBD_GET_PERR(hdp->h_err, ep); in sbd_get_memlist()
165 SBD_GET_PERR(hdp->h_err, ep); in sbd_pre_attach_mem()
202 SBD_GET_PERR(hdp->h_err, ep); in sbd_pre_attach_mem()
228 SBD_GET_PERR(hdp->h_err, ep); in sbd_pre_attach_mem()
289 SBD_GET_PERR(hdp->h_err, ep); in sbd_post_attach_mem()
391 SBD_GET_PERR(hdp->h_err, ep); in sbd_pre_detach_mem()
449 SBD_GET_PERR(hdp->h_err, ep); in sbd_post_detach_mem()
558 SBD_GET_PERR(hdp->h_err, ep); in sbd_post_detach_mem_unit()
1445 SBD_GET_PERR(hdp->h_err, ep); in sbd_init_mem_unit_data()
1468 SBD_GET_PERR(hdp->h_err, ep); in sbd_init_mem_unit_data()
[all …]
H A Dsbd_io.c243 SBD_GET_PERR(hdp->h_err, SBD_HD2ERR(hp)); in sbd_io_status()
/illumos-gate/usr/src/uts/sun4u/serengeti/io/
H A Dsbdp.c429 hp->h_err = kmem_zalloc(sizeof (*hp->h_err), KM_SLEEP); in sbdp_update_bd_info()
449 kmem_free(hp->h_err, sizeof (*hp->h_err)); in sbdp_update_bd_info()
837 sbdp_set_err(hp->h_err, ESBD_FAULT, NULL); in sbdp_ioctl()
852 sbdp_set_err(hp->h_err, ESBD_INVAL, NULL); in sbdp_ioctl()
857 sbdp_set_err(hp->h_err, rv, NULL); in sbdp_ioctl()
H A Dsbdp_mbox.c126 sbd_error_t *sep = hp->h_err; in sbdp_get_board_status()
262 sep = hp->h_err; in sbdp_assign_board()
313 sep = hp->h_err; in sbdp_unassign_board()
408 sep = hp->h_err; in sbdp_connect_board()
506 sep = hp->h_err; in sbdp_disconnect_board()
587 sep = hp->h_err; in sbdp_poweroff_board()
642 sep = hp->h_err; in sbdp_poweron_board()
746 sep = hp->h_err; in sbdp_test_board()
H A Dsbdp_mem.c213 sbdp_set_err(hp->h_err, ESGT_INTERNAL, NULL); in sbdp_get_memlist()
308 sbdp_set_err(hp->h_err, ESGT_INTERNAL, NULL); in sbdp_move_memory()
319 sbdp_set_err(hp->h_err, ESGT_INTERNAL, NULL); in sbdp_move_memory()
366 sbdp_set_err(hp->h_err, ESGT_INTERNAL, NULL); in sbdp_move_memory()
378 sbdp_set_err(hp->h_err, ESGT_INTERNAL, NULL); in sbdp_move_memory()
398 sbdp_set_err(hp->h_err, ESGT_INTERNAL, NULL); in sbdp_move_memory()
421 sbdp_set_err(hp->h_err, ESGT_INTERNAL, NULL); in sbdp_move_memory()
458 sbdp_set_err(hp->h_err, sep->e_code, sep->e_rsc); in sbdp_move_memory()
510 sbdp_set_err(hp->h_err, sep->e_code, sep->e_rsc); in sbdp_move_memory()
539 sbdp_set_err(hp->h_err, ESBD_MEMFAIL, NULL); in sbdp_move_memory()
[all …]
H A Dsbdp_cpu.c177 sbdp_set_err(hp->h_err, ESGT_STOPCPU, NULL); in sbdp_disconnect_cpu()
195 sep = hp->h_err; in sbdp_connect_cpu()
497 sep = hp->h_err; in sbdp_get_cpuid()
539 sep = hp->h_err; in sbdp_cpu_get_impl()
/illumos-gate/usr/src/uts/sun4u/sys/
H A Dsbd.h51 sbd_error_t *h_err; /* error reporting from lower layer */ member
H A Dsbdpriv.h107 sbderror_t *h_err; member
116 #define SBD_HD2ERR(hd) ((hd)->h_err)
/illumos-gate/usr/src/uts/sun4u/ngdr/sys/
H A Ddr.h81 drerr_set_c(CE_WARN, &(hp)->h_err, \
269 sbd_error_t *h_err; member
/illumos-gate/usr/src/uts/i86pc/sys/
H A Ddr.h63 drerr_set_c(CE_WARN, &(hp)->h_err, \
299 sbd_error_t *h_err; member
/illumos-gate/usr/src/uts/sun4u/opl/io/
H A Ddr_mem.c518 s_mp->sbm_cm.sbdev_error = hp->h_err; in dr_move_memory()
519 hp->h_err = NULL; in dr_move_memory()