Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/infiniband/hw/ipath/
Dipath_rc.c249 if (qp->s_last == qp->s_head) in ipath_make_rc_req()
256 wqe = get_swqe_ptr(qp, qp->s_last); in ipath_make_rc_req()
726 u32 n = qp->s_last; in reset_psn()
807 struct ipath_swqe *wqe = get_swqe_ptr(qp, qp->s_last); in ipath_restart_rc()
888 wqe = get_swqe_ptr(qp, qp->s_last); in do_rc_ack()
968 if (qp->s_last == qp->s_cur) { in do_rc_ack()
971 qp->s_last = qp->s_cur; in do_rc_ack()
972 if (qp->s_last == qp->s_tail) in do_rc_ack()
978 if (++qp->s_last >= qp->s_size) in do_rc_ack()
979 qp->s_last = 0; in do_rc_ack()
[all …]
Dipath_ruc.c288 if (sqp->s_last == sqp->s_head) in ipath_ruc_loopback()
290 wqe = get_swqe_ptr(sqp, sqp->s_last); in ipath_ruc_loopback()
306 if (sqp->s_last == sqp->s_cur) { in ipath_ruc_loopback()
724 old_last = last = qp->s_last; in ipath_send_complete()
727 qp->s_last = last; in ipath_send_complete()
Dipath_uc.c63 if (qp->s_last == qp->s_head) in ipath_make_uc_req()
70 wqe = get_swqe_ptr(qp, qp->s_last); in ipath_make_uc_req()
Dipath_ud.c262 if (qp->s_last == qp->s_head) in ipath_make_ud_req()
269 wqe = get_swqe_ptr(qp, qp->s_last); in ipath_make_ud_req()
Dipath_qp.c353 qp->s_last = 0; in ipath_reset_qp()
396 if (qp->s_last != qp->s_head) in ipath_error_qp()
531 qp->s_draining = qp->s_last != qp->s_cur; in ipath_modify_qp()
Dipath_verbs.c391 if (next == qp->s_last) { in ipath_post_one_send()
753 if (qp->s_last != qp->s_tail && in ipath_ib_timer()
1041 qp->s_last != qp->s_head) || in sdma_complete()
1067 qp->s_last != qp->s_head) || in decrement_dma_busy()
Dipath_verbs.h429 u32 s_last; /* last un-ACK'ed entry */ member
/linux-2.6.39/drivers/infiniband/hw/qib/
Dqib_rc.c267 if (qp->s_last == qp->s_head) in qib_make_rc_req()
274 wqe = get_swqe_ptr(qp, qp->s_last); in qib_make_rc_req()
275 while (qp->s_last != qp->s_acked) { in qib_make_rc_req()
277 if (++qp->s_last >= qp->s_size) in qib_make_rc_req()
278 qp->s_last = 0; in qib_make_rc_req()
279 wqe = get_swqe_ptr(qp, qp->s_last); in qib_make_rc_req()
882 } else if (qp->s_last == qp->s_acked) { in qib_restart_rc()
952 u32 n = qp->s_last; in reset_sending_psn()
1012 while (qp->s_last != qp->s_acked) { in qib_rc_send_complete()
1013 wqe = get_swqe_ptr(qp, qp->s_last); in qib_rc_send_complete()
[all …]
Dqib_qp.c371 qp->s_last = 0; in qib_reset_qp()
405 while (qp->s_last != qp->s_head) { in clear_mr_refs()
406 struct qib_swqe *wqe = get_swqe_ptr(qp, qp->s_last); in clear_mr_refs()
418 if (++qp->s_last >= qp->s_size) in clear_mr_refs()
419 qp->s_last = 0; in clear_mr_refs()
490 if (qp->s_last != qp->s_head) in qib_error_qp()
707 qp->s_draining = qp->s_last != qp->s_cur; in qib_modify_qp()
Dqib_ruc.c380 if (sqp->s_last == sqp->s_head) in qib_ruc_loopback()
382 wqe = get_swqe_ptr(sqp, sqp->s_last); in qib_ruc_loopback()
398 if (sqp->s_last == sqp->s_cur) { in qib_ruc_loopback()
804 last = qp->s_last; in qib_send_complete()
808 qp->s_last = last; in qib_send_complete()
Dqib_uc.c63 if (qp->s_last == qp->s_head) in qib_make_uc_req()
70 wqe = get_swqe_ptr(qp, qp->s_last); in qib_make_uc_req()
Dqib_ud.c254 if (qp->s_last == qp->s_head) in qib_make_ud_req()
261 wqe = get_swqe_ptr(qp, qp->s_last); in qib_make_ud_req()
Dqib_verbs.h495 u32 s_last; /* last completed entry */ member
Dqib_verbs.c388 if (next == qp->s_last) { in qib_post_one_send()