Home
last modified time | relevance | path

Searched refs:rxe_mem (Results 1 – 7 of 7) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/infiniband/sw/rxe/
H A Drxe_verbs.h159 struct rxe_mem *mr;
186 struct rxe_mem *mr;
291 struct rxe_mem { struct
426 static inline struct rxe_mem *to_rmr(struct ib_mr *mr) in to_rmr()
428 return mr ? container_of(mr, struct rxe_mem, ibmr) : NULL; in to_rmr()
431 static inline struct rxe_mem *to_rmw(struct ib_mw *mw) in to_rmw()
433 return mw ? container_of(mw, struct rxe_mem, ibmw) : NULL; in to_rmw()
436 static inline struct rxe_pd *mr_pd(struct rxe_mem *mr) in mr_pd()
441 static inline u32 mr_lkey(struct rxe_mem *mr) in mr_lkey()
446 static inline u32 mr_rkey(struct rxe_mem *mr) in mr_rkey()
H A Drxe_mr.c27 int mem_check_range(struct rxe_mem *mem, u64 iova, size_t length) in mem_check_range()
50 static void rxe_mem_init(int access, struct rxe_mem *mem) in rxe_mem_init()
64 struct rxe_mem *mem = container_of(arg, typeof(*mem), pelem); in rxe_mem_cleanup()
77 static int rxe_mem_alloc(struct rxe_mem *mem, int num_buf) in rxe_mem_alloc()
116 int access, struct rxe_mem *mem) in rxe_mem_init_dma()
128 struct rxe_mem *mem) in rxe_mem_init_user()
206 int max_pages, struct rxe_mem *mem) in rxe_mem_init_fast()
231 struct rxe_mem *mem, in lookup_iova()
270 void *iova_to_vaddr(struct rxe_mem *mem, u64 iova, int length) in iova_to_vaddr()
311 int rxe_mem_copy(struct rxe_mem *mem, u64 iova, void *addr, int length, in rxe_mem_copy()
[all …]
H A Drxe_loc.h80 int access, struct rxe_mem *mem);
84 struct rxe_mem *mr);
87 int max_pages, struct rxe_mem *mem);
89 int rxe_mem_copy(struct rxe_mem *mem, u64 iova, void *addr,
96 void *iova_to_vaddr(struct rxe_mem *mem, u64 iova, int length);
103 struct rxe_mem *lookup_mem(struct rxe_pd *pd, int access, u32 key,
106 int mem_check_range(struct rxe_mem *mem, u64 iova, size_t length);
H A Drxe_verbs.c870 struct rxe_mem *mr; in rxe_get_dma_mr()
892 struct rxe_mem *mr; in rxe_reg_user_mr()
921 struct rxe_mem *mr = to_rmr(ibmr); in rxe_dereg_mr()
935 struct rxe_mem *mr; in rxe_alloc_mr()
967 struct rxe_mem *mr = to_rmr(ibmr); in rxe_set_page()
987 struct rxe_mem *mr = to_rmr(ibmr); in rxe_map_mr_sg()
H A Drxe_pool.c53 .size = sizeof(struct rxe_mem),
61 .size = sizeof(struct rxe_mem),
H A Drxe_resp.c393 struct rxe_mem *mem = NULL; in check_rkey()
524 struct rxe_mem *mr = qp->resp.mr; in process_atomic()
886 struct rxe_mem *rmr; in do_complete()
H A Drxe_req.c600 struct rxe_mem *rmr; in rxe_requester()
616 struct rxe_mem *rmr = to_rmr(wqe->wr.wr.reg.mr); in rxe_requester()