opfn 52 drivers/infiniband/hw/hfi1/opfn.c spin_lock_irqsave(&priv->opfn.lock, flags); opfn 58 drivers/infiniband/hw/hfi1/opfn.c if (!priv->opfn.extended || !priv->opfn.requested || opfn 59 drivers/infiniband/hw/hfi1/opfn.c priv->opfn.requested == priv->opfn.completed || priv->opfn.curr) opfn 62 drivers/infiniband/hw/hfi1/opfn.c mask = priv->opfn.requested & ~priv->opfn.completed; opfn 65 drivers/infiniband/hw/hfi1/opfn.c priv->opfn.completed |= OPFN_CODE(capcode); opfn 76 drivers/infiniband/hw/hfi1/opfn.c priv->opfn.completed |= OPFN_CODE(capcode); opfn 88 drivers/infiniband/hw/hfi1/opfn.c priv->opfn.curr = capcode; /* A new request is now in progress */ opfn 90 drivers/infiniband/hw/hfi1/opfn.c spin_unlock_irqrestore(&priv->opfn.lock, flags); opfn 100 drivers/infiniband/hw/hfi1/opfn.c spin_lock_irqsave(&priv->opfn.lock, flags); opfn 105 drivers/infiniband/hw/hfi1/opfn.c priv->opfn.curr = STL_VERBS_EXTD_NONE; opfn 108 drivers/infiniband/hw/hfi1/opfn.c spin_unlock_irqrestore(&priv->opfn.lock, flags); opfn 117 drivers/infiniband/hw/hfi1/opfn.c qpriv = container_of(od, struct hfi1_qp_priv, opfn); opfn 132 drivers/infiniband/hw/hfi1/opfn.c queue_work(opfn_wq, &priv->opfn.opfn_work); opfn 157 drivers/infiniband/hw/hfi1/opfn.c spin_lock_irqsave(&priv->opfn.lock, flags); opfn 158 drivers/infiniband/hw/hfi1/opfn.c if (priv->opfn.completed & OPFN_CODE(capcode)) { opfn 163 drivers/infiniband/hw/hfi1/opfn.c priv->opfn.completed &= ~OPFN_CODE(capcode); opfn 169 drivers/infiniband/hw/hfi1/opfn.c priv->opfn.completed |= OPFN_CODE(capcode); opfn 172 drivers/infiniband/hw/hfi1/opfn.c spin_unlock_irqrestore(&priv->opfn.lock, flags); opfn 188 drivers/infiniband/hw/hfi1/opfn.c spin_lock_irqsave(&priv->opfn.lock, flags); opfn 193 drivers/infiniband/hw/hfi1/opfn.c if (!priv->opfn.curr || capcode != priv->opfn.curr) opfn 202 drivers/infiniband/hw/hfi1/opfn.c priv->opfn.completed |= OPFN_CODE(capcode); opfn 208 drivers/infiniband/hw/hfi1/opfn.c priv->opfn.curr = STL_VERBS_EXTD_NONE; opfn 211 drivers/infiniband/hw/hfi1/opfn.c spin_unlock_irqrestore(&priv->opfn.lock, flags); opfn 228 drivers/infiniband/hw/hfi1/opfn.c spin_lock_irqsave(&priv->opfn.lock, flags); opfn 229 drivers/infiniband/hw/hfi1/opfn.c while (priv->opfn.completed) { opfn 230 drivers/infiniband/hw/hfi1/opfn.c capcode = priv->opfn.completed & ~(priv->opfn.completed - 1); opfn 234 drivers/infiniband/hw/hfi1/opfn.c priv->opfn.completed &= ~OPFN_CODE(capcode); opfn 236 drivers/infiniband/hw/hfi1/opfn.c priv->opfn.extended = 0; opfn 237 drivers/infiniband/hw/hfi1/opfn.c priv->opfn.requested = 0; opfn 238 drivers/infiniband/hw/hfi1/opfn.c priv->opfn.curr = STL_VERBS_EXTD_NONE; opfn 239 drivers/infiniband/hw/hfi1/opfn.c spin_unlock_irqrestore(&priv->opfn.lock, flags); opfn 251 drivers/infiniband/hw/hfi1/opfn.c spin_lock_irqsave(&priv->opfn.lock, flags); opfn 266 drivers/infiniband/hw/hfi1/opfn.c priv->opfn.requested |= OPFN_MASK(TID_RDMA); opfn 274 drivers/infiniband/hw/hfi1/opfn.c if (priv->opfn.completed & opfn 276 drivers/infiniband/hw/hfi1/opfn.c priv->opfn.completed &= opfn 290 drivers/infiniband/hw/hfi1/opfn.c spin_unlock_irqrestore(&priv->opfn.lock, flags); opfn 297 drivers/infiniband/hw/hfi1/opfn.c if (!priv->opfn.extended && hfi1_opfn_extended(bth1) && opfn 299 drivers/infiniband/hw/hfi1/opfn.c priv->opfn.extended = 1; opfn 1633 drivers/infiniband/hw/hfi1/rc.c opfn_conn_reply(qp, priv->opfn.curr); opfn 3129 drivers/infiniband/hw/hfi1/rc.c bool opfn = opcode == OP(COMPARE_SWAP) && opfn 3138 drivers/infiniband/hw/hfi1/rc.c !opfn)) opfn 3152 drivers/infiniband/hw/hfi1/rc.c if (opfn) { opfn 221 drivers/infiniband/hw/hfi1/tid_rdma.c lockdep_is_held(&priv->opfn.lock)); opfn 291 drivers/infiniband/hw/hfi1/tid_rdma.c lockdep_is_held(&priv->opfn.lock)); opfn 345 drivers/infiniband/hw/hfi1/tid_rdma.c spin_lock_init(&qpriv->opfn.lock); opfn 346 drivers/infiniband/hw/hfi1/tid_rdma.c INIT_WORK(&qpriv->opfn.opfn_work, opfn_send_conn_request); opfn 432 drivers/infiniband/hw/hfi1/tid_rdma.c cancel_work_sync(&qpriv->opfn.opfn_work); opfn 209 drivers/infiniband/hw/hfi1/trace_tid.h __entry->requested = priv->opfn.requested; opfn 210 drivers/infiniband/hw/hfi1/trace_tid.h __entry->completed = priv->opfn.completed; opfn 211 drivers/infiniband/hw/hfi1/trace_tid.h __entry->curr = priv->opfn.curr; opfn 169 drivers/infiniband/hw/hfi1/verbs.h struct hfi1_opfn_data opfn;