/illumos-gate/usr/src/uts/sun4u/ngdr/io/ |
H A D | dr.c | 595 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() 1064 if (hp->h_err != NULL) { in dr_pre_op() 1192 if (hp->h_err == NULL) in dr_exec_op() 1364 if (hp->h_err) in dr_connect() 1368 if (hp->h_err) in dr_connect() 1468 if (hp->h_err) { in dr_disconnect() [all …]
|
H A D | dr_quiesce.c | 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() 996 DR_GET_E_RSC(hp->h_err)); in dr_pt_test_suspend() [all …]
|
H A D | dr_io.c | 192 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 D | dr_mem.c | 497 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 D | dr_quiesce.c | 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() 933 DR_GET_E_RSC(hp->h_err)); in dr_pt_test_suspend() [all …]
|
H A D | dr.c | 593 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() 1005 f, hp->h_err->e_code, hp->h_err->e_rsc); in dr_copyout_errs() 1130 hp->h_err = err; in dr_post_op() 1133 hp->h_err = err; in dr_post_op() 1182 if (hp->h_err == NULL) in dr_exec_op() 1353 if (hp->h_err) in dr_connect() 1357 if (hp->h_err) in dr_connect() 1405 if (hp->h_err && hp->h_err->e_code == EX86_WALK_DEPENDENCY) { in dr_disconnect() [all …]
|
H A D | dr_io.c | 170 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 D | sbd_cpu.c | 369 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() 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() 781 SBD_GET_PERR(hdp->h_err, ep); in sbd_post_detach_cpu() 797 SBD_GET_PERR(hdp->h_err, in sbd_post_detach_cpu() 880 hp->h_err, EIO, in sbd_cancel_cpu() 900 hp->h_err, EIO, in sbd_cancel_cpu() [all …]
|
H A D | sbd.c | 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() 2027 SBD_GET_PERR(hdp->h_err, ep); in sbd_probe_board() 2063 SBD_GET_PERR(hdp->h_err, ep); in sbd_deprobe_board() 2689 SBD_GET_PERR(hdp->h_err, ep); in sbd_test_board() 2713 SBD_GET_PERR(hdp->h_err, ep); in sbd_assign_board() 2737 SBD_GET_PERR(hdp->h_err, ep); in sbd_unassign_board() 2761 SBD_GET_PERR(hdp->h_err, ep); in sbd_poweron_board() 2785 SBD_GET_PERR(hdp->h_err, ep); in sbd_poweroff_board() [all …]
|
H A D | sbd_mem.c | 114 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() 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() 1641 SBD_GET_PERR(hdp->h_err, ep); in sbd_select_mem_target() [all …]
|
H A D | sbd_io.c | 243 SBD_GET_PERR(hdp->h_err, SBD_HD2ERR(hp)); in sbd_io_status()
|
/illumos-gate/usr/src/uts/sun4u/serengeti/io/ |
H A D | sbdp.c | 429 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 D | sbdp_mbox.c | 126 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 D | sbdp_mem.c | 213 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() 539 sbdp_set_err(hp->h_err, ESBD_MEMFAIL, NULL); in sbdp_move_memory() 544 sbdp_set_err(hp->h_err, ESGT_INTERNAL, NULL); in sbdp_move_memory() 1313 sbdp_set_err(hp->h_err, ESGT_INTERNAL, NULL); in sbdphw_get_base_physaddr() [all …]
|
H A D | sbdp_cpu.c | 177 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 D | sbd.h | 51 sbd_error_t *h_err; /* error reporting from lower layer */ member
|
H A D | sbdpriv.h | 107 sbderror_t *h_err; member 116 #define SBD_HD2ERR(hd) ((hd)->h_err)
|
/illumos-gate/usr/src/uts/sun4u/ngdr/sys/ |
H A D | dr.h | 81 drerr_set_c(CE_WARN, &(hp)->h_err, \ 269 sbd_error_t *h_err; member
|
/illumos-gate/usr/src/uts/i86pc/sys/ |
H A D | dr.h | 63 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 D | dr_mem.c | 518 s_mp->sbm_cm.sbdev_error = hp->h_err; in dr_move_memory() 519 hp->h_err = NULL; in dr_move_memory()
|