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()
241 sge = nonembedded_sgl(wrb); in beiscsi_exec_nemb_cmd()
242 be_wrb_hdr_prepare(wrb, nonemb_cmd->size, false, 1); in beiscsi_exec_nemb_cmd()
391 struct be_mcc_wrb *wrb; in beiscsi_if_get_handle() local
399 wrb = alloc_mcc_wrb(phba, &tag); in beiscsi_if_get_handle()
400 if (!wrb) { in beiscsi_if_get_handle()
405 req = embedded_payload(wrb); in beiscsi_if_get_handle()
406 be_wrb_hdr_prepare(wrb, sizeof(*req), true, 0); in beiscsi_if_get_handle()
413 status = beiscsi_mccq_compl_wait(phba, tag, &wrb, NULL); in beiscsi_if_get_handle()
420 pbe_allid = embedded_payload(wrb); in beiscsi_if_get_handle()
825 struct be_mcc_wrb *wrb; in beiscsi_boot_process_compl() local
854 status = __beiscsi_mcc_compl_status(phba, tag, &wrb, NULL); in beiscsi_boot_process_compl()
856 boot_resp = embedded_payload(wrb); in beiscsi_boot_process_compl()
885 status = __beiscsi_mcc_compl_status(phba, tag, &wrb, NULL); in beiscsi_boot_process_compl()
887 logo_resp = embedded_payload(wrb); in beiscsi_boot_process_compl()
928 struct be_mcc_wrb *wrb; in beiscsi_boot_logout_sess() local
933 wrb = alloc_mcc_wrb(phba, &tag); in beiscsi_boot_logout_sess()
934 if (!wrb) { in beiscsi_boot_logout_sess()
939 req = embedded_payload(wrb); in beiscsi_boot_logout_sess()
940 be_wrb_hdr_prepare(wrb, sizeof(*req), true, 0); in beiscsi_boot_logout_sess()
967 struct be_mcc_wrb *wrb; in beiscsi_boot_reopen_sess() local
972 wrb = alloc_mcc_wrb(phba, &tag); in beiscsi_boot_reopen_sess()
973 if (!wrb) { in beiscsi_boot_reopen_sess()
978 req = embedded_payload(wrb); in beiscsi_boot_reopen_sess()
979 be_wrb_hdr_prepare(wrb, sizeof(*req), true, 0); in beiscsi_boot_reopen_sess()
1010 struct be_mcc_wrb *wrb; in beiscsi_boot_get_sinfo() local
1015 wrb = alloc_mcc_wrb(phba, &tag); in beiscsi_boot_get_sinfo()
1016 if (!wrb) { in beiscsi_boot_get_sinfo()
1034 sge = nonembedded_sgl(wrb); in beiscsi_boot_get_sinfo()
1035 be_wrb_hdr_prepare(wrb, sizeof(*req), false, 1); in beiscsi_boot_get_sinfo()
1056 struct be_mcc_wrb *wrb; in __beiscsi_boot_get_shandle() local
1061 wrb = alloc_mcc_wrb(phba, &tag); in __beiscsi_boot_get_shandle()
1062 if (!wrb) { in __beiscsi_boot_get_shandle()
1067 req = embedded_payload(wrb); in __beiscsi_boot_get_shandle()
1068 be_wrb_hdr_prepare(wrb, sizeof(*req), true, 0); in __beiscsi_boot_get_shandle()
1097 struct be_mcc_wrb *wrb; in beiscsi_boot_get_shandle() local
1111 rc = beiscsi_mccq_compl_wait(phba, tag, &wrb, NULL); in beiscsi_boot_get_shandle()
1119 boot_resp = embedded_payload(wrb); in beiscsi_boot_get_shandle()
1439 struct be_mcc_wrb *wrb; in beiscsi_invalidate_cxn() local
1443 wrb = alloc_mcc_wrb(phba, &tag); in beiscsi_invalidate_cxn()
1444 if (!wrb) { in beiscsi_invalidate_cxn()
1449 req = embedded_payload(wrb); in beiscsi_invalidate_cxn()
1450 be_wrb_hdr_prepare(wrb, sizeof(union be_invalidate_connection_params), in beiscsi_invalidate_cxn()
1475 struct be_mcc_wrb *wrb; in beiscsi_upload_cxn() local
1480 wrb = alloc_mcc_wrb(phba, &tag); in beiscsi_upload_cxn()
1481 if (!wrb) { in beiscsi_upload_cxn()
1486 req = embedded_payload(wrb); in beiscsi_upload_cxn()
1487 be_wrb_hdr_prepare(wrb, sizeof(union be_tcp_upload_params), true, 0); in beiscsi_upload_cxn()
1507 struct be_mcc_wrb *wrb; in beiscsi_mgmt_invalidate_icds() local
1526 wrb = alloc_mcc_wrb(phba, &tag); in beiscsi_mgmt_invalidate_icds()
1527 if (!wrb) { in beiscsi_mgmt_invalidate_icds()
1535 be_wrb_hdr_prepare(wrb, nonemb_cmd.size, false, 1); in beiscsi_mgmt_invalidate_icds()
1546 sge = nonembedded_sgl(wrb); in beiscsi_mgmt_invalidate_icds()