Lines Matching defs:status

88 	int			status;
184 /* Set "status" and "errormsg" and goto failure */
198 /* Set "status" and "errormsg" and goto failure */
209 status = tavor_qp_reset2init(state, qp, info_p);
210 if (status != DDI_SUCCESS) {
212 /* Set "status"/"errormsg", goto failure */
213 TAVOR_TNF_FAIL(status, "reset to init");
242 status = tavor_qp_reset2err(state, qp);
243 if (status != DDI_SUCCESS) {
245 /* Set "status"/"errormsg", goto failure */
246 TAVOR_TNF_FAIL(status, "reset to error");
254 /* Set "status" and "errormsg" and goto failure */
269 status = tavor_wrid_from_reset_handling(state, qp);
270 if (status != DDI_SUCCESS) {
277 /* Set "status" and "errormsg" and goto failure */
278 TAVOR_TNF_FAIL(status, "reset: wrid_from_reset hdl");
297 /* Set "status" and "errormsg" and goto failure */
311 /* Set "status" and "errormsg" and goto failure */
322 status = tavor_qp_init2rtr(state, qp, flags, info_p);
323 if (status != DDI_SUCCESS) {
325 /* Set "status"/"errormsg", goto failure */
326 TAVOR_TNF_FAIL(status, "init to rtr");
336 status = tavor_qp_init2init(state, qp, flags, info_p);
337 if (status != DDI_SUCCESS) {
339 /* Set "status"/"errormsg", goto failure */
340 TAVOR_TNF_FAIL(status, "init to init");
350 status = tavor_qp_to_reset(state, qp);
351 if (status != DDI_SUCCESS) {
353 /* Set "status"/"errormsg", goto failure */
354 TAVOR_TNF_FAIL(status, "init to reset");
371 status = tavor_qp_to_error(state, qp);
372 if (status != DDI_SUCCESS) {
374 /* Set "status"/"errormsg", goto failure */
375 TAVOR_TNF_FAIL(status, "init to error");
383 /* Set "status" and "errormsg" and goto failure */
405 /* Set "status" and "errormsg" and goto failure */
419 /* Set "status" and "errormsg" and goto failure */
430 status = tavor_qp_rtr2rts(state, qp, flags, info_p);
431 if (status != DDI_SUCCESS) {
433 /* Set "status"/"errormsg", goto failure */
434 TAVOR_TNF_FAIL(status, "rtr to rts");
444 status = tavor_qp_to_reset(state, qp);
445 if (status != DDI_SUCCESS) {
447 /* Set "status"/"errormsg", goto failure */
448 TAVOR_TNF_FAIL(status, "rtr to reset");
465 status = tavor_qp_to_error(state, qp);
466 if (status != DDI_SUCCESS) {
468 /* Set "status"/"errormsg", goto failure */
469 TAVOR_TNF_FAIL(status, "rtr to error");
477 /* Set "status" and "errormsg" and goto failure */
497 /* Set "status" and "errormsg" and goto failure */
511 status = tavor_qp_rts2rts(state, qp, flags, info_p);
512 if (status != DDI_SUCCESS) {
514 /* Set "status"/"errormsg", goto failure */
515 TAVOR_TNF_FAIL(status, "rts to rts");
525 status = tavor_qp_rts2sqd(state, qp, flags);
526 if (status != DDI_SUCCESS) {
528 /* Set "status"/"errormsg", goto failure */
529 TAVOR_TNF_FAIL(status, "rts to sqd");
539 status = tavor_qp_to_reset(state, qp);
540 if (status != DDI_SUCCESS) {
542 /* Set "status"/"errormsg", goto failure */
543 TAVOR_TNF_FAIL(status, "rts to reset");
560 status = tavor_qp_to_error(state, qp);
561 if (status != DDI_SUCCESS) {
563 /* Set "status"/"errormsg", goto failure */
564 TAVOR_TNF_FAIL(status, "rts to error");
572 /* Set "status" and "errormsg" and goto failure */
590 /* Set "status" and "errormsg" and goto failure */
604 status = tavor_qp_sqerr2rts(state, qp, flags, info_p);
605 if (status != DDI_SUCCESS) {
607 /* Set "status"/"errormsg", goto failure */
608 TAVOR_TNF_FAIL(status, "sqerr to rts");
618 status = tavor_qp_to_reset(state, qp);
619 if (status != DDI_SUCCESS) {
621 /* Set "status"/"errormsg", goto failure */
622 TAVOR_TNF_FAIL(status, "sqerr to reset");
639 status = tavor_qp_to_error(state, qp);
640 if (status != DDI_SUCCESS) {
642 /* Set "status"/"errormsg", goto failure */
643 TAVOR_TNF_FAIL(status, "sqerr to error");
651 /* Set "status" and "errormsg" and goto failure */
674 /* Set "status" and "errormsg" and goto failure */
689 status = tavor_qp_sqd2sqd(state, qp, flags, info_p);
690 if (status != DDI_SUCCESS) {
692 /* Set "status"/"errormsg", goto failure */
693 TAVOR_TNF_FAIL(status, "sqd to sqd");
706 /* Set "status"/"errormsg", goto failure */
707 status = IBT_QP_STATE_INVALID;
708 TAVOR_TNF_FAIL(status, "sqd to rts; draining");
715 status = tavor_qp_sqd2rts(state, qp, flags, info_p);
716 if (status != DDI_SUCCESS) {
718 /* Set "status"/"errormsg", goto failure */
719 TAVOR_TNF_FAIL(status, "sqd to rts");
729 status = tavor_qp_to_reset(state, qp);
730 if (status != DDI_SUCCESS) {
732 /* Set "status"/"errormsg", goto failure */
733 TAVOR_TNF_FAIL(status, "sqd to reset");
750 status = tavor_qp_to_error(state, qp);
751 if (status != DDI_SUCCESS) {
753 /* Set "status"/"errormsg", goto failure */
754 TAVOR_TNF_FAIL(status, "sqd to error");
762 /* Set "status" and "errormsg" and goto failure */
779 status = tavor_qp_to_reset(state, qp);
780 if (status != DDI_SUCCESS) {
782 /* Set "status"/"errormsg", goto failure */
783 TAVOR_TNF_FAIL(status, "error to reset");
813 /* Set "status" and "errormsg" and goto failure */
828 /* Set "status" and "errormsg" and goto failure */
841 return (status);
858 int status;
1013 status = tavor_cmn_qp_cmd_post(state, RST2INIT_QP, qpc, qp->qp_qpnum,
1015 if (status != TAVOR_CMD_SUCCESS) {
1017 status);
1019 tnf_uint, status, status);
1043 int status;
1231 status = tavor_cmn_qp_cmd_post(state, INIT2INIT_QP, qpc, qp->qp_qpnum,
1233 if (status != TAVOR_CMD_SUCCESS) {
1234 if (status != TAVOR_CMD_BAD_QP_STATE) {
1236 "%08x\n", status);
1238 TAVOR_TNF_ERROR, "", tnf_uint, status, status);
1271 int status;
1351 status = tavor_set_addr_path(state, adds_vect, qpc_path,
1353 if (status != DDI_SUCCESS) {
1357 return (status);
1462 status = tavor_set_addr_path(state, adds_vect, qpc_path,
1464 if (status != DDI_SUCCESS) {
1468 return (status);
1520 status = tavor_set_addr_path(state, adds_vect, qpc_path,
1522 if (status != DDI_SUCCESS) {
1526 return (status);
1593 status = tavor_set_addr_path(state, adds_vect, qpc_path,
1595 if (status != DDI_SUCCESS) {
1599 return (status);
1654 status = tavor_cmn_qp_cmd_post(state, INIT2RTR_QP, qpc, qp->qp_qpnum,
1656 if (status != TAVOR_CMD_SUCCESS) {
1657 if (status != TAVOR_CMD_BAD_QP_STATE) {
1659 "%08x\n", status);
1661 TAVOR_TNF_ERROR, "", tnf_uint, status, status);
1693 int status;
1816 status = tavor_set_addr_path(state, adds_vect, qpc_path,
1818 if (status != DDI_SUCCESS) {
1822 return (status);
1919 status = tavor_set_addr_path(state, adds_vect, qpc_path,
1921 if (status != DDI_SUCCESS) {
1925 return (status);
1980 status = tavor_cmn_qp_cmd_post(state, RTR2RTS_QP, qpc, qp->qp_qpnum,
1982 if (status != TAVOR_CMD_SUCCESS) {
1983 if (status != TAVOR_CMD_BAD_QP_STATE) {
1985 "%08x\n", status);
1987 TAVOR_TNF_ERROR, "", tnf_uint, status, status);
2019 int status;
2097 status = tavor_set_addr_path(state, adds_vect, qpc_path,
2099 if (status != DDI_SUCCESS) {
2103 return (status);
2182 status = tavor_set_addr_path(state, adds_vect, qpc_path,
2184 if (status != DDI_SUCCESS) {
2188 return (status);
2243 status = tavor_cmn_qp_cmd_post(state, RTS2RTS_QP, qpc, qp->qp_qpnum,
2245 if (status != TAVOR_CMD_SUCCESS) {
2246 if (status != TAVOR_CMD_BAD_QP_STATE) {
2248 "%08x\n", status);
2250 TAVOR_TNF_ERROR, "", tnf_uint, status, status);
2274 int status;
2297 status = tavor_cmn_qp_cmd_post(state, RTS2SQD_QP, NULL, qp->qp_qpnum,
2299 if (status != TAVOR_CMD_SUCCESS) {
2300 if (status != TAVOR_CMD_BAD_QP_STATE) {
2302 "%08x\n", status);
2304 TAVOR_TNF_ERROR, "", tnf_uint, status, status);
2343 int status;
2411 status = tavor_set_addr_path(state, adds_vect, qpc_path,
2413 if (status != DDI_SUCCESS) {
2417 return (status);
2506 status = tavor_set_addr_path(state, adds_vect, qpc_path,
2508 if (status != DDI_SUCCESS) {
2512 return (status);
2567 status = tavor_cmn_qp_cmd_post(state, SQD2RTS_QP, qpc, qp->qp_qpnum,
2569 if (status != TAVOR_CMD_SUCCESS) {
2570 if (status != TAVOR_CMD_BAD_QP_STATE) {
2572 "%08x\n", status);
2574 TAVOR_TNF_ERROR, "", tnf_uint, status, status);
2607 int status;
2675 status = tavor_set_addr_path(state, adds_vect, qpc_path,
2677 if (status != DDI_SUCCESS) {
2681 return (status);
2766 status = tavor_set_addr_path(state, adds_vect, qpc_path,
2768 if (status != DDI_SUCCESS) {
2772 return (status);
2916 status = tavor_set_addr_path(state, adds_vect, qpc_path,
2918 if (status != DDI_SUCCESS) {
2922 return (status);
2983 status = tavor_set_addr_path(state, adds_vect, qpc_path,
2985 if (status != DDI_SUCCESS) {
2989 return (status);
3044 status = tavor_cmn_qp_cmd_post(state, SQD2SQD_QP, qpc, qp->qp_qpnum,
3046 if (status != TAVOR_CMD_SUCCESS) {
3047 if (status != TAVOR_CMD_BAD_QP_STATE) {
3049 "%08x\n", status);
3051 TAVOR_TNF_ERROR, "", tnf_uint, status, status);
3078 int status;
3140 status = tavor_cmn_qp_cmd_post(state, SQERR2RTS_QP, qpc, qp->qp_qpnum,
3142 if (status != TAVOR_CMD_SUCCESS) {
3143 if (status != TAVOR_CMD_BAD_QP_STATE) {
3145 "%08x\n", status);
3147 TAVOR_TNF_ERROR, "", tnf_uint, status, status);
3170 int status;
3184 status = tavor_cmn_qp_cmd_post(state, TOERR_QP, NULL, qp->qp_qpnum,
3186 if (status != TAVOR_CMD_SUCCESS) {
3188 status);
3190 TAVOR_TNF_ERROR, "", tnf_uint, status, status);
3208 int status;
3227 status = tavor_cmn_qp_cmd_post(state, TORST_QP, qpc, qp->qp_qpnum,
3229 if (status != TAVOR_CMD_SUCCESS) {
3231 status);
3233 TAVOR_TNF_ERROR, "", tnf_uint, status, status);
3251 int status;
3348 status = tavor_cmn_qp_cmd_post(state, RST2INIT_QP, qpc, qp->qp_qpnum,
3350 if (status != TAVOR_CMD_SUCCESS) {
3352 status);
3354 TAVOR_TNF_ERROR, "", tnf_uint, status, status);
3368 status = tavor_cmn_qp_cmd_post(state, TOERR_QP, NULL, qp->qp_qpnum,
3370 if (status != TAVOR_CMD_SUCCESS) {
3372 status);
3377 TAVOR_TNF_ERROR, "", tnf_uint, status, status);