Home
last modified time | relevance | path

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

/drivers/infiniband/hw/qib/
Dqib_user_sdma.c75 u16 tidsmidx; /* current tidsm index */ member
339 if (pkt->tiddma && len > pkt->tidsm[pkt->tidsmidx].length) in qib_user_sdma_page_to_frags()
340 newlen = pkt->tidsm[pkt->tidsmidx].length; in qib_user_sdma_page_to_frags()
356 if (newlen == pkt->tidsm[pkt->tidsmidx].length) in qib_user_sdma_page_to_frags()
401 pkt->tidsm[pkt->tidsmidx].length -= newlen; in qib_user_sdma_page_to_frags()
402 if (pkt->tidsm[pkt->tidsmidx].length) { in qib_user_sdma_page_to_frags()
403 pkt->tidsm[pkt->tidsmidx].offset += newlen; in qib_user_sdma_page_to_frags()
405 pkt->tidsmidx++; in qib_user_sdma_page_to_frags()
406 if (pkt->tidsmidx == pkt->tidsmcount) { in qib_user_sdma_page_to_frags()
501 (pkt->tidsm[pkt->tidsmidx].tid<<QLOGIC_IB_I_TID_SHIFT) + in qib_user_sdma_page_to_frags()
[all …]