Lines Matching defs:status

92 	int		status, i, num_extra;
134 status = hermon_eq_alloc(state, log_eq_size, i, &eq[i]);
135 if (status != DDI_SUCCESS) {
157 status = hermon_eq_alloc(state, log_eq_size, intr_num,
159 if (status != DDI_SUCCESS) {
192 status = hermon_eq_handler_init(state, eq[num_eq_unmap + num_extra],
194 if (status != DDI_SUCCESS) {
258 status = hermon_eq_handler_init(state, eq[num_eq_unmap + num_extra],
260 if (status != DDI_SUCCESS) {
274 status = hermon_eq_handler_init(state, eq[num_eq_unmap + num_extra],
276 if (status != DDI_SUCCESS) {
313 status = DDI_FAILURE;
316 return (status);
328 int status, i;
345 status = hermon_eq_handler_fini(state, eq[i]);
346 if (status != DDI_SUCCESS) {
356 status = hermon_eq_free(state, &eq[i]);
357 if (status != DDI_SUCCESS) {
736 int status;
751 status = hermon_rsrc_alloc(state, HERMON_EQC, 1, HERMON_SLEEP, &eqc);
752 if (status != DDI_SUCCESS) {
753 status = DDI_FAILURE;
763 status = hermon_rsrc_alloc(state, HERMON_EQHDL, 1, HERMON_SLEEP, &rsrc);
764 if (status != DDI_SUCCESS) {
765 status = DDI_FAILURE;
778 status = hermon_queue_alloc(state, &eq->eq_eqinfo, HERMON_SLEEP);
779 if (status != DDI_SUCCESS) {
780 status = DDI_FAILURE;
807 status = hermon_mr_register(state, pd, &mr_attr, &mr, &op,
809 if (status != DDI_SUCCESS) {
810 status = DDI_FAILURE;
841 status = hermon_cmn_ownership_cmd_post(state, SW2HW_EQ, &eqc_entry,
843 if (status != HERMON_CMD_SUCCESS) {
845 state->hs_instance, status);
846 if (status == HERMON_CMD_INVALID_STATUS) {
849 status = ibc_get_ci_failure(0);
889 return (status);
906 int status;
926 status = hermon_cmn_ownership_cmd_post(state, HW2SW_EQ, &eqc_entry,
928 if (status != HERMON_CMD_SUCCESS) {
931 status);
941 status = hermon_mr_deregister(state, &mr, HERMON_MR_DEREG_ALL,
943 if (status != DDI_SUCCESS) {
975 int status;
995 status = hermon_map_eq_cmd_post(state,
998 if (status != HERMON_CMD_SUCCESS) {
1000 "%08x\n", state->hs_instance, status);
1016 int status;
1031 status = hermon_map_eq_cmd_post(state,
1034 if (status != HERMON_CMD_SUCCESS) {
1036 "%08x\n", state->hs_instance, status);
1055 int status = DDI_FAILURE;
1062 status = hermon_port_state_change_handler(state, eq, eqe);
1066 status = hermon_comm_estbl_handler(state, eq, eqe);
1070 status = hermon_cmd_complete_handler(state, eq, eqe);
1075 status = hermon_local_wq_cat_err_handler(state, eq, eqe);
1080 status = hermon_invreq_local_wq_err_handler(state, eq, eqe);
1086 status = hermon_local_acc_vio_wq_err_handler(state, eq, eqe);
1089 status = hermon_sendq_drained_handler(state, eq, eqe);
1093 status = hermon_path_mig_handler(state, eq, eqe);
1098 status = hermon_path_mig_err_handler(state, eq, eqe);
1103 status = hermon_catastrophic_handler(state, eq, eqe);
1107 status = hermon_srq_last_wqe_reached_handler(state, eq, eqe);
1111 status = hermon_fexch_error_handler(state, eq, eqe);
1117 return (status);