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()
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 Ddr_quiesce.c785 (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 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_quiesce.c753 (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 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()
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 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()
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 Dsbd.c1129 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 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()
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 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()
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 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()