Lines Matching defs:access
51 struct rxe_mw *mw, struct rxe_mr *mr, int access)
61 if (unlikely((access & IB_ZERO_BASED))) {
94 if (unlikely(mr->access & IB_ZERO_BASED)) {
100 if (unlikely(!(mr->access & IB_ACCESS_MW_BIND))) {
102 "attempt to bind an MW to an MR without bind access\n");
107 if (unlikely((access &
109 !(mr->access & IB_ACCESS_LOCAL_WRITE))) {
111 "attempt to bind an Writable MW to an MR without local write access\n");
116 if (access & IB_ZERO_BASED) {
136 struct rxe_mw *mw, struct rxe_mr *mr, int access)
141 mw->access = access;
172 int access = wqe->wr.wr.mw.access;
200 if (access & ~RXE_ACCESS_SUPPORTED_MW) {
201 rxe_err_mw(mw, "access %#x not supported\n", access);
208 ret = rxe_check_bind_mw(qp, wqe, mw, mr, access);
212 rxe_do_bind_mw(qp, wqe, mw, mr, access);
252 mw->access = 0;
290 struct rxe_mw *rxe_lookup_mw(struct rxe_qp *qp, int access, u32 rkey)
303 (mw->length == 0) || ((access & mw->access) != access) ||
334 mw->access = 0;