Home
last modified time | relevance | path

Searched refs:sge_count (Results 1 – 11 of 11) sorted by relevance

/linux-6.1.9/drivers/scsi/megaraid/
Dmegaraid_sas_base.c1266 int sge_count; in megasas_make_sgl32() local
1269 sge_count = scsi_dma_map(scp); in megasas_make_sgl32()
1270 BUG_ON(sge_count < 0); in megasas_make_sgl32()
1272 if (sge_count) { in megasas_make_sgl32()
1273 scsi_for_each_sg(scp, os_sgl, sge_count, i) { in megasas_make_sgl32()
1278 return sge_count; in megasas_make_sgl32()
1295 int sge_count; in megasas_make_sgl64() local
1298 sge_count = scsi_dma_map(scp); in megasas_make_sgl64()
1299 BUG_ON(sge_count < 0); in megasas_make_sgl64()
1301 if (sge_count) { in megasas_make_sgl64()
[all …]
Dmegaraid_sas_fusion.h205 u16 sge_count) in set_num_sge() argument
207 rctx_g35->u.bytes[0] = (u8)(sge_count & NUM_SGE_MASK_LOWER); in set_num_sge()
208 rctx_g35->u.bytes[1] |= (u8)((sge_count >> NUM_SGE_SHIFT_UPPER) in set_num_sge()
214 u16 sge_count; in get_num_sge() local
216 sge_count = (u16)(((rctx_g35->u.bytes[1] & NUM_SGE_MASK_UPPER) in get_num_sge()
218 return sge_count; in get_num_sge()
Dmegaraid_sas_fusion.c1338 dcmd->sge_count = 1; in megasas_sync_pd_seq_num()
1434 dcmd->sge_count = 1; in megasas_get_ld_map_info()
1537 dcmd->sge_count = 1; in megasas_sync_map_info()
2097 struct scsi_cmnd *scmd, int sge_count) in megasas_is_prp_possible() argument
2146 struct megasas_cmd_fusion *cmd, int sge_count) in megasas_make_prp_nvme() argument
2161 build_prp = megasas_is_prp_possible(instance, scmd, sge_count); in megasas_make_prp_nvme()
2270 struct megasas_cmd_fusion *cmd, int sge_count) in megasas_make_sgl_fusion() argument
2284 scsi_for_each_sg(scp, os_sgl, sge_count, i) { in megasas_make_sgl_fusion()
2289 if (i == sge_count - 1) in megasas_make_sgl_fusion()
2295 (sge_count > fusion->max_sge_in_main_msg)) { in megasas_make_sgl_fusion()
[all …]
Dmegaraid_sas.h1740 u8 sge_count; /*07h */ member
1852 u8 sge_count; /*07h */ member
1881 u8 sge_count; /*07h */ member
1904 u8 sge_count; /*07h */ member
1959 u8 sge_count; /*07h */ member
1986 u8 sge_count; /*07h */ member
2620 u32 sge_count; member
2643 u32 sge_count; member
/linux-6.1.9/include/uapi/rdma/
Dib_user_verbs.h825 __u32 sge_count; member
844 __u32 sge_count; member
857 __u32 sge_count; member
/linux-6.1.9/drivers/scsi/
Dmyrs.c188 sgl->sge[0].sge_count = mbox->ctlr_info.dma_size; in myrs_get_ctlr_info()
247 sgl->sge[0].sge_count = mbox->ldev_info.dma_size; in myrs_get_ldev_info()
335 sgl->sge[0].sge_count = mbox->pdev_info.dma_size; in myrs_get_pdev_info()
406 sgl->sge[0].sge_count = mbox->pdev_info.dma_size; in myrs_translate_pdev()
442 sgl->sge[0].sge_count = mbox->get_event.dma_size; in myrs_get_event()
470 sgl->sge[0].sge_count = mbox->ctlr_info.dma_size; in myrs_get_fwstatus()
1722 hw_sge->sge[0].sge_count = (u64)sg_dma_len(sgl); in myrs_queuecommand()
1765 hw_sgl->sge_count = (u64)sg_dma_len(sgl); in myrs_queuecommand()
Dmyrb.h566 u32 sge_count; /* Bytes 4-7 */ member
Dmyrs.h663 u64 sge_count; /* Bytes 8-15 */ member
Dmyrb.c1595 hw_sgl->sge_count = (u32)sg_dma_len(sgl); in myrb_ldev_queuecommand()
/linux-6.1.9/drivers/infiniband/core/
Duverbs_cmd.c2011 &iter, cmd.sge_count * sizeof(struct ib_uverbs_sge)); in ib_uverbs_post_send()
2038 if (user_wr->num_sge + sg_ind > cmd.sge_count) { in ib_uverbs_post_send()
2184 u32 wqe_size, u32 sge_count) in ib_uverbs_unmarshall_recv() argument
2201 iter, sge_count * sizeof(struct ib_uverbs_sge)); in ib_uverbs_unmarshall_recv()
2221 if (user_wr->num_sge + sg_ind > sge_count) { in ib_uverbs_unmarshall_recv()
2295 cmd.sge_count); in ib_uverbs_post_recv()
2346 cmd.sge_count); in ib_uverbs_post_srq_recv()
/linux-6.1.9/drivers/scsi/mpt3sas/
Dmpt3sas_base.c2427 u16 smid, int sge_count) in base_make_prp_nvme() argument
2552 struct _pcie_device *pcie_device, struct scsi_cmnd *scmd, int sge_count) in base_is_prp_possible() argument
2567 if ((data_length <= NVME_PRP_PAGE_SIZE*4) && (sge_count <= 2)) in base_is_prp_possible()