Lines Matching refs:sg_i
111 int sg_i, dma_addr_t da, int sge_len, u32 gpa_mkey) in mana_add_sge() argument
113 ash->dma_handle[sg_i] = da; in mana_add_sge()
114 ash->size[sg_i] = sge_len; in mana_add_sge()
116 tp->wqe_req.sgl[sg_i].address = da; in mana_add_sge()
117 tp->wqe_req.sgl[sg_i].mem_key = gpa_mkey; in mana_add_sge()
118 tp->wqe_req.sgl[sg_i].size = sge_len; in mana_add_sge()
133 int sg_i; in mana_map_skb() local
153 sg_i = 1; in mana_map_skb()
159 mana_add_sge(tp, ash, sg_i, da, sge1_len, gd->gpa_mkey); in mana_map_skb()
164 sg_i = hsg + i; in mana_map_skb()
172 mana_add_sge(tp, ash, sg_i, da, skb_frag_size(frag), in mana_map_skb()
179 for (i = sg_i - 1; i >= hsg; i--) in mana_map_skb()