#include "mana_ib.h"
#define VALID_MR_FLAGS …
static enum gdma_mr_access_flags
mana_ib_verbs_to_gdma_access_flags(int access_flags)
{ … }
static int mana_ib_gd_create_mr(struct mana_ib_dev *dev, struct mana_ib_mr *mr,
struct gdma_create_mr_params *mr_params)
{ … }
static int mana_ib_gd_destroy_mr(struct mana_ib_dev *dev, u64 mr_handle)
{ … }
struct ib_mr *mana_ib_reg_user_mr(struct ib_pd *ibpd, u64 start, u64 length,
u64 iova, int access_flags,
struct ib_udata *udata)
{ … }
int mana_ib_dereg_mr(struct ib_mr *ibmr, struct ib_udata *udata)
{ … }