rxe_mr
static inline bool is_odp_mr(struct rxe_mr *mr)
u64 iova, int access_flags, struct rxe_mr *mr);
int rxe_odp_mr_copy(struct rxe_mr *mr, u64 iova, void *addr, int length,
enum resp_states rxe_odp_atomic_op(struct rxe_mr *mr, u64 iova, int opcode,
int rxe_odp_flush_pmem_iova(struct rxe_mr *mr, u64 iova,
enum resp_states rxe_odp_do_atomic_write(struct rxe_mr *mr, u64 iova, u64 value);
int access_flags, struct rxe_mr *mr)
static inline int rxe_odp_mr_copy(struct rxe_mr *mr, u64 iova, void *addr,
rxe_odp_atomic_op(struct rxe_mr *mr, u64 iova, int opcode,
static inline int rxe_odp_flush_pmem_iova(struct rxe_mr *mr, u64 iova,
static inline enum resp_states rxe_odp_do_atomic_write(struct rxe_mr *mr,
void rxe_mr_init(int access, struct rxe_mr *mr);
void rxe_mr_init_dma(int access, struct rxe_mr *mr);
int access, struct rxe_mr *mr);
int rxe_mr_init_fast(int max_pages, struct rxe_mr *mr);
int rxe_flush_pmem_iova(struct rxe_mr *mr, u64 iova, unsigned int length);
int rxe_mr_copy(struct rxe_mr *mr, u64 iova, void *addr,
enum resp_states rxe_mr_do_atomic_op(struct rxe_mr *mr, u64 iova, int opcode,
enum resp_states rxe_mr_do_atomic_write(struct rxe_mr *mr, u64 iova, u64 value);
struct rxe_mr *lookup_mr(struct rxe_pd *pd, int access, u32 key,
int mr_check_range(struct rxe_mr *mr, u64 iova, size_t length);
static unsigned long rxe_mr_iova_to_page_offset(struct rxe_mr *mr, u64 iova)
static int rxe_mr_fill_pages_from_sgt(struct rxe_mr *mr, struct sg_table *sgt)
static int __alloc_mr_page_info(struct rxe_mr *mr, int num_pages)
static int alloc_mr_page_info(struct rxe_mr *mr, int num_pages)
static void free_mr_page_info(struct rxe_mr *mr)
int access, struct rxe_mr *mr)
int rxe_mr_init_fast(int max_pages, struct rxe_mr *mr)
struct rxe_mr *mr = to_rmr(ibmr);
int mr_check_range(struct rxe_mr *mr, u64 iova, size_t length)
struct rxe_mr *mr = to_rmr(ibmr);
static int rxe_mr_copy_xarray(struct rxe_mr *mr, u64 iova, void *addr,
static void rxe_mr_copy_dma(struct rxe_mr *mr, u64 dma_addr, void *addr,
int rxe_mr_copy(struct rxe_mr *mr, u64 iova, void *addr,
struct rxe_mr *mr = NULL;
void rxe_mr_init(int access, struct rxe_mr *mr)
static int rxe_mr_flush_pmem_iova(struct rxe_mr *mr, u64 iova, unsigned int length)
int rxe_flush_pmem_iova(struct rxe_mr *mr, u64 start, unsigned int length)
enum resp_states rxe_mr_do_atomic_op(struct rxe_mr *mr, u64 iova, int opcode,
enum resp_states rxe_mr_do_atomic_write(struct rxe_mr *mr, u64 iova, u64 value)
void rxe_mr_init_dma(int access, struct rxe_mr *mr)
struct rxe_mr *lookup_mr(struct rxe_pd *pd, int access, u32 key,
struct rxe_mr *mr;
struct rxe_mr *mr;
struct rxe_mr *mr = to_rmr(wqe->wr.wr.reg.mr);
struct rxe_mr *mr = container_of(elem, typeof(*mr), elem);
static unsigned long rxe_mr_iova_to_index(struct rxe_mr *mr, u64 iova)
struct rxe_mw *mw, struct rxe_mr *mr, int access)
struct rxe_mr *mr;
struct rxe_mr *mr;
struct rxe_mr *mr = mw->mr;
struct rxe_mw *mw, struct rxe_mr *mr, int access)
static int rxe_odp_map_range_and_lock(struct rxe_mr *mr, u64 iova, int length, u32 flags)
static int __rxe_odp_mr_copy(struct rxe_mr *mr, u64 iova, void *addr,
int rxe_odp_mr_copy(struct rxe_mr *mr, u64 iova, void *addr, int length,
static enum resp_states rxe_odp_do_atomic_op(struct rxe_mr *mr, u64 iova,
enum resp_states rxe_odp_atomic_op(struct rxe_mr *mr, u64 iova, int opcode,
int rxe_odp_flush_pmem_iova(struct rxe_mr *mr, u64 iova,
enum resp_states rxe_odp_do_atomic_write(struct rxe_mr *mr, u64 iova, u64 value)
struct rxe_mr *mr;
static int rxe_odp_do_pagefault_and_lock(struct rxe_mr *mr, u64 user_va, int bcnt, u32 flags)
struct rxe_mr *mr;
struct rxe_mr *mr;
static int rxe_odp_init_pages(struct rxe_mr *mr)
u64 iova, int access_flags, struct rxe_mr *mr)
.size = sizeof(struct rxe_mr),
.elem_offset = offsetof(struct rxe_mr, elem),
struct rxe_mr *mr = NULL;
struct rxe_mr *mr = qp->resp.mr;
struct rxe_mr *mr = qp->resp.mr;
struct rxe_mr *mr;
static struct rxe_mr *rxe_recheck_mr(struct rxe_qp *qp, u32 rkey)
struct rxe_mr *mr;
struct rxe_mr *mr;
struct rxe_mr *mr;
struct rxe_mr *mr;
struct rxe_mr *mr = to_rmr(ibmr);
struct rxe_mr *mr;
struct rxe_mr *mr = to_rmr(ibmr);
struct rxe_mr *mr;
static inline unsigned int mr_page_size(struct rxe_mr *mr)
struct rxe_mr *mr;
static inline struct rxe_mr *to_rmr(struct ib_mr *mr)
return mr ? container_of(mr, struct rxe_mr, ibmr) : NULL;
static inline struct rxe_pd *mr_pd(struct rxe_mr *mr)