/linux/drivers/scsi/qedf/ |
A D | drv_scsi_fw_funcs.c | 38 val = cpu_to_le32(sgl_task_params->sgl[sge_index].sge_len); in init_scsi_sgl_context() 39 ctx_data_desc->sge[sge_index].sge_len = val; in init_scsi_sgl_context()
|
A D | qedf_io.c | 510 bd[bd_count].sge_len = cpu_to_le32(sg_len); in qedf_map_sg() 541 bd[0].sge_len = 0; in qedf_build_bd_list_from_sg() 2103 mp_req_bd->sge_len = QEDF_PAGE_SIZE; in qedf_init_mp_req() 2114 mp_resp_bd->sge_len = QEDF_PAGE_SIZE; in qedf_init_mp_req()
|
/linux/drivers/scsi/qedi/ |
A D | qedi_fw_api.c | 47 val = cpu_to_le32(sgl_task_params->sgl[sge_index].sge_len); in init_scsi_sgl_context() 48 ctx_data_desc->sge[sge_index].sge_len = val; in init_scsi_sgl_context() 143 cmd_params->extended_cdb_sge.sge_len); in init_sqe() 154 cmd_params->extended_cdb_sge.sge_len); in init_sqe() 241 if (!cmd->extended_cdb_sge.sge_len) in init_initiator_rw_cdb_ystorm_context() 246 cmd->extended_cdb_sge.sge_len); in init_initiator_rw_cdb_ystorm_context() 251 val = cpu_to_le32(cmd->extended_cdb_sge.sge_len); in init_initiator_rw_cdb_ystorm_context() 252 ctx_pdu_hdr->ext_cdb_cmd.cdb_sge.sge_len = val; in init_initiator_rw_cdb_ystorm_context()
|
A D | qedi_fw.c | 1032 rx_sgl_task_params.total_buffer_size = resp_sge->sge_len; in qedi_send_iscsi_login() 1041 task_params.rx_io_size = resp_sge->sge_len; in qedi_send_iscsi_login() 1595 tx_sgl_task_params.total_buffer_size = req_sge->sge_len; in qedi_send_iscsi_text() 1604 rx_sgl_task_params.total_buffer_size = resp_sge->sge_len; in qedi_send_iscsi_text() 1613 task_params.rx_io_size = resp_sge->sge_len; in qedi_send_iscsi_text() 1720 rx_sgl_task_params.total_buffer_size = resp_sge->sge_len; in qedi_send_iscsi_nopout() 1730 task_params.rx_io_size = resp_sge->sge_len; in qedi_send_iscsi_nopout() 1768 bd[bd_index + sg_frags].sge_len = (u16)frag_size; in qedi_split_bd() 1809 bd[bd_count].sge_len = (u16)sg_len; in qedi_map_scsi_sg() 1856 bd[bd_count].sge_len = sg_len; in qedi_map_scsi_sg() [all …]
|
A D | qedi_iscsi.c | 761 bd_tbl->sge_len = qedi_conn->gen_pdu.req_wr_ptr - in qedi_iscsi_prep_generic_pdu_bd() 767 bd_tbl->sge_len = ISCSI_DEF_MAX_RECV_SEG_LEN; in qedi_iscsi_prep_generic_pdu_bd()
|
/linux/net/core/ |
A D | skmsg.c | 83 u32 sge_len, sge_off; in sk_msg_clone() local 96 sge_len = sge->length - off; in sk_msg_clone() 97 if (sge_len > len) in sk_msg_clone() 98 sge_len = len; in sk_msg_clone() 106 sgd->length += sge_len; in sk_msg_clone() 107 dst->sg.size += sge_len; in sk_msg_clone() 110 sk_msg_page_add(dst, sg_page(sge), sge_len, sge_off); in sk_msg_clone() 116 len -= sge_len; in sk_msg_clone() 117 sk_mem_charge(sk, sge_len); in sk_msg_clone()
|
/linux/drivers/infiniband/sw/siw/ |
A D | siw_qp_tx.c | 464 unsigned int sge_len = min(sge->length - sge_off, data_len); in siw_tx_hdt() local 481 iov[seg].iov_len = sge_len; in siw_tx_hdt() 486 sge_len); in siw_tx_hdt() 487 sge_off += sge_len; in siw_tx_hdt() 488 data_len -= sge_len; in siw_tx_hdt() 493 while (sge_len) { in siw_tx_hdt() 494 size_t plen = min((int)PAGE_SIZE - fp_off, sge_len); in siw_tx_hdt() 546 sge_len -= plen; in siw_tx_hdt()
|
/linux/include/linux/qed/ |
A D | storage_common.h | 64 __le32 sge_len; member
|
A D | qed_nvmetcp_if.h | 82 __le32 sge_len; /* SGE length */ member
|
/linux/drivers/net/ethernet/qlogic/qed/ |
A D | qed_nvmetcp_fw_funcs.c | 43 ctx_data_desc->sge[sge_index].sge_len = in init_scsi_sgl_context() 44 cpu_to_le32(sgl_params->sgl[sge_index].sge_len); in init_scsi_sgl_context()
|
/linux/drivers/scsi/lpfc/ |
A D | lpfc_nvme.c | 837 sgl->sge_len = cpu_to_le32(nCmd->cmdlen); in lpfc_nvme_adj_fcp_sgls() 904 sgl->sge_len = cpu_to_le32(nCmd->rsplen); in lpfc_nvme_adj_fcp_sgls() 1402 sgl->sge_len = cpu_to_le32(dma_len); in lpfc_nvme_prep_io_dma() 1413 sgl->sge_len = cpu_to_le32( in lpfc_nvme_prep_io_dma() 1433 le32_to_cpu(first_data_sgl->sge_len); in lpfc_nvme_prep_io_dma()
|
A D | lpfc_scsi.c | 730 sgl->sge_len = cpu_to_le32(sizeof(struct fcp_cmnd)); in lpfc_get_scsi_buf_s4() 740 sgl->sge_len = cpu_to_le32(sizeof(struct fcp_rsp)); in lpfc_get_scsi_buf_s4() 2112 sgl->sge_len = cpu_to_le32(dma_len); in lpfc_bg_setup_sgl() 2123 sgl->sge_len = cpu_to_le32(phba->cfg_sg_dma_buf_size); in lpfc_bg_setup_sgl() 2263 sgl->sge_len = cpu_to_le32(phba->cfg_sg_dma_buf_size); in lpfc_bg_setup_sgl_prot() 2331 sgl->sge_len = 0; in lpfc_bg_setup_sgl_prot() 2389 sgl->sge_len = cpu_to_le32( in lpfc_bg_setup_sgl_prot() 2427 sgl->sge_len = cpu_to_le32(dma_len); in lpfc_bg_setup_sgl_prot() 3346 sgl->sge_len = cpu_to_le32(dma_len); in lpfc_scsi_prep_dma_buf_s4() 3356 sgl->sge_len = cpu_to_le32( in lpfc_scsi_prep_dma_buf_s4() [all …]
|
A D | lpfc_nvmet.c | 2828 sgl->sge_len = 0; in lpfc_nvmet_prep_fcp_wqe() 2835 sgl->sge_len = 0; in lpfc_nvmet_prep_fcp_wqe() 2914 sgl->sge_len = 0; in lpfc_nvmet_prep_fcp_wqe() 2921 sgl->sge_len = 0; in lpfc_nvmet_prep_fcp_wqe() 3006 sgl->sge_len = cpu_to_le32(cnt); in lpfc_nvmet_prep_fcp_wqe() 3019 bde->tus.f.bdeSize = le32_to_cpu(sgl->sge_len); in lpfc_nvmet_prep_fcp_wqe()
|
A D | lpfc_sli.c | 10279 sgl->sge_len = cpu_to_le32(bde.tus.f.bdeSize); in lpfc_sli4_bpl2sgl() 10312 sgl->sge_len = in lpfc_sli4_bpl2sgl() 10565 wqe->generic.bde.tus.f.bdeSize = sgl->sge_len; in lpfc_sli4_iocb2wqe() 10629 wqe->generic.bde.tus.f.bdeSize = sgl->sge_len; in lpfc_sli4_iocb2wqe() 10686 wqe->generic.bde.tus.f.bdeSize = sgl->sge_len; in lpfc_sli4_iocb2wqe() 10983 wqe->generic.bde.tus.f.bdeSize = sgl->sge_len; in __lpfc_sli_issue_fcp_io_s4() 21248 sgl->sge_len = cpu_to_le32(bde.tus.f.bdeSize); in lpfc_wqe_bpl2sgl() 21296 sgl->sge_len = cpu_to_le32(wqe->gen_req.bde.tus.f.bdeSize); in lpfc_wqe_bpl2sgl()
|
A D | lpfc_hw4.h | 2111 uint32_t sge_len; member
|
/linux/drivers/scsi/megaraid/ |
A D | megaraid_sas_fusion.c | 2150 int sge_len, offset, num_prp_in_chain = 0; in megasas_make_prp_nvme() local 2199 sge_len = sg_dma_len(sg_scmd); in megasas_make_prp_nvme() 2209 if (sge_len > first_prp_len) { in megasas_make_prp_nvme() 2211 sge_len -= first_prp_len; in megasas_make_prp_nvme() 2212 } else if (sge_len == first_prp_len) { in megasas_make_prp_nvme() 2215 sge_len = sg_dma_len(sg_scmd); in megasas_make_prp_nvme() 2239 sge_len -= mr_nvme_pg_size; in megasas_make_prp_nvme() 2245 if (sge_len > 0) in megasas_make_prp_nvme() 2250 sge_len = sg_dma_len(sg_scmd); in megasas_make_prp_nvme()
|
/linux/drivers/scsi/mpt3sas/ |
A D | mpt3sas_base.c | 2428 int sge_len, num_prp_in_chain = 0; in base_make_prp_nvme() local 2490 sge_len = sg_dma_len(sg_scmd); in base_make_prp_nvme() 2500 if (sge_len > first_prp_len) { in base_make_prp_nvme() 2502 sge_len -= first_prp_len; in base_make_prp_nvme() 2503 } else if (data_len && (sge_len == first_prp_len)) { in base_make_prp_nvme() 2506 sge_len = sg_dma_len(sg_scmd); in base_make_prp_nvme() 2530 sge_len -= nvme_pg_size; in base_make_prp_nvme() 2536 if (sge_len > 0) in base_make_prp_nvme() 2541 sge_len = sg_dma_len(sg_scmd); in base_make_prp_nvme()
|
/linux/drivers/net/ethernet/broadcom/bnx2x/ |
A D | bnx2x_cmn.c | 355 u16 sge_len, in bnx2x_update_sge_prod() argument 363 if (!sge_len) in bnx2x_update_sge_prod() 367 for (i = 0; i < sge_len; i++) in bnx2x_update_sge_prod() 372 sge_len - 1, le16_to_cpu(cqe->sgl_or_raw_data.sgl[sge_len - 1])); in bnx2x_update_sge_prod() 377 le16_to_cpu(cqe->sgl_or_raw_data.sgl[sge_len - 1])); in bnx2x_update_sge_prod()
|
/linux/drivers/net/ethernet/ibm/ |
A D | ibmvnic.h | 252 __be32 sge_len; member
|
A D | ibmvnic.c | 1982 tx_crq.v1.sge_len = cpu_to_be32(skb->len); in ibmvnic_xmit()
|
/linux/drivers/infiniband/hw/bnxt_re/ |
A D | ib_verbs.c | 2499 u32 i, sge_len; in bnxt_re_copy_inline_data() local 2506 sge_len = wr->sg_list[i].length; in bnxt_re_copy_inline_data() 2508 if ((sge_len + wqe->inline_len) > in bnxt_re_copy_inline_data() 2514 sge_len = wr->sg_list[i].length; in bnxt_re_copy_inline_data() 2516 memcpy(in_data, sge_addr, sge_len); in bnxt_re_copy_inline_data()
|
/linux/drivers/scsi/be2iscsi/ |
A D | be_main.c | 2079 unsigned int sge_len = 0; in hwi_write_sgl_v2() local 2104 sge_len = sg_len; in hwi_write_sgl_v2() 2107 pwrb, sge_len); in hwi_write_sgl_v2() 2174 unsigned int sge_len = 0; in hwi_write_sgl() local 2196 sge_len = sg_len; in hwi_write_sgl() 2199 pwrb, sge_len); in hwi_write_sgl()
|
/linux/drivers/infiniband/hw/hns/ |
A D | hns_roce_hw_v2.c | 377 unsigned int *sge_len) in calc_wr_sge_num() argument 390 *sge_len = len; in calc_wr_sge_num()
|