Lines Matching refs:access
51 static void rxe_mr_init(int access, struct rxe_mr *mr) in rxe_mr_init() argument
54 u32 rkey = (access & IB_ACCESS_REMOTE) ? lkey : 0; in rxe_mr_init()
107 void rxe_mr_init_dma(int access, struct rxe_mr *mr) in rxe_mr_init_dma() argument
109 rxe_mr_init(access, mr); in rxe_mr_init_dma()
111 mr->access = access; in rxe_mr_init_dma()
117 int access, struct rxe_mr *mr) in rxe_mr_init_user() argument
127 umem = ib_umem_get(&rxe->ib_dev, start, length, access); in rxe_mr_init_user()
137 rxe_mr_init(access, mr); in rxe_mr_init_user()
177 mr->access = access; in rxe_mr_init_user()
366 int access, in copy_data() argument
389 mr = lookup_mr(pd, access, sge->lkey, RXE_LOOKUP_LOCAL); in copy_data()
414 mr = lookup_mr(pd, access, sge->lkey, in copy_data()
496 struct rxe_mr *lookup_mr(struct rxe_pd *pd, int access, u32 key, in lookup_mr() argument
509 mr_pd(mr) != pd || (access && !(access & mr->access)) || in lookup_mr()
571 u32 access = wqe->wr.wr.reg.access; in rxe_reg_fast_mr() local
594 mr->access = access; in rxe_reg_fast_mr()
596 mr->rkey = (access & IB_ACCESS_REMOTE) ? key : 0; in rxe_reg_fast_mr()