Lines Matching refs:wrb
38 struct be_mcc_wrb *wrb; in mgmt_vendor_specific_fw_cmd() local
79 wrb = alloc_mcc_wrb(phba, &tag); in mgmt_vendor_specific_fw_cmd()
80 if (!wrb) { in mgmt_vendor_specific_fw_cmd()
85 mcc_sge = nonembedded_sgl(wrb); in mgmt_vendor_specific_fw_cmd()
86 be_wrb_hdr_prepare(wrb, nonemb_cmd->size, false, in mgmt_vendor_specific_fw_cmd()
119 struct be_mcc_wrb *wrb; in mgmt_open_connection() local
149 wrb = alloc_mcc_wrb(phba, &tag); in mgmt_open_connection()
150 if (!wrb) { in mgmt_open_connection()
155 sge = nonembedded_sgl(wrb); in mgmt_open_connection()
159 be_wrb_hdr_prepare(wrb, nonemb_cmd->size, false, 1); in mgmt_open_connection()
229 struct be_mcc_wrb *wrb; in beiscsi_exec_nemb_cmd() local
235 wrb = alloc_mcc_wrb(phba, &tag); in beiscsi_exec_nemb_cmd()
236 if (!wrb) { in beiscsi_exec_nemb_cmd()
242 sge = nonembedded_sgl(wrb); in beiscsi_exec_nemb_cmd()
243 be_wrb_hdr_prepare(wrb, nonemb_cmd->size, false, 1); in beiscsi_exec_nemb_cmd()
388 struct be_mcc_wrb *wrb; in beiscsi_if_get_handle() local
396 wrb = alloc_mcc_wrb(phba, &tag); in beiscsi_if_get_handle()
397 if (!wrb) { in beiscsi_if_get_handle()
402 req = embedded_payload(wrb); in beiscsi_if_get_handle()
403 be_wrb_hdr_prepare(wrb, sizeof(*req), true, 0); in beiscsi_if_get_handle()
410 status = beiscsi_mccq_compl_wait(phba, tag, &wrb, NULL); in beiscsi_if_get_handle()
417 pbe_allid = embedded_payload(wrb); in beiscsi_if_get_handle()
819 struct be_mcc_wrb *wrb; in beiscsi_boot_process_compl() local
848 status = __beiscsi_mcc_compl_status(phba, tag, &wrb, NULL); in beiscsi_boot_process_compl()
850 boot_resp = embedded_payload(wrb); in beiscsi_boot_process_compl()
879 status = __beiscsi_mcc_compl_status(phba, tag, &wrb, NULL); in beiscsi_boot_process_compl()
881 logo_resp = embedded_payload(wrb); in beiscsi_boot_process_compl()
922 struct be_mcc_wrb *wrb; in beiscsi_boot_logout_sess() local
927 wrb = alloc_mcc_wrb(phba, &tag); in beiscsi_boot_logout_sess()
928 if (!wrb) { in beiscsi_boot_logout_sess()
933 req = embedded_payload(wrb); in beiscsi_boot_logout_sess()
934 be_wrb_hdr_prepare(wrb, sizeof(*req), true, 0); in beiscsi_boot_logout_sess()
961 struct be_mcc_wrb *wrb; in beiscsi_boot_reopen_sess() local
966 wrb = alloc_mcc_wrb(phba, &tag); in beiscsi_boot_reopen_sess()
967 if (!wrb) { in beiscsi_boot_reopen_sess()
972 req = embedded_payload(wrb); in beiscsi_boot_reopen_sess()
973 be_wrb_hdr_prepare(wrb, sizeof(*req), true, 0); in beiscsi_boot_reopen_sess()
1004 struct be_mcc_wrb *wrb; in beiscsi_boot_get_sinfo() local
1009 wrb = alloc_mcc_wrb(phba, &tag); in beiscsi_boot_get_sinfo()
1010 if (!wrb) { in beiscsi_boot_get_sinfo()
1028 sge = nonembedded_sgl(wrb); in beiscsi_boot_get_sinfo()
1029 be_wrb_hdr_prepare(wrb, sizeof(*req), false, 1); in beiscsi_boot_get_sinfo()
1050 struct be_mcc_wrb *wrb; in __beiscsi_boot_get_shandle() local
1055 wrb = alloc_mcc_wrb(phba, &tag); in __beiscsi_boot_get_shandle()
1056 if (!wrb) { in __beiscsi_boot_get_shandle()
1061 req = embedded_payload(wrb); in __beiscsi_boot_get_shandle()
1062 be_wrb_hdr_prepare(wrb, sizeof(*req), true, 0); in __beiscsi_boot_get_shandle()
1091 struct be_mcc_wrb *wrb; in beiscsi_boot_get_shandle() local
1105 rc = beiscsi_mccq_compl_wait(phba, tag, &wrb, NULL); in beiscsi_boot_get_shandle()
1113 boot_resp = embedded_payload(wrb); in beiscsi_boot_get_shandle()
1437 struct be_mcc_wrb *wrb; in beiscsi_invalidate_cxn() local
1441 wrb = alloc_mcc_wrb(phba, &tag); in beiscsi_invalidate_cxn()
1442 if (!wrb) { in beiscsi_invalidate_cxn()
1447 req = embedded_payload(wrb); in beiscsi_invalidate_cxn()
1448 be_wrb_hdr_prepare(wrb, sizeof(union be_invalidate_connection_params), in beiscsi_invalidate_cxn()
1473 struct be_mcc_wrb *wrb; in beiscsi_upload_cxn() local
1478 wrb = alloc_mcc_wrb(phba, &tag); in beiscsi_upload_cxn()
1479 if (!wrb) { in beiscsi_upload_cxn()
1484 req = embedded_payload(wrb); in beiscsi_upload_cxn()
1485 be_wrb_hdr_prepare(wrb, sizeof(union be_tcp_upload_params), true, 0); in beiscsi_upload_cxn()
1505 struct be_mcc_wrb *wrb; in beiscsi_mgmt_invalidate_icds() local
1524 wrb = alloc_mcc_wrb(phba, &tag); in beiscsi_mgmt_invalidate_icds()
1525 if (!wrb) { in beiscsi_mgmt_invalidate_icds()
1533 be_wrb_hdr_prepare(wrb, nonemb_cmd.size, false, 1); in beiscsi_mgmt_invalidate_icds()
1544 sge = nonembedded_sgl(wrb); in beiscsi_mgmt_invalidate_icds()