Home
last modified time | relevance | path

Searched refs:FC_SUCCESS (Results 1 – 25 of 27) sorted by relevance

12

/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_diag.c138 uint32_t rval = FC_SUCCESS; in emlxs_diag_echo_run()
225 if ((rval = emlxs_pkt_send(pkt, 1)) != FC_SUCCESS) { in emlxs_diag_echo_run()
261 rval = FC_SUCCESS; in emlxs_diag_echo_run()
276 if (rval == FC_SUCCESS) { in emlxs_diag_echo_run()
304 int32_t rval = FC_SUCCESS; in emlxs_diag_biu_run()
389 rval = FC_SUCCESS; in emlxs_diag_biu_run()
434 uint32_t rval = FC_SUCCESS; in emlxs_diag_post_run()
462 rval = FC_SUCCESS; in emlxs_diag_post_run()
H A Demlxs_solaris.c1776 port_info->pi_rnid_params.status = FC_SUCCESS; in emlxs_fca_bind_port()
2182 return (FC_SUCCESS); in emlxs_fca_pkt_init()
2273 return (FC_SUCCESS); in emlxs_fca_pkt_uninit()
2415 return (FC_SUCCESS); in emlxs_fca_notify()
2467 return (FC_SUCCESS); in emlxs_fca_get_map()
2606 if (rval != FC_SUCCESS) { in emlxs_fca_transport()
2623 return (FC_SUCCESS); in emlxs_fca_transport()
2833 return (FC_SUCCESS); in emlxs_fca_ub_alloc()
3032 return (FC_SUCCESS); in emlxs_fca_ub_alloc()
3154 return (FC_SUCCESS); in emlxs_fca_ub_release()
[all …]
H A Demlxs_pkt.c58 if (rval != FC_SUCCESS) { in emlxs_pkt_thread()
91 rval = FC_SUCCESS; in emlxs_pkt_send()
H A Demlxs_download.c268 if (emlxs_offline(hba, 0) != FC_SUCCESS) { in emlxs_fw_download()
278 if (EMLXS_SLI_HBA_RESET(hba, 1, 1, 0) != FC_SUCCESS) { in emlxs_fw_download()
1711 if (emlxs_offline(hba, 0) != FC_SUCCESS) { in emlxs_be_fw_download()
2073 if (emlxs_offline(hba, 0) != FC_SUCCESS) { in emlxs_obj_fw_download()
2212 if (emlxs_offline(hba, 0) != FC_SUCCESS) { in emlxs_cfl_download()
2221 if (EMLXS_SLI_HBA_RESET(hba, 1, 1, 0) != FC_SUCCESS) { in emlxs_cfl_download()
5084 if (emlxs_offline(hba, 0) != FC_SUCCESS) { in emlxs_start_abs_download_2mb()
5088 if (EMLXS_SLI_HBA_RESET(hba, 1, 1, 0) != FC_SUCCESS) { in emlxs_start_abs_download_2mb()
5738 return (FC_SUCCESS); in emlxs_boot_code_disable()
5759 return ((boot_state == 0) ? FC_SUCCESS : FC_FAILURE); in emlxs_boot_code_disable()
[all …]
H A Demlxs_els.c1962 == FC_SUCCESS) { in emlxs_handle_unsol_logo()
2185 if (emlxs_pkt_send(pkt, 1) != FC_SUCCESS) { in emlxs_handle_unsol_echo()
2266 if (emlxs_pkt_send(pkt, 1) != FC_SUCCESS) { in emlxs_handle_unsol_rtv()
2326 if ((rval = emlxs_pkt_send(pkt, 1)) != FC_SUCCESS) { in emlxs_rls_rsp_thread()
2740 if (emlxs_pkt_send(pkt, 1) != FC_SUCCESS) { in emlxs_els_reply()
2813 return (FC_SUCCESS); in emlxs_generate_rscn()
3397 if (emlxs_pkt_send(pkt, 0) != FC_SUCCESS) { in emlxs_send_rsnn()
3456 if ((rval = emlxs_pkt_send(pkt, 1)) != FC_SUCCESS) { in emlxs_ub_send_login_acc()
3515 if (emlxs_pkt_send(pkt, 1) != FC_SUCCESS) { in emlxs_send_logo()
H A Demlxs_dfc.c887 if (rval != FC_SUCCESS) { in emlxs_fcio_diag()
1053 if (rval != FC_SUCCESS) { in emlxs_fcio_reset_link()
1084 if (rval != FC_SUCCESS) { in emlxs_fcio_reset_hard()
1117 if ((rval != FC_SUCCESS) && (rval != EMLXS_REBOOT_REQUIRED)) { in emlxs_fcio_download_fw()
1150 if (rval != FC_SUCCESS) { in emlxs_fcio_get_fw_rev()
1183 if (rval != FC_SUCCESS) { in emlxs_fcio_get_fcode_rev()
1216 if (rval != FC_SUCCESS) { in emlxs_fcio_download_fcode()
1700 if (rval != FC_SUCCESS) { in emlxs_fcio_get_node_id()
1733 if (rval != FC_SUCCESS) { in emlxs_fcio_set_node_id()
2107 if (rval != FC_SUCCESS) { in emlxs_fcio_get_link_status()
[all …]
H A Demlxs_fct.c1589 *((fct_status_t *)arg) = (rval == FC_SUCCESS) ? FCT_SUCCESS: in emlxs_fct_ctl()
1886 if (emlxs_pkt_send(pkt, 1) != FC_SUCCESS) { in emlxs_fct_flogi_xchg()
2757 if (emlxs_pkt_send(pkt, 1) != FC_SUCCESS) { in emlxs_fct_send_fcp_status()
2846 if (emlxs_pkt_send(pkt, 1) != FC_SUCCESS) { in emlxs_fct_send_qfull_reply()
3147 if (emlxs_pkt_send(pkt, 1) != FC_SUCCESS) { in emlxs_fct_handle_abort()
4101 if (emlxs_pkt_send(pkt, 1) != FC_SUCCESS) { in emlxs_fct_send_els_cmd()
4193 if (emlxs_pkt_send(pkt, 1) != FC_SUCCESS) { in emlxs_fct_send_els_rsp()
4279 if (emlxs_pkt_send(pkt, 1) != FC_SUCCESS) { in emlxs_fct_send_ct_cmd()
4729 if (emlxs_pkt_send(pkt, 1) != FC_SUCCESS) { in emlxs_fct_abort()
H A Demlxs_dhchap.c1269 if (ret != FC_SUCCESS) { in emlxs_issue_dhchap_success()
1401 if (emlxs_pkt_send(pkt, 1) != FC_SUCCESS) { in emlxs_issue_auth_reject()
1848 if (emlxs_pkt_send(pkt, 1) != FC_SUCCESS) { in emlxs_issue_auth_negotiate()
2472 if (emlxs_pkt_send(pkt, 1) != FC_SUCCESS) { in emlxs_issue_dhchap_challenge()
2689 if (emlxs_pkt_send(pkt, 1) != FC_SUCCESS) { in emlxs_issue_dhchap_reply()
7130 (fc_unsol_buf_t *)deferred_ubp) != FC_SUCCESS) { in emlxs_dhc_auth_start()
H A Demlxs_sli3.c777 if ((rc != FC_SUCCESS) && in emlxs_sli3_online()
3864 return (FC_SUCCESS); in emlxs_sli3_prep_fcp_iocb()
3969 return (FC_SUCCESS); in emlxs_sli3_prep_ip_iocb()
4067 return (FC_SUCCESS); in emlxs_sli3_prep_els_iocb()
4165 return (FC_SUCCESS); in emlxs_sli3_prep_ct_iocb()
H A Demlxs_hba.c2311 if (emlxs_reset(port, FC_FCA_RESET) != FC_SUCCESS) { in emlxs_restart_thread()
/illumos-gate/usr/src/uts/common/io/fibre-channel/impl/
H A Dfp.c131 { FC_PKT_SUCCESS, FC_SUCCESS },
430 &modlinkage) != FC_SUCCESS) { in fp_detach()
460 &modlinkage) != FC_SUCCESS) { in fp_detach()
1116 FC_SUCCESS || ub_count != port->fp_ub_count) { in fp_attach_handler()
1590 port->fp_ub_tokens) != FC_SUCCESS) { in fp_detach_handler()
1775 &modlinkage) != FC_SUCCESS) { in fp_power_down()
2010 if (fc_ulp_init_packet((opaque_t)port, pkt, kmflags) != FC_SUCCESS) { in fp_alloc_pkt()
2369 job->job_result = FC_SUCCESS; in fp_job_handler()
2419 job->job_result = FC_SUCCESS; in fp_job_handler()
2446 if (rval != FC_SUCCESS) { in fp_job_handler()
[all …]
H A Dfctl.c209 { FC_SUCCESS, "Operation success" },
728 return (FC_SUCCESS); in fc_ulp_add()
803 return (FC_SUCCESS); in fc_ulp_remove()
858 if ((rval == FC_SUCCESS) && (pd != NULL)) { in fc_ulp_init_packet()
896 if ((rval == FC_SUCCESS) && (pd != NULL)) { in fc_ulp_uninit_packet()
1035 return (FC_SUCCESS); in fc_ulp_getportmap()
1042 int rval = FC_SUCCESS; in fc_ulp_login()
1167 *error = FC_SUCCESS; in fc_ulp_get_remote_port()
1203 job->job_result = FC_SUCCESS; in fc_ulp_get_remote_port()
1209 if (job->job_result != FC_SUCCESS) { in fc_ulp_get_remote_port()
[all …]
/illumos-gate/usr/src/uts/common/io/fibre-channel/ulp/
H A Dfcsm.c138 { FC_PKT_SUCCESS, FC_SUCCESS },
524 rval = FC_SUCCESS; in fcsm_port_attach()
563 rval = FC_SUCCESS; in fcsm_port_attach()
940 return (FC_SUCCESS); in fcsm_port_detach()
992 rval = FC_SUCCESS; in fcsm_port_detach()
1175 ASSERT(status == FC_SUCCESS); in fcsm_cleanup_port()
1177 ASSERT(job->job_result == FC_SUCCESS); in fcsm_cleanup_port()
1600 if (status != FC_SUCCESS) { in fcsm_fciocmd()
2081 != FC_SUCCESS) { in fcsm_alloc_cmd()
2432 return (FC_SUCCESS); in fcsm_process_job()
[all …]
H A Dfcip.c628 if (rval != FC_SUCCESS) { in _init()
973 if (fcip_port_attach_handler(fptr) != FC_SUCCESS) { in fcip_port_attach()
987 rval = FC_SUCCESS; in fcip_port_attach()
1002 rval = FC_SUCCESS; in fcip_port_attach()
1109 if (fcip_init_port(fptr) != FC_SUCCESS) { in fcip_port_attach_handler()
1141 rval = FC_SUCCESS; in fcip_port_attach_handler()
1163 int rval = FC_SUCCESS; in fcip_handle_resume()
1177 return (FC_SUCCESS); in fcip_handle_resume()
1204 rval = FC_SUCCESS; in fcip_handle_resume()
1643 return (FC_SUCCESS); in fcip_port_detach()
[all …]
H A Dfcp.c1150 if ((rval = fc_ulp_add(&fcp_modinfo)) != FC_SUCCESS) { in _init()
2322 int ret, xport_retval = ~FC_SUCCESS; in fcp_send_scsi_ioctl()
2660 if (fscsi->scsi_fc_status != FC_SUCCESS) { in fcp_send_scsi_ioctl()
2675 if ((ret == 0) && (xport_retval == FC_SUCCESS)) { in fcp_send_scsi_ioctl()
2683 if ((ret == 0) && (xport_retval == FC_SUCCESS)) { in fcp_send_scsi_ioctl()
2686 if (fcp_validate_fcp_response(rsp, pptr) != FC_SUCCESS) { in fcp_send_scsi_ioctl()
3201 &devlist) != FC_SUCCESS) { in fcp_port_create_tgt()
3287 int ret, login_retval = ~FC_SUCCESS; in fcp_tgt_send_plogi()
3359 if (*fc_status != FC_SUCCESS) { in fcp_tgt_send_plogi()
3367 if ((ret == 0) && (login_retval == FC_SUCCESS)) { in fcp_tgt_send_plogi()
[all …]
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/fcoei/
H A Dfcoei_lv.c246 return (FC_SUCCESS); in fcoei_init_pkt()
268 return (FC_SUCCESS); in fcoei_un_init_pkt()
385 return (FC_SUCCESS); in fcoei_ub_alloc()
407 return (FC_SUCCESS); in fcoei_ub_free()
439 return (FC_SUCCESS); in fcoei_ub_release()
478 return (FC_SUCCESS); in fcoei_abort()
499 int rval = FC_SUCCESS; in fcoei_reset()
586 rval = FC_SUCCESS; in fcoei_port_manage()
598 rval = FC_SUCCESS; in fcoei_port_manage()
651 return (FC_SUCCESS); in fcoei_notify()
[all …]
/illumos-gate/usr/src/lib/sun_fc/common/
H A DFCHBANPIVPort.cc141 case FC_SUCCESS: in fp_ioctl()
170 case FC_SUCCESS: in transportError()
H A DTgtFCHBAPort.cc79 case FC_SUCCESS: in transportError()
492 case FC_SUCCESS: in fct_ioctl()
H A DFCHBAPort.cc84 case FC_SUCCESS: in transportError()
1252 case FC_SUCCESS: in fp_ioctl()
/illumos-gate/usr/src/uts/common/sys/fibre-channel/impl/
H A Dfc_error.h49 #define FC_SUCCESS 0x00 /* successful completion */ macro
/illumos-gate/usr/src/uts/sun4/io/efcode/
H A Dfc_subr.c161 fp->error = FC_SUCCESS; in fcode_interpreter()
248 } else if (fp->error != FC_SUCCESS) { in fcode_timer()
H A Dfcode.c338 (fp->error == FC_SUCCESS)) { in fc_close()
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/
H A Dql_ioctl.c239 if (rval != FC_SUCCESS) { in ql_ioctl()
331 return (FC_SUCCESS); in ql_busy_notification()
368 return (FC_SUCCESS); in ql_busy_notification()
389 return (FC_SUCCESS); in ql_idle_notification()
407 return (FC_SUCCESS); in ql_idle_notification()
H A Dql_api.c2749 port_info->pi_rnid_params.status = FC_SUCCESS; in ql_bind_port()
2860 int rval = FC_SUCCESS; in ql_init_pkt()
2947 rval = FC_SUCCESS; in ql_un_init_pkt()
3055 rval = FC_SUCCESS; in ql_els_send()
3117 rval = FC_SUCCESS; in ql_els_send()
3126 rval = FC_SUCCESS; in ql_els_send()
3127 } else if (rval == FC_SUCCESS && in ql_els_send()
3133 if (rval != FC_SUCCESS) { in ql_els_send()
3310 int rval = FC_SUCCESS; in ql_getmap()
3482 if (rval != FC_SUCCESS) { in ql_transport()
[all …]
/illumos-gate/usr/src/uts/sun4/sys/
H A Dfcode.h302 #define FC_SUCCESS 0 /* FCode interpreted successfully */ macro

12