Home
last modified time | relevance | path

Searched refs:sge_len (Results 1 – 24 of 24) sorted by relevance

/linux-6.3-rc2/drivers/scsi/qedf/
A Ddrv_scsi_fw_funcs.c38 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 Dqedf_io.c510 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()
2101 mp_req_bd->sge_len = QEDF_PAGE_SIZE; in qedf_init_mp_req()
2112 mp_resp_bd->sge_len = QEDF_PAGE_SIZE; in qedf_init_mp_req()
/linux-6.3-rc2/drivers/scsi/qedi/
A Dqedi_fw_api.c47 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 Dqedi_fw.c1030 rx_sgl_task_params.total_buffer_size = resp_sge->sge_len; in qedi_send_iscsi_login()
1039 task_params.rx_io_size = resp_sge->sge_len; in qedi_send_iscsi_login()
1593 tx_sgl_task_params.total_buffer_size = req_sge->sge_len; in qedi_send_iscsi_text()
1602 rx_sgl_task_params.total_buffer_size = resp_sge->sge_len; in qedi_send_iscsi_text()
1611 task_params.rx_io_size = resp_sge->sge_len; in qedi_send_iscsi_text()
1718 rx_sgl_task_params.total_buffer_size = resp_sge->sge_len; in qedi_send_iscsi_nopout()
1728 task_params.rx_io_size = resp_sge->sge_len; in qedi_send_iscsi_nopout()
1766 bd[bd_index + sg_frags].sge_len = (u16)frag_size; in qedi_split_bd()
1807 bd[bd_count].sge_len = (u16)sg_len; in qedi_map_scsi_sg()
1854 bd[bd_count].sge_len = sg_len; in qedi_map_scsi_sg()
[all …]
A Dqedi_iscsi.c762 bd_tbl->sge_len = qedi_conn->gen_pdu.req_wr_ptr - in qedi_iscsi_prep_generic_pdu_bd()
768 bd_tbl->sge_len = ISCSI_DEF_MAX_RECV_SEG_LEN; in qedi_iscsi_prep_generic_pdu_bd()
/linux-6.3-rc2/net/core/
A Dskmsg.c93 u32 sge_len, sge_off; in sk_msg_clone() local
106 sge_len = sge->length - off; in sk_msg_clone()
107 if (sge_len > len) in sk_msg_clone()
108 sge_len = len; in sk_msg_clone()
116 sgd->length += sge_len; in sk_msg_clone()
117 dst->sg.size += sge_len; in sk_msg_clone()
120 sk_msg_page_add(dst, sg_page(sge), sge_len, sge_off); in sk_msg_clone()
126 len -= sge_len; in sk_msg_clone()
127 sk_mem_charge(sk, sge_len); in sk_msg_clone()
/linux-6.3-rc2/drivers/infiniband/sw/siw/
A Dsiw_qp_tx.c464 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()
556 sge_len -= plen; in siw_tx_hdt()
/linux-6.3-rc2/include/linux/qed/
A Dstorage_common.h64 __le32 sge_len; member
A Dqed_nvmetcp_if.h82 __le32 sge_len; /* SGE length */ member
/linux-6.3-rc2/drivers/infiniband/hw/irdma/
A Duk.c582 u32 sge_len = sge_list[i].length; in irdma_copy_inline_data_gen_1() local
584 while (sge_len) { in irdma_copy_inline_data_gen_1()
587 bytes_copied = min(sge_len, quanta_bytes_remaining); in irdma_copy_inline_data_gen_1()
592 sge_len -= bytes_copied; in irdma_copy_inline_data_gen_1()
648 u32 sge_len = sge_list[i].length; in irdma_copy_inline_data() local
650 while (sge_len) { in irdma_copy_inline_data()
653 bytes_copied = min(sge_len, quanta_bytes_remaining); in irdma_copy_inline_data()
658 sge_len -= bytes_copied; in irdma_copy_inline_data()
/linux-6.3-rc2/drivers/net/ethernet/qlogic/qed/
A Dqed_nvmetcp_fw_funcs.c43 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-6.3-rc2/drivers/scsi/lpfc/
A Dlpfc_nvme.c848 sgl->sge_len = cpu_to_le32(nCmd->cmdlen); in lpfc_nvme_adj_fcp_sgls()
915 sgl->sge_len = cpu_to_le32(nCmd->rsplen); in lpfc_nvme_adj_fcp_sgls()
1445 sgl->sge_len = cpu_to_le32(dma_len); in lpfc_nvme_prep_io_dma()
1456 sgl->sge_len = cpu_to_le32( in lpfc_nvme_prep_io_dma()
1476 le32_to_cpu(first_data_sgl->sge_len); in lpfc_nvme_prep_io_dma()
A Dlpfc_scsi.c666 sgl->sge_len = cpu_to_le32(sizeof(struct fcp_cmnd)); in lpfc_get_scsi_buf_s4()
676 sgl->sge_len = cpu_to_le32(sizeof(struct fcp_rsp)); in lpfc_get_scsi_buf_s4()
2047 sgl->sge_len = cpu_to_le32(dma_len); in lpfc_bg_setup_sgl()
2058 sgl->sge_len = cpu_to_le32(phba->cfg_sg_dma_buf_size); in lpfc_bg_setup_sgl()
2198 sgl->sge_len = cpu_to_le32(phba->cfg_sg_dma_buf_size); in lpfc_bg_setup_sgl_prot()
2266 sgl->sge_len = 0; in lpfc_bg_setup_sgl_prot()
2324 sgl->sge_len = cpu_to_le32( in lpfc_bg_setup_sgl_prot()
2362 sgl->sge_len = cpu_to_le32(dma_len); in lpfc_bg_setup_sgl_prot()
3179 sgl->sge_len = cpu_to_le32(dma_len); in lpfc_scsi_prep_dma_buf_s4()
3189 sgl->sge_len = cpu_to_le32( in lpfc_scsi_prep_dma_buf_s4()
[all …]
A Dlpfc_nvmet.c2832 sgl->sge_len = 0; in lpfc_nvmet_prep_fcp_wqe()
2839 sgl->sge_len = 0; in lpfc_nvmet_prep_fcp_wqe()
2918 sgl->sge_len = 0; in lpfc_nvmet_prep_fcp_wqe()
2925 sgl->sge_len = 0; in lpfc_nvmet_prep_fcp_wqe()
3010 sgl->sge_len = cpu_to_le32(cnt); in lpfc_nvmet_prep_fcp_wqe()
3023 bde->tus.f.bdeSize = le32_to_cpu(sgl->sge_len); in lpfc_nvmet_prep_fcp_wqe()
A Dlpfc_hw4.h2148 uint32_t sge_len; member
A Dlpfc_sli.c10620 wqe->generic.bde.tus.f.bdeSize = sgl->sge_len; in lpfc_prep_embed_io()
21184 sgl->sge_len = cpu_to_le32(bde.tus.f.bdeSize); in lpfc_wqe_bpl2sgl()
21232 sgl->sge_len = cpu_to_le32(wqe->gen_req.bde.tus.f.bdeSize); in lpfc_wqe_bpl2sgl()
/linux-6.3-rc2/drivers/scsi/megaraid/
A Dmegaraid_sas_fusion.c2151 int sge_len, offset, num_prp_in_chain = 0; in megasas_make_prp_nvme() local
2200 sge_len = sg_dma_len(sg_scmd); in megasas_make_prp_nvme()
2210 if (sge_len > first_prp_len) { in megasas_make_prp_nvme()
2212 sge_len -= first_prp_len; in megasas_make_prp_nvme()
2213 } else if (sge_len == first_prp_len) { in megasas_make_prp_nvme()
2216 sge_len = sg_dma_len(sg_scmd); in megasas_make_prp_nvme()
2240 sge_len -= mr_nvme_pg_size; in megasas_make_prp_nvme()
2246 if (sge_len > 0) in megasas_make_prp_nvme()
2251 sge_len = sg_dma_len(sg_scmd); in megasas_make_prp_nvme()
/linux-6.3-rc2/drivers/net/ethernet/broadcom/bnx2x/
A Dbnx2x_cmn.c354 u16 sge_len, in bnx2x_update_sge_prod() argument
362 if (!sge_len) in bnx2x_update_sge_prod()
366 for (i = 0; i < sge_len; i++) in bnx2x_update_sge_prod()
371 sge_len - 1, le16_to_cpu(cqe->sgl_or_raw_data.sgl[sge_len - 1])); in bnx2x_update_sge_prod()
376 le16_to_cpu(cqe->sgl_or_raw_data.sgl[sge_len - 1])); in bnx2x_update_sge_prod()
/linux-6.3-rc2/drivers/scsi/mpt3sas/
A Dmpt3sas_base.c2429 int sge_len, num_prp_in_chain = 0; in base_make_prp_nvme() local
2491 sge_len = sg_dma_len(sg_scmd); in base_make_prp_nvme()
2501 if (sge_len > first_prp_len) { in base_make_prp_nvme()
2503 sge_len -= first_prp_len; in base_make_prp_nvme()
2504 } else if (data_len && (sge_len == first_prp_len)) { in base_make_prp_nvme()
2507 sge_len = sg_dma_len(sg_scmd); in base_make_prp_nvme()
2531 sge_len -= nvme_pg_size; in base_make_prp_nvme()
2537 if (sge_len > 0) in base_make_prp_nvme()
2542 sge_len = sg_dma_len(sg_scmd); in base_make_prp_nvme()
/linux-6.3-rc2/drivers/net/ethernet/ibm/
A Dibmvnic.h286 __be32 sge_len; member
A Dibmvnic.c2422 tx_crq.v1.sge_len = cpu_to_be32(skb->len); in ibmvnic_xmit()
/linux-6.3-rc2/drivers/infiniband/hw/bnxt_re/
A Dib_verbs.c2498 u32 i, sge_len; in bnxt_re_copy_inline_data() local
2505 sge_len = wr->sg_list[i].length; in bnxt_re_copy_inline_data()
2507 if ((sge_len + wqe->inline_len) > in bnxt_re_copy_inline_data()
2513 sge_len = wr->sg_list[i].length; in bnxt_re_copy_inline_data()
2515 memcpy(in_data, sge_addr, sge_len); in bnxt_re_copy_inline_data()
/linux-6.3-rc2/drivers/scsi/be2iscsi/
A Dbe_main.c2095 unsigned int sge_len = 0; in hwi_write_sgl_v2() local
2120 sge_len = sg_len; in hwi_write_sgl_v2()
2123 pwrb, sge_len); in hwi_write_sgl_v2()
2190 unsigned int sge_len = 0; in hwi_write_sgl() local
2212 sge_len = sg_len; in hwi_write_sgl()
2215 pwrb, sge_len); in hwi_write_sgl()
/linux-6.3-rc2/drivers/infiniband/hw/hns/
A Dhns_roce_hw_v2.c400 unsigned int *sge_len) in calc_wr_sge_num() argument
413 *sge_len = len; in calc_wr_sge_num()

Completed in 198 milliseconds