Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/scsi/megaraid/
Dmegaraid_sas_base.c950 int sge_count; in megasas_make_sgl32() local
953 sge_count = scsi_dma_map(scp); in megasas_make_sgl32()
954 BUG_ON(sge_count < 0); in megasas_make_sgl32()
956 if (sge_count) { in megasas_make_sgl32()
957 scsi_for_each_sg(scp, os_sgl, sge_count, i) { in megasas_make_sgl32()
962 return sge_count; in megasas_make_sgl32()
979 int sge_count; in megasas_make_sgl64() local
982 sge_count = scsi_dma_map(scp); in megasas_make_sgl64()
983 BUG_ON(sge_count < 0); in megasas_make_sgl64()
985 if (sge_count) { in megasas_make_sgl64()
[all …]
Dmegaraid_sas_fusion.c749 dcmd->sge_count = 1; in megasas_get_ld_map_info()
853 dcmd->sge_count = 1; in megasas_sync_map_info()
1072 int i, sg_processed, sge_count; in megasas_make_sgl_fusion() local
1084 sge_count = scsi_dma_map(scp); in megasas_make_sgl_fusion()
1086 BUG_ON(sge_count < 0); in megasas_make_sgl_fusion()
1088 if (sge_count > instance->max_num_sge || !sge_count) in megasas_make_sgl_fusion()
1089 return sge_count; in megasas_make_sgl_fusion()
1091 scsi_for_each_sg(scp, os_sgl, sge_count, i) { in megasas_make_sgl_fusion()
1096 if (i == sge_count - 1) in megasas_make_sgl_fusion()
1104 (sge_count > fusion->max_sge_in_main_msg)) { in megasas_make_sgl_fusion()
[all …]
Dmegaraid_sas.h877 u8 sge_count; /*07h */ member
944 u8 sge_count; /*07h */ member
973 u8 sge_count; /*07h */ member
996 u8 sge_count; /*07h */ member
1051 u8 sge_count; /*07h */ member
1078 u8 sge_count; /*07h */ member
1441 u32 sge_count; member
1465 u32 sge_count; member
/linux-3.4.99/net/sunrpc/xprtrdma/
Dsvc_rdma_recvfrom.c343 static int rdma_read_max_sge(struct svcxprt_rdma *xprt, int sge_count) in rdma_read_max_sge() argument
347 sge_count > 1) in rdma_read_max_sge()
350 return min_t(int, sge_count, xprt->sc_max_sge); in rdma_read_max_sge()
392 int sge_count; in rdma_read_xdr() local
413 sge_count = map_read_chunks(xprt, rqstp, hdr_ctxt, rmsgp, in rdma_read_xdr()
417 sge_count = fast_reg_read_chunks(xprt, rqstp, hdr_ctxt, rmsgp, in rdma_read_xdr()
420 if (sge_count < 0) { in rdma_read_xdr()
/linux-3.4.99/include/rdma/
Dib_user_verbs.h598 __u32 sge_count; member
617 __u32 sge_count; member
630 __u32 sge_count; member
/linux-3.4.99/drivers/infiniband/hw/amso1100/
Dc2_wr.h284 u8 sge_count; /* host -> adapter */ member
1505 return ((struct c2wr_hdr *) wr)->sge_count; in c2_wr_get_sge_count()
1507 static __inline__ void c2_wr_set_sge_count(void *wr, u8 sge_count) in c2_wr_set_sge_count() argument
1509 ((struct c2wr_hdr *) wr)->sge_count = sge_count; in c2_wr_set_sge_count()
/linux-3.4.99/drivers/scsi/be2iscsi/
Dbe_mgmt.h56 u8 sge_count[5]; /* DWORD 0 */ member
/linux-3.4.99/drivers/infiniband/core/
Duverbs_cmd.c1931 cmd.sge_count * sizeof (struct ib_uverbs_sge)) in ib_uverbs_post_send()
1956 if (user_wr->num_sge + sg_ind > cmd.sge_count) { in ib_uverbs_post_send()
2073 u32 sge_count, in ib_uverbs_unmarshall_recv() argument
2083 sge_count * sizeof (struct ib_uverbs_sge)) in ib_uverbs_unmarshall_recv()
2102 if (user_wr->num_sge + sg_ind > sge_count) { in ib_uverbs_unmarshall_recv()
2170 cmd.sge_count, cmd.wqe_size); in ib_uverbs_post_recv()
2219 cmd.sge_count, cmd.wqe_size); in ib_uverbs_post_srq_recv()