Home
last modified time | relevance | path

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

/titanic_44/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.c648 handle->h_err = drerr_int(ESBD_UTHREAD, srh->sr_err_ints, in dr_stop_user_threads()
783 (srh->sr_dr_handlep)->h_err = drerr_int(ESBD_RESUME, in dr_resume()
865 handle->h_err = drerr_int(ESBD_UNSAFE, dev_errs, in dr_suspend()
903 (srh->sr_dr_handlep)->h_err = drerr_int(ESBD_SUSPEND, in dr_suspend()
957 if ((hp->h_err) && ((psmerr = hp->h_err->e_code) != 0)) { in dr_pt_test_suspend()
962 DR_GET_E_RSC(hp->h_err)); in dr_pt_test_suspend()
975 psmerr = hp->h_err ? hp->h_err->e_code : ESBD_NOERROR; in dr_pt_test_suspend()
979 DR_GET_E_RSC(hp->h_err)); in dr_pt_test_suspend()
984 DR_GET_E_RSC(hp->h_err)); in dr_pt_test_suspend()
989 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.c493 s_mp->sbm_cm.sbdev_error = hp->h_err; in dr_move_memory()
494 hp->h_err = NULL; in dr_move_memory()
/titanic_44/usr/src/uts/i86pc/io/dr/
H A Ddr_quiesce.c647 handle->h_err = drerr_int(ESBD_UTHREAD, srh->sr_err_ints, in dr_stop_user_threads()
751 (srh->sr_dr_handlep)->h_err = drerr_int(ESBD_RESUME, in dr_resume()
822 handle->h_err = drerr_int(ESBD_UNSAFE, dev_errs, in dr_suspend()
860 (srh->sr_dr_handlep)->h_err = drerr_int(ESBD_SUSPEND, in dr_suspend()
894 if ((hp->h_err) && ((psmerr = hp->h_err->e_code) != 0)) { in dr_pt_test_suspend()
899 DR_GET_E_RSC(hp->h_err)); in dr_pt_test_suspend()
912 psmerr = hp->h_err ? hp->h_err->e_code : ESBD_NOERROR; in dr_pt_test_suspend()
916 DR_GET_E_RSC(hp->h_err)); in dr_pt_test_suspend()
921 DR_GET_E_RSC(hp->h_err)); in dr_pt_test_suspend()
926 DR_GET_E_RSC(hp->h_err)); in dr_pt_test_suspend()
[all …]
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_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()
/titanic_44/usr/src/uts/sun4u/io/
H A Dsbd_cpu.c367 SBD_GET_PERR(hdp->h_err, SBD_HD2ERR(hp)); in sbd_pre_release_cpu()
381 SBD_GET_PERR(hdp->h_err, SBD_HD2ERR(hp)); in sbd_pre_release_cpu()
415 SBD_GET_PERR(hdp->h_err, ep); in sbd_pre_release_cpu()
447 hp->h_err, EIO, in sbd_pre_release_cpu()
485 SBD_GET_PERR(hdp->h_err, SBD_HD2ERR(hp)); in sbd_pre_attach_cpu()
498 SBD_GET_PERR(hdp->h_err, SBD_HD2ERR(hp)); in sbd_pre_attach_cpu()
559 SBD_GET_PERR(hdp->h_err, ep); in sbd_post_attach_cpu()
623 SBD_GET_PERR(hdp->h_err, in sbd_post_attach_cpu()
674 SBD_GET_PERR(hdp->h_err, SBD_HD2ERR(hp)); in sbd_pre_detach_cpu()
702 SBD_GET_PERR(hdp->h_err, SBD_HD2ERR(hp)); in sbd_pre_detach_cpu()
[all …]
H A Dsbd.c771 SBD_GET_PERR(hdp->h_err, SBD_HD2ERR(hp)); in sbd_exec_op()
884 SBD_GET_PERR(hdp->h_err, SBD_HD2ERR(hp)); in sbd_dev_configure()
961 SBD_GET_PERR(hdp->h_err, SBD_HD2ERR(hp)); in sbd_dev_release()
1039 SBD_GET_PERR(hdp->h_err, SBD_HD2ERR(hp)); in sbd_dev_unconfigure()
1131 SBD_GET_PERR(hdp->h_err, ep); in sbd_attach_cpu()
1199 spe = hdp->h_err; in sbd_detach_cpu()
1461 hp->h_err = ep; in sbd_get_handle()
1551 hdp->h_err = kmem_zalloc(sizeof (sbd_error_t), KM_SLEEP); in sbd_get_sbdp_handle()
1577 kmem_free(hdp->h_err, sizeof (sbd_error_t)); in sbd_release_sbdp_handle()
1584 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()
/titanic_44/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.c176 sbdp_set_err(hp->h_err, ESGT_STOPCPU, NULL); in sbdp_disconnect_cpu()
194 sep = hp->h_err; in sbdp_connect_cpu()
496 sep = hp->h_err; in sbdp_get_cpuid()
538 sep = hp->h_err; in sbdp_cpu_get_impl()
/titanic_44/usr/src/uts/sun4u/sys/
H A Dsbd.h51 sbd_error_t *h_err; /* error reporting from lower layer */ member
H A Dsbdpriv.h109 sbderror_t *h_err; member
118 #define SBD_HD2ERR(hd) ((hd)->h_err)
/titanic_44/usr/src/uts/sun4u/ngdr/sys/
H A Ddr.h77 drerr_set_c(CE_WARN, &(hp)->h_err, \
265 sbd_error_t *h_err; member
/titanic_44/usr/src/uts/i86pc/sys/
H A Ddr.h59 drerr_set_c(CE_WARN, &(hp)->h_err, \
295 sbd_error_t *h_err; member
/titanic_44/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()