Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/infiniband/hw/qib/
Dqib_user_sdma.c75 u16 tidsmidx; /* current tidsm index */ member
338 if (pkt->tiddma && len > pkt->tidsm[pkt->tidsmidx].length) in qib_user_sdma_page_to_frags()
339 newlen = pkt->tidsm[pkt->tidsmidx].length; in qib_user_sdma_page_to_frags()
355 if (newlen == pkt->tidsm[pkt->tidsmidx].length) in qib_user_sdma_page_to_frags()
400 pkt->tidsm[pkt->tidsmidx].length -= newlen; in qib_user_sdma_page_to_frags()
401 if (pkt->tidsm[pkt->tidsmidx].length) { in qib_user_sdma_page_to_frags()
402 pkt->tidsm[pkt->tidsmidx].offset += newlen; in qib_user_sdma_page_to_frags()
404 pkt->tidsmidx++; in qib_user_sdma_page_to_frags()
405 if (pkt->tidsmidx == pkt->tidsmcount) { in qib_user_sdma_page_to_frags()
500 (pkt->tidsm[pkt->tidsmidx].tid<<QLOGIC_IB_I_TID_SHIFT) + in qib_user_sdma_page_to_frags()
[all …]