/linux-4.4.14/drivers/staging/rdma/ipath/ |
D | ipath_rc.c | 249 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 …]
|
D | ipath_ruc.c | 287 if (sqp->s_last == sqp->s_head) in ipath_ruc_loopback() 289 wqe = get_swqe_ptr(sqp, sqp->s_last); in ipath_ruc_loopback() 305 if (sqp->s_last == sqp->s_cur) { in ipath_ruc_loopback() 723 old_last = last = qp->s_last; in ipath_send_complete() 726 qp->s_last = last; in ipath_send_complete()
|
D | ipath_uc.c | 63 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()
|
D | ipath_ud.c | 261 if (qp->s_last == qp->s_head) in ipath_make_ud_req() 268 wqe = get_swqe_ptr(qp, qp->s_last); in ipath_make_ud_req()
|
D | ipath_qp.c | 352 qp->s_last = 0; in ipath_reset_qp() 395 if (qp->s_last != qp->s_head) in ipath_error_qp() 530 qp->s_draining = qp->s_last != qp->s_cur; in ipath_modify_qp()
|
D | ipath_verbs.c | 392 if (next == qp->s_last) { in ipath_post_one_send() 767 if (qp->s_last != qp->s_tail && in ipath_ib_timer() 1055 qp->s_last != qp->s_head) || in sdma_complete() 1081 qp->s_last != qp->s_head) || in decrement_dma_busy()
|
D | ipath_verbs.h | 435 u32 s_last; /* last un-ACK'ed entry */ member
|
/linux-4.4.14/drivers/infiniband/hw/qib/ |
D | qib_qp.c | 403 qp->s_last = 0; in qib_reset_qp() 428 while (qp->s_last != qp->s_head) { in clear_mr_refs() 429 struct qib_swqe *wqe = get_swqe_ptr(qp, qp->s_last); in clear_mr_refs() 441 if (++qp->s_last >= qp->s_size) in clear_mr_refs() 442 qp->s_last = 0; in clear_mr_refs() 513 if (qp->s_last != qp->s_head) in qib_error_qp() 730 qp->s_draining = qp->s_last != qp->s_cur; in qib_modify_qp() 1370 wqe = get_swqe_ptr(qp, qp->s_last); in qib_qp_iter_print() 1388 qp->s_last, qp->s_acked, qp->s_cur, in qib_qp_iter_print()
|
D | qib_rc.c | 266 if (qp->s_last == qp->s_head) in qib_make_rc_req() 273 wqe = get_swqe_ptr(qp, qp->s_last); in qib_make_rc_req() 274 qib_send_complete(qp, wqe, qp->s_last != qp->s_acked ? in qib_make_rc_req() 879 } else if (qp->s_last == qp->s_acked) { in qib_restart_rc() 949 u32 n = qp->s_last; in reset_sending_psn() 1009 while (qp->s_last != qp->s_acked) { in qib_rc_send_complete() 1010 wqe = get_swqe_ptr(qp, qp->s_last); in qib_rc_send_complete() 1030 if (++qp->s_last >= qp->s_size) in qib_rc_send_complete() 1031 qp->s_last = 0; in qib_rc_send_complete() 1086 if (++qp->s_last >= qp->s_size) in do_rc_completion() [all …]
|
D | qib_ruc.c | 386 if (sqp->s_last == sqp->s_head) in qib_ruc_loopback() 388 wqe = get_swqe_ptr(sqp, sqp->s_last); in qib_ruc_loopback() 404 if (sqp->s_last == sqp->s_cur) { in qib_ruc_loopback() 807 last = qp->s_last; in qib_send_complete() 811 qp->s_last = last; in qib_send_complete()
|
D | qib_uc.c | 63 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()
|
D | qib_ud.c | 257 if (qp->s_last == qp->s_head) in qib_make_ud_req() 264 wqe = get_swqe_ptr(qp, qp->s_last); in qib_make_ud_req()
|
D | qib_verbs.h | 513 u32 s_last; /* last completed entry */ member
|
D | qib_verbs.c | 392 if (next == qp->s_last) { in qib_post_one_send()
|
/linux-4.4.14/drivers/staging/rdma/hfi1/ |
D | qp.c | 387 qp->s_last = 0; in reset_qp() 413 while (qp->s_last != qp->s_head) { in clear_mr_refs() 414 struct hfi1_swqe *wqe = get_swqe_ptr(qp, qp->s_last); in clear_mr_refs() 426 if (++qp->s_last >= qp->s_size) in clear_mr_refs() 427 qp->s_last = 0; in clear_mr_refs() 497 if (qp->s_last != qp->s_head) in hfi1_error_qp() 749 qp->s_draining = qp->s_last != qp->s_cur; in hfi1_modify_qp() 1630 qp->s_last == qp->s_acked && in qp_idle() 1643 wqe = get_swqe_ptr(qp, qp->s_last); in qp_iter_print() 1663 qp->s_last, qp->s_acked, qp->s_cur, in qp_iter_print()
|
D | rc.c | 297 if (qp->s_last == qp->s_head) in hfi1_make_rc_req() 305 wqe = get_swqe_ptr(qp, qp->s_last); in hfi1_make_rc_req() 306 hfi1_send_complete(qp, wqe, qp->s_last != qp->s_acked ? in hfi1_make_rc_req() 891 } else if (qp->s_last == qp->s_acked) { in restart_rc() 962 u32 n = qp->s_last; in reset_sending_psn() 1023 while (qp->s_last != qp->s_acked) { in hfi1_rc_send_complete() 1024 wqe = get_swqe_ptr(qp, qp->s_last); in hfi1_rc_send_complete() 1044 if (++qp->s_last >= qp->s_size) in hfi1_rc_send_complete() 1045 qp->s_last = 0; in hfi1_rc_send_complete() 1101 if (++qp->s_last >= qp->s_size) in do_rc_completion() [all …]
|
D | ruc.c | 408 if (sqp->s_last == sqp->s_head) in ruc_loopback() 410 wqe = get_swqe_ptr(sqp, sqp->s_last); in ruc_loopback() 426 if (sqp->s_last == sqp->s_cur) { in ruc_loopback() 934 last = qp->s_last; in hfi1_send_complete() 938 qp->s_last = last; in hfi1_send_complete()
|
D | uc.c | 82 if (qp->s_last == qp->s_head) in hfi1_make_uc_req() 90 wqe = get_swqe_ptr(qp, qp->s_last); in hfi1_make_uc_req()
|
D | ud.c | 289 if (qp->s_last == qp->s_head) in hfi1_make_ud_req() 296 wqe = get_swqe_ptr(qp, qp->s_last); in hfi1_make_ud_req()
|
D | verbs.h | 522 u32 s_last; /* last completed entry */ member
|
D | verbs.c | 410 if (next == qp->s_last) in post_one_send() 501 call_send = qp->s_head == qp->s_last && !wr->next; in post_send()
|