Searched refs:rxe_mr (Results 1 – 9 of 9) sorted by relevance
| /linux/drivers/infiniband/sw/rxe/ |
| H A D | rxe_loc.h | 61 void rxe_mr_init(int access, struct rxe_mr *mr); 62 void rxe_mr_init_dma(int access, struct rxe_mr *mr); 64 int access, struct rxe_mr *mr); 65 int rxe_mr_init_fast(int max_pages, struct rxe_mr *mr); 66 int rxe_flush_pmem_iova(struct rxe_mr *mr, u64 iova, unsigned int length); 67 int rxe_mr_copy(struct rxe_mr *mr, u64 iova, void *addr, 73 enum resp_states rxe_mr_do_atomic_op(struct rxe_mr *mr, u64 iova, int opcode, 75 enum resp_states rxe_mr_do_atomic_write(struct rxe_mr *mr, u64 iova, u64 value); 76 struct rxe_mr *lookup_mr(struct rxe_pd *pd, int access, u32 key, 78 int mr_check_range(struct rxe_mr *mr, u64 iova, size_t length); [all …]
|
| H A D | rxe_mr.c | 27 int mr_check_range(struct rxe_mr *mr, u64 iova, size_t length) in mr_check_range() 48 void rxe_mr_init(int access, struct rxe_mr *mr) in rxe_mr_init() 67 void rxe_mr_init_dma(int access, struct rxe_mr *mr) in rxe_mr_init_dma() 89 static unsigned long rxe_mr_iova_to_index(struct rxe_mr *mr, u64 iova) in rxe_mr_iova_to_index() 109 static unsigned long rxe_mr_iova_to_page_offset(struct rxe_mr *mr, u64 iova) in rxe_mr_iova_to_page_offset() 126 static int rxe_mr_fill_pages_from_sgt(struct rxe_mr *mr, struct sg_table *sgt) in rxe_mr_fill_pages_from_sgt() 157 static int __alloc_mr_page_info(struct rxe_mr *mr, int num_pages) in __alloc_mr_page_info() 169 static int alloc_mr_page_info(struct rxe_mr *mr, int num_pages) in alloc_mr_page_info() 183 static void free_mr_page_info(struct rxe_mr *mr) in free_mr_page_info() 193 int access, struct rxe_mr *mr) in rxe_mr_init_user() [all …]
|
| H A D | rxe_odp.c | 44 static int rxe_odp_do_pagefault_and_lock(struct rxe_mr *mr, u64 user_va, int bcnt, u32 flags) in rxe_odp_do_pagefault_and_lock() 64 static int rxe_odp_init_pages(struct rxe_mr *mr) in rxe_odp_init_pages() 80 u64 iova, int access_flags, struct rxe_mr *mr) in rxe_odp_mr_init_user() 159 static int rxe_odp_map_range_and_lock(struct rxe_mr *mr, u64 iova, int length, u32 flags) in rxe_odp_map_range_and_lock() 190 static int __rxe_odp_mr_copy(struct rxe_mr *mr, u64 iova, void *addr, in __rxe_odp_mr_copy() 226 int rxe_odp_mr_copy(struct rxe_mr *mr, u64 iova, void *addr, int length, in rxe_odp_mr_copy() 262 static enum resp_states rxe_odp_do_atomic_op(struct rxe_mr *mr, u64 iova, in rxe_odp_do_atomic_op() 313 enum resp_states rxe_odp_atomic_op(struct rxe_mr *mr, u64 iova, int opcode, in rxe_odp_atomic_op() 331 int rxe_odp_flush_pmem_iova(struct rxe_mr *mr, u64 iova, in rxe_odp_flush_pmem_iova() 369 enum resp_states rxe_odp_do_atomic_write(struct rxe_mr *mr, u64 iova, u64 value) in rxe_odp_do_atomic_write() [all …]
|
| H A D | rxe_verbs.h | 217 struct rxe_mr *mr; 343 struct rxe_mr { struct 367 static inline unsigned int mr_page_size(struct rxe_mr *mr) in mr_page_size() argument 384 struct rxe_mr *mr; 498 static inline struct rxe_mr *to_rmr(struct ib_mr *mr) in to_rmr() 500 return mr ? container_of(mr, struct rxe_mr, ibmr) : NULL; in to_rmr() 513 static inline struct rxe_pd *mr_pd(struct rxe_mr *mr) in mr_pd()
|
| H A D | rxe_mw.c | 51 struct rxe_mw *mw, struct rxe_mr *mr, int access) in rxe_check_bind_mw() 136 struct rxe_mw *mw, struct rxe_mr *mr, int access) in rxe_do_bind_mw() 168 struct rxe_mr *mr; in rxe_bind_mw() 239 struct rxe_mr *mr; in rxe_do_invalidate_mw() 320 struct rxe_mr *mr = mw->mr; in rxe_mw_cleanup()
|
| H A D | rxe_pool.c | 74 .size = sizeof(struct rxe_mr), 75 .elem_offset = offsetof(struct rxe_mr, elem),
|
| H A D | Makefile | 17 rxe_mr.o \
|
| H A D | rxe_resp.c | 433 struct rxe_mr *mr = NULL; in check_rkey() 649 struct rxe_mr *mr = qp->resp.mr; in process_flush() 693 struct rxe_mr *mr = qp->resp.mr; in atomic_reply() 735 struct rxe_mr *mr; in atomic_write_reply() 844 static struct rxe_mr *rxe_recheck_mr(struct rxe_qp *qp, u32 rkey) in rxe_recheck_mr() 847 struct rxe_mr *mr; in rxe_recheck_mr() 894 struct rxe_mr *mr; in read_reply()
|
| H A D | rxe_verbs.c | 1245 struct rxe_mr *mr; in rxe_get_dma_mr() 1279 struct rxe_mr *mr; in rxe_reg_user_mr() 1332 struct rxe_mr *mr = to_rmr(ibmr); in rxe_rereg_user_mr() 1366 struct rxe_mr *mr; in rxe_alloc_mr() 1410 struct rxe_mr *mr = to_rmr(ibmr); in rxe_dereg_mr()
|