Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/
Dqib_ud.c244 int next_cur; in qib_make_ud_req() local
267 next_cur = qp->s_cur + 1; in qib_make_ud_req()
268 if (next_cur >= qp->s_size) in qib_make_ud_req()
269 next_cur = 0; in qib_make_ud_req()
297 qp->s_cur = next_cur; in qib_make_ud_req()
307 qp->s_cur = next_cur; in qib_make_ud_req()
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
Dud.c483 int next_cur; in hfi1_make_ud_req() local
511 next_cur = qp->s_cur + 1; in hfi1_make_ud_req()
512 if (next_cur >= qp->s_size) in hfi1_make_ud_req()
513 next_cur = 0; in hfi1_make_ud_req()
539 qp->s_cur = next_cur; in hfi1_make_ud_req()
549 qp->s_cur = next_cur; in hfi1_make_ud_req()