Home
last modified time | relevance | path

Searched refs:ib_mr (Results 1 – 25 of 76) sorted by relevance

1234

/linux/drivers/infiniband/sw/rdmavt/
A Dmr.h12 struct ib_mr ibmr;
17 static inline struct rvt_mr *to_imr(struct ib_mr *ibmr) in to_imr()
26 struct ib_mr *rvt_get_dma_mr(struct ib_pd *pd, int acc);
27 struct ib_mr *rvt_reg_user_mr(struct ib_pd *pd, u64 start, u64 length,
30 int rvt_dereg_mr(struct ib_mr *ibmr, struct ib_udata *udata);
31 struct ib_mr *rvt_alloc_mr(struct ib_pd *pd, enum ib_mr_type mr_type,
33 int rvt_map_mr_sg(struct ib_mr *ibmr, struct scatterlist *sg,
A Dmr.c286 struct ib_mr *rvt_get_dma_mr(struct ib_pd *pd, int acc) in rvt_get_dma_mr()
289 struct ib_mr *ret; in rvt_get_dma_mr()
336 struct ib_mr *rvt_reg_user_mr(struct ib_pd *pd, u64 start, u64 length, in rvt_reg_user_mr()
344 struct ib_mr *ret; in rvt_reg_user_mr()
357 ret = (struct ib_mr *)mr; in rvt_reg_user_mr()
509 int rvt_dereg_mr(struct ib_mr *ibmr, struct ib_udata *udata) in rvt_dereg_mr()
535 struct ib_mr *rvt_alloc_mr(struct ib_pd *pd, enum ib_mr_type mr_type, in rvt_alloc_mr()
545 return (struct ib_mr *)mr; in rvt_alloc_mr()
557 static int rvt_set_page(struct ib_mr *ibmr, u64 addr) in rvt_set_page()
588 int rvt_map_mr_sg(struct ib_mr *ibmr, struct scatterlist *sg, in rvt_map_mr_sg()
[all …]
/linux/drivers/infiniband/core/
A Dmr_pool.c8 struct ib_mr *ib_mr_pool_get(struct ib_qp *qp, struct list_head *list) in ib_mr_pool_get()
10 struct ib_mr *mr; in ib_mr_pool_get()
14 mr = list_first_entry_or_null(list, struct ib_mr, qp_entry); in ib_mr_pool_get()
25 void ib_mr_pool_put(struct ib_qp *qp, struct list_head *list, struct ib_mr *mr) in ib_mr_pool_put()
39 struct ib_mr *mr; in ib_mr_pool_init()
68 struct ib_mr *mr; in ib_mr_pool_destroy()
73 mr = list_first_entry(list, struct ib_mr, qp_entry); in ib_mr_pool_destroy()
A Duverbs_std_types_mr.c43 return ib_dereg_mr_user((struct ib_mr *)uobject->object, in uverbs_free_mr()
95 struct ib_mr *mr; in UVERBS_HANDLER()
159 struct ib_mr *mr = in UVERBS_HANDLER()
197 struct ib_mr *mr; in UVERBS_HANDLER()
/linux/drivers/infiniband/hw/ocrdma/
A Docrdma_verbs.h99 int ocrdma_dereg_mr(struct ib_mr *ib_mr, struct ib_udata *udata);
100 struct ib_mr *ocrdma_get_dma_mr(struct ib_pd *, int acc);
101 struct ib_mr *ocrdma_reg_user_mr(struct ib_pd *, u64 start, u64 length,
103 struct ib_mr *ocrdma_alloc_mr(struct ib_pd *pd, enum ib_mr_type mr_type,
105 int ocrdma_map_mr_sg(struct ib_mr *ibmr, struct scatterlist *sg, int sg_nents,
/linux/drivers/infiniband/hw/bnxt_re/
A Dib_verbs.h111 struct ib_mr ib_mr; member
197 struct ib_mr *bnxt_re_get_dma_mr(struct ib_pd *pd, int mr_access_flags);
199 int bnxt_re_map_mr_sg(struct ib_mr *ib_mr, struct scatterlist *sg, int sg_nents,
201 struct ib_mr *bnxt_re_alloc_mr(struct ib_pd *ib_pd, enum ib_mr_type mr_type,
203 int bnxt_re_dereg_mr(struct ib_mr *mr, struct ib_udata *udata);
207 struct ib_mr *bnxt_re_reg_user_mr(struct ib_pd *pd, u64 start, u64 length,
A Dib_verbs.c392 struct ib_mr *ib_mr = &fence->mr->ib_mr; in bnxt_re_create_fence_wqe() local
453 if (mr->ib_mr.rkey) in bnxt_re_destroy_fence_mr()
456 if (mr->ib_mr.lkey) in bnxt_re_destroy_fence_mr()
3606 mr->ib_mr.rkey = mr->ib_mr.lkey; in bnxt_re_get_dma_mr()
3609 return &mr->ib_mr; in bnxt_re_get_dma_mr()
3618 int bnxt_re_dereg_mr(struct ib_mr *ib_mr, struct ib_udata *udata) in bnxt_re_dereg_mr() argument
3620 struct bnxt_re_mr *mr = container_of(ib_mr, struct bnxt_re_mr, ib_mr); in bnxt_re_dereg_mr()
3644 static int bnxt_re_set_page(struct ib_mr *ib_mr, u64 addr) in bnxt_re_set_page() argument
3693 mr->ib_mr.rkey = mr->ib_mr.lkey; in bnxt_re_alloc_mr()
3709 return &mr->ib_mr; in bnxt_re_alloc_mr()
[all …]
/linux/drivers/infiniband/hw/qedr/
A Dverbs.h78 int qedr_dereg_mr(struct ib_mr *ib_mr, struct ib_udata *udata);
79 struct ib_mr *qedr_get_dma_mr(struct ib_pd *, int acc);
81 struct ib_mr *qedr_reg_user_mr(struct ib_pd *, u64 start, u64 length,
84 int qedr_map_mr_sg(struct ib_mr *ibmr, struct scatterlist *sg,
87 struct ib_mr *qedr_alloc_mr(struct ib_pd *pd, enum ib_mr_type mr_type,
/linux/drivers/infiniband/sw/siw/
A Dsiw_verbs.h67 struct ib_mr *siw_reg_user_mr(struct ib_pd *base_pd, u64 start, u64 len,
69 struct ib_mr *siw_alloc_mr(struct ib_pd *base_pd, enum ib_mr_type mr_type,
71 struct ib_mr *siw_get_dma_mr(struct ib_pd *base_pd, int rights);
72 int siw_map_mr_sg(struct ib_mr *base_mr, struct scatterlist *sl, int num_sle,
74 int siw_dereg_mr(struct ib_mr *base_mr, struct ib_udata *udata);
/linux/net/rds/
A Dib_rdma.c45 struct ib_mr *mr;
573 struct ib_mr *ib_mr; in rds_ib_get_mr() local
580 ib_mr = ib_reg_user_mr(rds_ibdev->pd, start, length, virt_addr, in rds_ib_get_mr()
583 if (IS_ERR(ib_mr)) { in rds_ib_get_mr()
585 IS_ERR(ib_mr)); in rds_ib_get_mr()
586 ret = PTR_ERR(ib_mr); in rds_ib_get_mr()
590 *key_ret = ib_mr->rkey; in rds_ib_get_mr()
594 ib_dereg_mr(ib_mr); in rds_ib_get_mr()
598 ibmr->u.mr = ib_mr; in rds_ib_get_mr()
603 sge.lkey = ib_mr->lkey; in rds_ib_get_mr()
A Dib_mr.h53 struct ib_mr *mr;
84 struct ib_mr *mr;
/linux/drivers/infiniband/hw/vmw_pvrdma/
A Dpvrdma_mr.c58 struct ib_mr *pvrdma_get_dma_mr(struct ib_pd *pd, int acc) in pvrdma_get_dma_mr()
111 struct ib_mr *pvrdma_reg_user_mr(struct ib_pd *pd, u64 start, u64 length, in pvrdma_reg_user_mr()
204 struct ib_mr *pvrdma_alloc_mr(struct ib_pd *pd, enum ib_mr_type mr_type, in pvrdma_alloc_mr()
277 int pvrdma_dereg_mr(struct ib_mr *ibmr, struct ib_udata *udata) in pvrdma_dereg_mr()
302 static int pvrdma_set_page(struct ib_mr *ibmr, u64 addr) in pvrdma_set_page()
313 int pvrdma_map_mr_sg(struct ib_mr *ibmr, struct scatterlist *sg, int sg_nents, in pvrdma_map_mr_sg()
A Dpvrdma_verbs.h368 struct ib_mr *pvrdma_get_dma_mr(struct ib_pd *pd, int acc);
369 struct ib_mr *pvrdma_reg_user_mr(struct ib_pd *pd, u64 start, u64 length,
372 int pvrdma_dereg_mr(struct ib_mr *mr, struct ib_udata *udata);
373 struct ib_mr *pvrdma_alloc_mr(struct ib_pd *pd, enum ib_mr_type mr_type,
375 int pvrdma_map_mr_sg(struct ib_mr *ibmr, struct scatterlist *sg,
/linux/drivers/infiniband/hw/efa/
A Defa.h84 struct ib_mr ibmr;
154 struct ib_mr *efa_reg_mr(struct ib_pd *ibpd, u64 start, u64 length,
157 struct ib_mr *efa_reg_user_mr_dmabuf(struct ib_pd *ibpd, u64 start,
161 int efa_dereg_mr(struct ib_mr *ibmr, struct ib_udata *udata);
/linux/include/rdma/
A Dmr_pool.h10 struct ib_mr *ib_mr_pool_get(struct ib_qp *qp, struct list_head *list);
11 void ib_mr_pool_put(struct ib_qp *qp, struct list_head *list, struct ib_mr *mr);
A Dib_verbs.h1417 struct ib_mr *mr;
1536 struct ib_mr *__internal_mr;
1800 struct ib_mr { struct
2464 struct ib_mr *(*rereg_user_mr)(struct ib_mr *mr, int flags, u64 start,
2468 int (*dereg_mr)(struct ib_mr *mr, struct ib_udata *udata);
2471 struct ib_mr *(*alloc_mr_integrity)(struct ib_pd *pd,
2488 int (*check_mr_status)(struct ib_mr *mr, u32 check_mask,
2535 struct ib_mr *(*reg_dm_mr)(struct ib_pd *pd, struct ib_dm *dm,
4239 static inline int ib_dereg_mr(struct ib_mr *mr) in ib_dereg_mr()
4247 struct ib_mr *ib_alloc_mr_integrity(struct ib_pd *pd,
[all …]
/linux/drivers/infiniband/hw/mlx4/
A Dmr.c58 struct ib_mr *mlx4_ib_get_dma_mr(struct ib_pd *pd, int acc) in mlx4_ib_get_dma_mr()
406 struct ib_mr *mlx4_ib_reg_user_mr(struct ib_pd *pd, u64 start, u64 length, in mlx4_ib_reg_user_mr()
459 struct ib_mr *mlx4_ib_rereg_user_mr(struct ib_mr *mr, int flags, u64 start, in mlx4_ib_rereg_user_mr()
597 int mlx4_ib_dereg_mr(struct ib_mr *ibmr, struct ib_udata *udata) in mlx4_ib_dereg_mr()
645 struct ib_mr *mlx4_ib_alloc_mr(struct ib_pd *pd, enum ib_mr_type mr_type, in mlx4_ib_alloc_mr()
689 static int mlx4_set_page(struct ib_mr *ibmr, u64 addr) in mlx4_set_page()
701 int mlx4_ib_map_mr_sg(struct ib_mr *ibmr, struct scatterlist *sg, int sg_nents, in mlx4_ib_map_mr_sg()
A Dmlx4_ib.h134 struct ib_mr ibmr;
698 static inline struct mlx4_ib_mr *to_mmr(struct ib_mr *ibmr) in to_mmr()
752 struct ib_mr *mlx4_ib_get_dma_mr(struct ib_pd *pd, int acc);
755 struct ib_mr *mlx4_ib_reg_user_mr(struct ib_pd *pd, u64 start, u64 length,
758 int mlx4_ib_dereg_mr(struct ib_mr *mr, struct ib_udata *udata);
761 struct ib_mr *mlx4_ib_alloc_mr(struct ib_pd *pd, enum ib_mr_type mr_type,
763 int mlx4_ib_map_mr_sg(struct ib_mr *ibmr, struct scatterlist *sg, int sg_nents,
910 struct ib_mr *mlx4_ib_rereg_user_mr(struct ib_mr *mr, int flags, u64 start,
/linux/drivers/infiniband/hw/mlx5/
A Dmlx5_ib.h662 struct ib_mr ibmr;
1209 static inline struct mlx5_ib_mr *to_mmr(struct ib_mr *ibmr) in to_mmr()
1277 struct ib_mr *mlx5_ib_get_dma_mr(struct ib_pd *pd, int acc);
1281 struct ib_mr *mlx5_ib_reg_user_mr_dmabuf(struct ib_pd *pd, u64 start,
1300 struct ib_mr *mlx5_ib_rereg_user_mr(struct ib_mr *ib_mr, int flags, u64 start,
1303 int mlx5_ib_dereg_mr(struct ib_mr *ibmr, struct ib_udata *udata);
1304 struct ib_mr *mlx5_ib_alloc_mr(struct ib_pd *pd, enum ib_mr_type mr_type,
1306 struct ib_mr *mlx5_ib_alloc_mr_integrity(struct ib_pd *pd,
1311 int mlx5_ib_map_mr_sg_pi(struct ib_mr *ibmr, struct scatterlist *data_sg,
1348 int mlx5_ib_check_mr_status(struct ib_mr *ibmr, u32 check_mask,
[all …]
A Drestrack.c81 static int fill_stat_mr_entry(struct sk_buff *msg, struct ib_mr *ibmr) in fill_stat_mr_entry()
115 static int fill_res_mr_entry_raw(struct sk_buff *msg, struct ib_mr *ibmr) in fill_res_mr_entry_raw()
123 static int fill_res_mr_entry(struct sk_buff *msg, struct ib_mr *ibmr) in fill_res_mr_entry()
A Dmr.c789 struct ib_mr *mlx5_ib_get_dma_mr(struct ib_pd *pd, int acc) in mlx5_ib_get_dma_mr()
1779 struct ib_mr *mlx5_ib_rereg_user_mr(struct ib_mr *ib_mr, int flags, u64 start, in mlx5_ib_rereg_user_mr() argument
1784 struct mlx5_ib_dev *dev = to_mdev(ib_mr->device); in mlx5_ib_rereg_user_mr()
1785 struct mlx5_ib_mr *mr = to_mmr(ib_mr); in mlx5_ib_rereg_user_mr()
1802 new_pd = ib_mr->pd; in mlx5_ib_rereg_user_mr()
1922 int mlx5_ib_dereg_mr(struct ib_mr *ibmr, struct ib_udata *udata) in mlx5_ib_dereg_mr()
2187 static struct ib_mr *__mlx5_ib_alloc_mr(struct ib_pd *pd, in __mlx5_ib_alloc_mr()
2247 struct ib_mr *mlx5_ib_alloc_mr_integrity(struct ib_pd *pd, in mlx5_ib_alloc_mr_integrity()
2348 int mlx5_ib_check_mr_status(struct ib_mr *ibmr, u32 check_mask, in mlx5_ib_check_mr_status()
2483 static int mlx5_set_page(struct ib_mr *ibmr, u64 addr) in mlx5_set_page()
[all …]
/linux/drivers/infiniband/hw/usnic/
A Dusnic_ib.h69 struct ib_mr ibmr;
125 struct usnic_ib_mr *to_umr(struct ib_mr *ibmr) in to_umr()
A Dusnic_ib_verbs.h61 struct ib_mr *usnic_ib_reg_mr(struct ib_pd *pd, u64 start, u64 length,
64 int usnic_ib_dereg_mr(struct ib_mr *ibmr, struct ib_udata *udata);
/linux/drivers/infiniband/hw/cxgb4/
A Diw_cxgb4.h391 struct ib_mr ibmr;
404 static inline struct c4iw_mr *to_c4iw_mr(struct ib_mr *ibmr) in to_c4iw_mr()
971 struct ib_mr *c4iw_alloc_mr(struct ib_pd *pd, enum ib_mr_type mr_type,
973 int c4iw_map_mr_sg(struct ib_mr *ibmr, struct scatterlist *sg, int sg_nents,
976 struct ib_mr *c4iw_reg_user_mr(struct ib_pd *pd, u64 start,
979 struct ib_mr *c4iw_get_dma_mr(struct ib_pd *pd, int acc);
980 int c4iw_dereg_mr(struct ib_mr *ib_mr, struct ib_udata *udata);
1042 int c4iw_fill_res_mr_entry(struct sk_buff *msg, struct ib_mr *ibmr);
A Dmem.c430 struct ib_mr *c4iw_get_dma_mr(struct ib_pd *pd, int acc) in c4iw_get_dma_mr()
491 struct ib_mr *c4iw_reg_user_mr(struct ib_pd *pd, u64 start, u64 length, in c4iw_reg_user_mr()
598 struct ib_mr *c4iw_alloc_mr(struct ib_pd *pd, enum ib_mr_type mr_type, in c4iw_alloc_mr()
678 static int c4iw_set_page(struct ib_mr *ibmr, u64 addr) in c4iw_set_page()
690 int c4iw_map_mr_sg(struct ib_mr *ibmr, struct scatterlist *sg, int sg_nents, in c4iw_map_mr_sg()
700 int c4iw_dereg_mr(struct ib_mr *ib_mr, struct ib_udata *udata) in c4iw_dereg_mr() argument
706 pr_debug("ib_mr %p\n", ib_mr); in c4iw_dereg_mr()
708 mhp = to_c4iw_mr(ib_mr); in c4iw_dereg_mr()

Completed in 83 milliseconds

1234