/illumos-gate/usr/src/uts/common/io/comstar/stmf/ |
H A D | stmf.c | 338 if (stmf_dlun_fini() != STMF_SUCCESS) in _fini() 340 if (stmf_worker_fini() != STMF_SUCCESS) { in _fini() 344 if (stmf_svc_fini() != STMF_SUCCESS) { in _fini() 846 else if (ctl_ret != STMF_SUCCESS) in stmf_ioctl() 918 else if (ctl_ret != STMF_SUCCESS) in stmf_ioctl() 1602 return (STMF_SUCCESS); in stmf_ic_lu_reg() 1606 return (STMF_SUCCESS); in stmf_ic_lu_reg() 1625 return (STMF_SUCCESS); in stmf_ic_lu_dereg() 1629 return (STMF_SUCCESS); in stmf_ic_lu_dereg() 1727 return (STMF_SUCCESS); in stmf_msg_rx() [all …]
|
H A D | lun_map.c | 237 return (STMF_SUCCESS); in stmf_session_create_lun_map() 383 ASSERT(ret == STMF_SUCCESS); in stmf_add_lu_to_session() 393 return (STMF_SUCCESS); in stmf_add_lu_to_session() 421 ASSERT(ret == STMF_SUCCESS); in stmf_remove_lu_from_session() 804 return (STMF_SUCCESS); in stmf_add_hg() 830 return (STMF_SUCCESS); in stmf_add_tg() 883 return (STMF_SUCCESS); in stmf_add_ve_to_luid() 984 if ((ret = stmf_add_ve_to_luid(luid, ve)) != STMF_SUCCESS) { in stmf_add_view_entry() 1017 ASSERT(ret == STMF_SUCCESS); in stmf_add_view_entry() 1025 return (STMF_SUCCESS); in stmf_add_view_entry() [all …]
|
/illumos-gate/usr/src/uts/common/io/comstar/port/pppt/ |
H A D | pppt.c | 469 if (stmf_register_port_provider(pp) != STMF_SUCCESS) { in pppt_enable_svc() 663 return (STMF_SUCCESS); in pppt_lport_xfer_data() 688 return (STMF_SUCCESS); in pppt_lport_xfer_data() 713 dbuf->db_xfer_status = (status == STMF_SUCCESS) ? in pppt_xfer_read_complete() 714 STMF_SUCCESS : STMF_FAILURE; in pppt_xfer_read_complete() 723 (status == STMF_SUCCESS)) { in pppt_xfer_read_complete() 742 != STMF_SUCCESS) { in pppt_xfer_read_complete() 767 return (STMF_SUCCESS); in pppt_lport_send_status() 792 STMF_SUCCESS, STMF_IOF_LPORT_DONE); in pppt_lport_send_status() 793 return (STMF_SUCCESS); in pppt_lport_send_status() [all …]
|
H A D | pppt_tgt.c | 192 if (stmf_register_local_port(lport) != STMF_SUCCESS) { in pppt_tgt_create() 409 scs.st_completion_status = STMF_SUCCESS; in tgt_sm_created() 785 scs.st_completion_status = STMF_SUCCESS; in pppt_tgt_offline_task() 830 scs.st_completion_status = STMF_SUCCESS; in tgt_sm_new_state() 885 if (stmfrc == STMF_SUCCESS) { in tgt_sm_new_state()
|
H A D | pppt_msg.c | 150 stmf_status = STMF_SUCCESS; in pppt_msg_tgt_register() 196 stmf_status = STMF_SUCCESS; in pppt_msg_tgt_deregister()
|
/illumos-gate/usr/src/uts/common/io/comstar/lu/stmf_sbd/ |
H A D | sbd_scsi.c | 173 dbuf->db_sglist[ndx].seg_addr) != STMF_SUCCESS) { in sbd_do_read_xfer() 177 dbuf->db_xfer_status = STMF_SUCCESS; in sbd_do_read_xfer() 394 if (xstat != STMF_SUCCESS) { in sbd_do_sgl_read_xfer() 435 case STMF_SUCCESS: in sbd_do_sgl_read_xfer() 483 if (dbuf->db_xfer_status != STMF_SUCCESS) { in sbd_handle_read_xfer_completion() 567 (xfer_status != STMF_SUCCESS)); in sbd_handle_sgl_read_xfer_completion() 622 ASSERT(xfer_status != STMF_SUCCESS); in sbd_handle_sgl_read_xfer_completion() 664 (xfer_status != STMF_SUCCESS)); in sbd_handle_sgl_write_xfer_completion() 754 ASSERT(xfer_status != STMF_SUCCESS); in sbd_handle_sgl_write_xfer_completion() 855 return (STMF_SUCCESS); in sbd_copy_rdwr() [all …]
|
H A D | ats_copy_mgr.c | 323 if (dbuf->db_xfer_status != STMF_SUCCESS) { in sbd_handle_ats_xfer_completion() 509 if (stmf_task_poll_lu(task, 10) != STMF_SUCCESS) { in sbd_handle_ats() 580 dbuf->db_xfer_status = STMF_SUCCESS; in sbd_handle_ats()
|
H A D | sbd.c | 195 if (stmf_register_lu_provider(sbd_lp) != STMF_SUCCESS) { in _init() 241 if (sst->sst_deregister_lu(sst) != STMF_SUCCESS) in _fini() 247 if (stmf_deregister_lu_provider(sbd_lp) != STMF_SUCCESS) in _fini() 1459 if (ret != STMF_SUCCESS) { in sbd_populate_and_register_lu() 1486 if ((ret = stmf_register_lu(lu)) != STMF_SUCCESS) { in sbd_populate_and_register_lu() 1708 if (stret != STMF_SUCCESS) { in sbd_set_lu_standby() 2008 STMF_SUCCESS) { in sbd_create_register_lu() 2097 stmf_status_t stret = STMF_SUCCESS; in sbd_proxy_reg_lu() 2174 return (STMF_SUCCESS); in sbd_proxy_dereg_lu() 2627 if (stret != STMF_SUCCESS) { in sbd_import_lu() [all …]
|
H A D | stmf_sbd.h | 48 #define SBD_SUCCESS STMF_SUCCESS
|
/illumos-gate/usr/src/uts/common/io/comstar/port/srpt/ |
H A D | srpt_stp.c | 376 if (status == STMF_SUCCESS) { in srpt_stp_alloc_port() 444 return (STMF_SUCCESS); in srpt_stp_free_port() 476 cstatus.st_completion_status = STMF_SUCCESS; in srpt_stp_destroy_port() 505 if (status == STMF_SUCCESS) { in srpt_stp_destroy_port() 653 return (STMF_SUCCESS); in srpt_stp_xfer_data() 698 return (STMF_SUCCESS); in srpt_stp_xfer_data() 933 return (STMF_SUCCESS); in srpt_stp_send_status() 1059 cstatus.st_completion_status = STMF_SUCCESS; in srpt_stp_ctl() 1107 if (status != STMF_SUCCESS) { in srpt_stp_ctl() 1143 if (status != STMF_SUCCESS) { in srpt_stp_ctl() [all …]
|
H A D | srpt_ioc.c | 383 stmf_status_t stmf_status = STMF_SUCCESS; in srpt_ioc_detach_hca() 396 if (stmf_status == STMF_SUCCESS) { in srpt_ioc_detach_hca() 404 if (stmf_status != STMF_SUCCESS) { in srpt_ioc_detach_hca() 781 cstatus.st_completion_status = STMF_SUCCESS; in srpt_ioc_port_active() 793 if (ret == STMF_SUCCESS) { in srpt_ioc_port_active() 868 cstatus.st_completion_status = STMF_SUCCESS; in srpt_ioc_port_down() 880 if (ret == STMF_SUCCESS) { in srpt_ioc_port_down()
|
H A D | srpt_mod.c | 321 if (status != STMF_SUCCESS) { in srpt_enable_srp_services() 431 if (stmf_status == STMF_SUCCESS) { in srpt_disable_srp_services()
|
H A D | srpt_ch.c | 460 stmf_status_t st = STMF_SUCCESS; in srpt_ch_rsp_comp() 580 stmf_dbuf->db_xfer_status = STMF_SUCCESS; in srpt_ch_data_comp() 591 if (status == STMF_SUCCESS) { in srpt_ch_data_comp()
|
/illumos-gate/usr/src/uts/common/io/comstar/port/iscsit/ |
H A D | iscsit.c | 744 if (stmf_register_port_provider(pp) != STMF_SUCCESS) { in iscsit_enable_svc() 1541 return (STMF_SUCCESS); in iscsit_xfer_scsi_data() 1635 != STMF_SUCCESS) { in iscsit_buf_xfer_cb() 1659 return (STMF_SUCCESS); in iscsit_send_scsi_status() 1675 (task->task_completion_status == STMF_SUCCESS) ? in iscsit_send_scsi_status() 1677 stmf_send_status_done(task, STMF_SUCCESS, in iscsit_send_scsi_status() 1679 return (STMF_SUCCESS); in iscsit_send_scsi_status() 1692 (task->task_completion_status == STMF_SUCCESS) && in iscsit_send_scsi_status() 1716 return (STMF_SUCCESS); in iscsit_send_scsi_status() 1775 return (STMF_SUCCESS); in iscsit_send_scsi_status() [all …]
|
H A D | iscsit_tgt.c | 291 scs.st_completion_status = STMF_SUCCESS; in tgt_sm_created() 678 scs.st_completion_status = STMF_SUCCESS; in tgt_sm_new_state() 739 if (stmfrc == STMF_SUCCESS) { in tgt_sm_new_state() 934 if (stmf_register_local_port(lport) != STMF_SUCCESS) { in iscsit_tgt_create() 1462 scs.st_completion_status = STMF_SUCCESS; in iscsit_tgt_offline_cb()
|
H A D | iscsit_login.c | 1830 STMF_SUCCESS) { in login_sm_session_register()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | stmf_defines.h | 68 #define STMF_SUCCESS ((uint64_t)0) macro
|
H A D | fct_defines.h | 36 #define FCT_SUCCESS STMF_SUCCESS
|
/illumos-gate/usr/src/uts/common/io/comstar/port/fct/ |
H A D | fct.c | 673 if (ret != STMF_SUCCESS) { in fct_get_port_stats() 727 if (ret == STMF_SUCCESS) { in fct_get_link_status() 2161 stmf_status_t ret = STMF_SUCCESS; in fct_scsi_abort() 2209 st.st_completion_status = STMF_SUCCESS; in fct_ctl() 2222 if (st.st_completion_status != STMF_SUCCESS) { in fct_ctl() 2252 if (st.st_completion_status != STMF_SUCCESS) { in fct_ctl() 3202 st.st_completion_status = STMF_SUCCESS; in fct_handle_port_offline() 3605 if (ret != STMF_SUCCESS) { in fct_update_stats()
|
H A D | discovery.c | 1657 STMF_SUCCESS) { in fct_process_prli()
|
/illumos-gate/usr/src/uts/common/io/comstar/port/fcoet/ |
H A D | fcoet_fc.c | 549 if (st.st_completion_status != STMF_SUCCESS) { in fcoet_ctl() 571 if (st.st_completion_status != STMF_SUCCESS) { in fcoet_ctl()
|
H A D | fcoet.c | 192 if (stmf_register_port_provider(fcoet_pp) != STMF_SUCCESS) { in _init()
|
/illumos-gate/usr/src/uts/common/io/comstar/port/qlt/ |
H A D | qlt_dma.c | 766 return (STMF_SUCCESS); in qlt_dma_setup_dbuf()
|
H A D | qlt.c | 328 if (stmf_register_port_provider(qlt_pp) != STMF_SUCCESS) { in _init() 3053 if (st.st_completion_status != STMF_SUCCESS) { in qlt_ctl() 3081 if (st.st_completion_status != STMF_SUCCESS) { in qlt_ctl() 5573 return (STMF_SUCCESS); in qlt_xfer_scsi_data() 5659 return (STMF_SUCCESS); in qlt_send_status() 5823 return (STMF_SUCCESS); in qlt_send_status()
|
/illumos-gate/usr/src/uts/common/io/idm/ |
H A D | idm.c | 1534 stmf_status_t s = STMF_SUCCESS; in idm_task_abort() 1600 stmf_status_t s = STMF_SUCCESS; in idm_task_abort_one()
|