Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/infiniband/hw/hfi1/
Dopfn.c52 spin_lock_irqsave(&priv->opfn.lock, flags); in opfn_conn_request()
58 if (!priv->opfn.extended || !priv->opfn.requested || in opfn_conn_request()
59 priv->opfn.requested == priv->opfn.completed || priv->opfn.curr) in opfn_conn_request()
62 mask = priv->opfn.requested & ~priv->opfn.completed; in opfn_conn_request()
65 priv->opfn.completed |= OPFN_CODE(capcode); in opfn_conn_request()
76 priv->opfn.completed |= OPFN_CODE(capcode); in opfn_conn_request()
88 priv->opfn.curr = capcode; /* A new request is now in progress */ in opfn_conn_request()
90 spin_unlock_irqrestore(&priv->opfn.lock, flags); in opfn_conn_request()
100 spin_lock_irqsave(&priv->opfn.lock, flags); in opfn_conn_request()
105 priv->opfn.curr = STL_VERBS_EXTD_NONE; in opfn_conn_request()
[all …]
DMakefile32 opfn.o \
Dverbs.h127 struct hfi1_opfn_data opfn; member
Dtrace_tid.h209 __entry->requested = priv->opfn.requested;
210 __entry->completed = priv->opfn.completed;
211 __entry->curr = priv->opfn.curr;
Drc.c1590 opfn_conn_reply(qp, priv->opfn.curr); in hfi1_restart_rc()
3087 bool opfn = opcode == OP(COMPARE_SWAP) && in hfi1_rc_rcv() local
3096 !opfn)) in hfi1_rc_rcv()
3110 if (opfn) { in hfi1_rc_rcv()
Dtid_rdma.c221 lockdep_is_held(&priv->opfn.lock)); in tid_rdma_conn_reply()
291 lockdep_is_held(&priv->opfn.lock)); in tid_rdma_conn_error()
346 spin_lock_init(&qpriv->opfn.lock); in hfi1_qp_priv_init()
347 INIT_WORK(&qpriv->opfn.opfn_work, opfn_send_conn_request); in hfi1_qp_priv_init()
433 cancel_work_sync(&qpriv->opfn.opfn_work); in hfi1_qp_priv_tid_free()