/drivers/infiniband/sw/rxe/ |
D | rxe_mr.c | 27 int mr_check_range(struct rxe_mr *mr, u64 iova, size_t length) in mr_check_range() 48 static 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() 75 static unsigned long rxe_mr_iova_to_index(struct rxe_mr *mr, u64 iova) in rxe_mr_iova_to_index() 80 static unsigned long rxe_mr_iova_to_page_offset(struct rxe_mr *mr, u64 iova) in rxe_mr_iova_to_page_offset() 94 static int rxe_mr_fill_pages_from_sgt(struct rxe_mr *mr, struct sg_table *sgt) in rxe_mr_fill_pages_from_sgt() 130 int access, struct rxe_mr *mr) in rxe_mr_init_user() 159 static int rxe_mr_alloc(struct rxe_mr *mr, int num_buf) in rxe_mr_alloc() 188 int rxe_mr_init_fast(int max_pages, struct rxe_mr *mr) in rxe_mr_init_fast() 210 struct rxe_mr *mr = to_rmr(ibmr); in rxe_set_page() local [all …]
|
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() local 239 struct rxe_mr *mr; in rxe_do_invalidate_mw() local 320 struct rxe_mr *mr = mw->mr; in rxe_mw_cleanup() local
|
D | rxe_resp.c | 443 struct rxe_mr *mr = NULL; in check_rkey() local 659 struct rxe_mr *mr = qp->resp.mr; in process_flush() local 703 struct rxe_mr *mr = qp->resp.mr; in atomic_reply() local 739 struct rxe_mr *mr; in atomic_write_reply() local 842 struct rxe_mr *mr; in rxe_recheck_mr() local 889 struct rxe_mr *mr; in read_reply() local
|
/drivers/infiniband/sw/rdmavt/ |
D | mr.c | 75 static void rvt_deinit_mregion(struct rvt_mregion *mr) in rvt_deinit_mregion() 87 struct rvt_mregion *mr = container_of(ref, struct rvt_mregion, in __rvt_mregion_complete() local 93 static int rvt_init_mregion(struct rvt_mregion *mr, struct ib_pd *pd, in rvt_init_mregion() 135 static int rvt_alloc_lkey(struct rvt_mregion *mr, int dma_region) in rvt_alloc_lkey() 205 static void rvt_free_lkey(struct rvt_mregion *mr) in rvt_free_lkey() 239 struct rvt_mr *mr; in __rvt_alloc_mr() local 272 static void __rvt_free_mr(struct rvt_mr *mr) in __rvt_free_mr() 288 struct rvt_mr *mr; in rvt_get_dma_mr() local 340 struct rvt_mr *mr; in rvt_reg_user_mr() local 409 struct rvt_mregion *mr = (struct rvt_mregion *)v; in rvt_dereg_clean_qp_cb() local [all …]
|
/drivers/vdpa/mlx5/core/ |
D | mr.c | 35 static void populate_mtts(struct mlx5_vdpa_direct_mr *mr, __be64 *mtt) in populate_mtts() 52 static int create_direct_mr(struct mlx5_vdpa_dev *mvdev, struct mlx5_vdpa_direct_mr *mr) in create_direct_mr() 89 static void destroy_direct_mr(struct mlx5_vdpa_dev *mvdev, struct mlx5_vdpa_direct_mr *mr) in destroy_direct_mr() 94 static u64 map_start(struct vhost_iotlb_map *map, struct mlx5_vdpa_direct_mr *mr) in map_start() 99 static u64 map_end(struct vhost_iotlb_map *map, struct mlx5_vdpa_direct_mr *mr) in map_end() 104 static u64 maplen(struct vhost_iotlb_map *map, struct mlx5_vdpa_direct_mr *mr) in maplen() 182 static int create_indirect_key(struct mlx5_vdpa_dev *mvdev, struct mlx5_vdpa_mr *mr) in create_indirect_key() 223 static int map_direct_mr(struct mlx5_vdpa_dev *mvdev, struct mlx5_vdpa_direct_mr *mr, in map_direct_mr() 295 static void unmap_direct_mr(struct mlx5_vdpa_dev *mvdev, struct mlx5_vdpa_direct_mr *mr) in unmap_direct_mr() 307 struct mlx5_vdpa_mr *mr = &mvdev->mr; in add_direct_chain() local [all …]
|
/drivers/infiniband/hw/mlx5/ |
D | mr.c | 126 static int destroy_mkey(struct mlx5_ib_dev *dev, struct mlx5_ib_mr *mr) in destroy_mkey() 748 struct mlx5_ib_mr *mr; in _mlx5_mr_cache_alloc() local 1067 struct mlx5_ib_mr *mr; in mlx5_ib_get_dma_mr() local 1128 static void set_mr_fields(struct mlx5_ib_dev *dev, struct mlx5_ib_mr *mr, in set_mr_fields() 1159 struct mlx5_ib_mr *mr; in alloc_cacheable_mr() local 1209 struct mlx5_ib_mr *mr; in reg_create() local 1297 struct mlx5_ib_mr *mr; in mlx5_ib_get_dm_mr() local 1391 struct mlx5_ib_mr *mr = NULL; in create_real_mr() local 1436 struct mlx5_ib_mr *mr; in create_user_odp_mr() local 1513 struct mlx5_ib_mr *mr = umem_dmabuf->private; in mlx5_ib_dmabuf_invalidate_cb() local [all …]
|
D | odp.c | 159 struct mlx5_ib_mr *mr, int flags) in populate_mtt() 175 struct mlx5_ib_mr *mr, int flags) in mlx5_odp_populate_xlt() 192 struct mlx5_ib_mr *mr = in free_implicit_child_mr_work() local 210 static void destroy_unused_implicit_child_mr(struct mlx5_ib_mr *mr) in destroy_unused_implicit_child_mr() 232 struct mlx5_ib_mr *mr; in mlx5_ib_invalidate_range() local 410 struct mlx5_ib_mr *mr; in implicit_get_child_mr() local 534 void mlx5_ib_free_odp_mr(struct mlx5_ib_mr *mr) in mlx5_ib_free_odp_mr() 552 static int pagefault_real_mr(struct mlx5_ib_mr *mr, struct ib_umem_odp *odp, in pagefault_real_mr() 690 static int pagefault_dmabuf_mr(struct mlx5_ib_mr *mr, size_t bcnt, in pagefault_dmabuf_mr() 735 static int pagefault_mr(struct mlx5_ib_mr *mr, u64 io_virt, size_t bcnt, in pagefault_mr() [all …]
|
D | umr.c | 358 int mlx5r_umr_revoke_mr(struct mlx5_ib_mr *mr) in mlx5r_umr_revoke_mr() 397 int mlx5r_umr_rereg_pd_access(struct mlx5_ib_mr *mr, struct ib_pd *pd, in mlx5r_umr_rereg_pd_access() 542 struct mlx5_ib_mr *mr, in mlx5r_umr_set_update_xlt_mkey_seg() 575 struct mlx5_ib_mr *mr, struct ib_sge *sg, in mlx5r_umr_final_update_xlt() 611 int mlx5r_umr_update_mr_pas(struct mlx5_ib_mr *mr, unsigned int flags) in mlx5r_umr_update_mr_pas() 688 int mlx5r_umr_update_xlt(struct mlx5_ib_mr *mr, u64 idx, int npages, in mlx5r_umr_update_xlt()
|
D | restrack.c | 83 struct mlx5_ib_mr *mr = to_mmr(ibmr); in fill_stat_mr_entry() local 117 struct mlx5_ib_mr *mr = to_mmr(ibmr); in fill_res_mr_entry_raw() local 125 struct mlx5_ib_mr *mr = to_mmr(ibmr); in fill_res_mr_entry() local
|
/drivers/rtc/ |
D | rtc-at91sam9.c | 133 u32 offset, alarm, mr; in at91_rtc_settime() local 205 u32 mr; in at91_rtc_setalarm() local 236 u32 mr = rtt_readl(rtc, MR); in at91_rtc_alarm_irq_enable() local 252 u32 mr = rtt_readl(rtc, MR); in at91_rtc_proc() local 261 u32 sr, mr; in at91_rtc_cache_events() local 339 u32 mr; in at91_rtc_probe() local 448 u32 mr = rtt_readl(rtc, MR); in at91_rtc_remove() local 459 u32 mr = rtt_readl(rtc, MR); in at91_rtc_shutdown() local 472 u32 mr = rtt_readl(rtc, MR); in at91_rtc_suspend() local 501 u32 mr; in at91_rtc_resume() local
|
/drivers/infiniband/hw/vmw_pvrdma/ |
D | pvrdma_mr.c | 61 struct pvrdma_user_mr *mr; in pvrdma_get_dma_mr() local 116 struct pvrdma_user_mr *mr = NULL; in pvrdma_reg_user_mr() local 208 struct pvrdma_user_mr *mr; in pvrdma_alloc_mr() local 279 struct pvrdma_user_mr *mr = to_vmr(ibmr); in pvrdma_dereg_mr() local 304 struct pvrdma_user_mr *mr = to_vmr(ibmr); in pvrdma_set_page() local 316 struct pvrdma_user_mr *mr = to_vmr(ibmr); in pvrdma_map_mr_sg() local
|
/drivers/infiniband/hw/mlx4/ |
D | mr.c | 60 struct mlx4_ib_mr *mr; in mlx4_ib_get_dma_mr() local 411 struct mlx4_ib_mr *mr; in mlx4_ib_reg_user_mr() local 458 struct ib_mr *mlx4_ib_rereg_user_mr(struct ib_mr *mr, int flags, u64 start, in mlx4_ib_rereg_user_mr() 550 struct mlx4_ib_mr *mr, in mlx4_alloc_priv_pages() 584 mlx4_free_priv_pages(struct mlx4_ib_mr *mr) in mlx4_free_priv_pages() 598 struct mlx4_ib_mr *mr = to_mmr(ibmr); in mlx4_ib_dereg_mr() local 648 struct mlx4_ib_mr *mr; in mlx4_ib_alloc_mr() local 690 struct mlx4_ib_mr *mr = to_mmr(ibmr); in mlx4_set_page() local 703 struct mlx4_ib_mr *mr = to_mmr(ibmr); in mlx4_ib_map_mr_sg() local
|
/drivers/infiniband/hw/hns/ |
D | hns_roce_mr.c | 51 static int alloc_mr_key(struct hns_roce_dev *hr_dev, struct hns_roce_mr *mr) in alloc_mr_key() 81 static void free_mr_key(struct hns_roce_dev *hr_dev, struct hns_roce_mr *mr) in free_mr_key() 89 static int alloc_mr_pbl(struct hns_roce_dev *hr_dev, struct hns_roce_mr *mr, in alloc_mr_pbl() 118 static void free_mr_pbl(struct hns_roce_dev *hr_dev, struct hns_roce_mr *mr) in free_mr_pbl() 123 static void hns_roce_mr_free(struct hns_roce_dev *hr_dev, struct hns_roce_mr *mr) in hns_roce_mr_free() 142 struct hns_roce_mr *mr) in hns_roce_mr_enable() 190 struct hns_roce_mr *mr; in hns_roce_get_dma_mr() local 227 struct hns_roce_mr *mr; in hns_roce_reg_user_mr() local 272 struct hns_roce_mr *mr = to_hr_mr(ibmr); in hns_roce_rereg_user_mr() local 342 struct hns_roce_mr *mr = to_hr_mr(ibmr); in hns_roce_dereg_mr() local [all …]
|
/drivers/scsi/ |
D | mesh.c | 305 volatile struct mesh_regs __iomem *mr = ms->mesh; in mesh_dump_regs() local 339 static inline void mesh_flush_io(volatile struct mesh_regs __iomem *mr) in mesh_flush_io() 351 volatile struct mesh_regs __iomem *mr = ms->mesh; in mesh_init() local 398 volatile struct mesh_regs __iomem *mr = ms->mesh; in mesh_start_cmd() local 635 volatile struct mesh_regs __iomem *mr = ms->mesh; in set_sdtr() local 676 volatile struct mesh_regs __iomem *mr = ms->mesh; in start_phase() local 820 volatile struct mesh_regs __iomem *mr = ms->mesh; in get_msgin() local 852 volatile struct mesh_regs __iomem *mr = ms->mesh; in reselected() local 985 volatile struct mesh_regs __iomem *mr = ms->mesh; in handle_reset() local 1028 volatile struct mesh_regs __iomem *mr = ms->mesh; in handle_error() local [all …]
|
/drivers/infiniband/core/ |
D | mr_pool.c | 10 struct ib_mr *mr; in ib_mr_pool_get() local 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() local 68 struct ib_mr *mr; in ib_mr_pool_destroy() local
|
D | uverbs_std_types_mr.c | 95 struct ib_mr *mr; in UVERBS_HANDLER() local 159 struct ib_mr *mr = in UVERBS_HANDLER() local 197 struct ib_mr *mr; in UVERBS_HANDLER() local
|
/drivers/gpu/drm/i915/gem/ |
D | i915_gem_create.c | 26 struct intel_memory_region *mr = placements[i]; in object_max_page_size() local 50 struct intel_memory_region *mr = placements[0]; in object_set_placements() local 96 struct intel_memory_region *mr = placements[0]; in __i915_gem_object_create_user_ext() local 173 struct intel_memory_region *mr; in i915_gem_dumb_create() local 231 struct intel_memory_region *mr; in i915_gem_create_ioctl() local 260 struct intel_memory_region *mr = placements[i]; in repr_placements() local 306 struct intel_memory_region *mr; in set_placements() local
|
D | i915_gem_pm.c | 50 struct intel_memory_region *mr; in lmem_restore() local 66 struct intel_memory_region *mr; in lmem_suspend() local 82 struct intel_memory_region *mr; in lmem_recover() local
|
D | i915_gem_ttm_pm.c | 132 void i915_ttm_recover_region(struct intel_memory_region *mr) in i915_ttm_recover_region() 154 int i915_ttm_backup_region(struct intel_memory_region *mr, u32 flags) in i915_ttm_backup_region() 221 int i915_ttm_restore_region(struct intel_memory_region *mr, u32 flags) in i915_ttm_restore_region()
|
D | i915_gem_lmem.c | 44 struct intel_memory_region *mr = READ_ONCE(obj->mm.region); in i915_gem_object_is_lmem() local 68 struct intel_memory_region *mr = READ_ONCE(obj->mm.region); in __i915_gem_object_is_lmem() local
|
/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_mr.c | 254 struct mlxsw_sp_mr *mr = mlxsw_sp->mr; in mlxsw_sp_mr_route_write() local 292 struct mlxsw_sp_mr *mr = mlxsw_sp->mr; in mlxsw_sp_mr_route_erase() local 485 struct mlxsw_sp_mr *mr = mlxsw_sp->mr; in mlxsw_sp_mr_route_ivif_resolve() local 519 struct mlxsw_sp_mr *mr = mlxsw_sp->mr; in mlxsw_sp_mr_route_ivif_unresolve() local 534 struct mlxsw_sp_mr *mr = mlxsw_sp->mr; in mlxsw_sp_mr_route_evif_resolve() local 593 struct mlxsw_sp_mr *mr = mlxsw_sp->mr; in mlxsw_sp_mr_route_evif_unresolve() local 751 struct mlxsw_sp_mr *mr = mlxsw_sp->mr; in mlxsw_sp_mr_rif_mtu_update() local 906 struct mlxsw_sp_mr *mr = mlxsw_sp->mr; in mlxsw_sp_mr_table_create() local 955 struct mlxsw_sp_mr *mr = mlxsw_sp->mr; in mlxsw_sp_mr_table_destroy() local 997 struct mlxsw_sp_mr *mr = mlxsw_sp->mr; in mlxsw_sp_mr_route_stats_update() local [all …]
|
/drivers/infiniband/hw/mana/ |
D | mr.c | 28 static int mana_ib_gd_create_mr(struct mana_ib_dev *dev, struct mana_ib_mr *mr, in mana_ib_gd_create_mr() 111 struct mana_ib_mr *mr; in mana_ib_reg_user_mr() local 181 struct mana_ib_mr *mr = container_of(ibmr, struct mana_ib_mr, ibmr); in mana_ib_dereg_mr() local
|
/drivers/gpu/drm/i915/ |
D | intel_memory_region.c | 148 struct intel_memory_region *mr; in intel_memory_region_lookup() local 164 struct intel_memory_region *mr; in intel_memory_region_by_type() local 193 void intel_memory_region_debug(struct intel_memory_region *mr, in intel_memory_region_debug() 280 void intel_memory_region_avail(struct intel_memory_region *mr, in intel_memory_region_avail()
|
/drivers/net/ethernet/mellanox/mlx4/ |
D | mr.c | 419 int page_shift, struct mlx4_mr *mr) in mlx4_mr_alloc_reserved() 528 int npages, int page_shift, struct mlx4_mr *mr) in mlx4_mr_alloc() 546 static int mlx4_mr_free_reserved(struct mlx4_dev *dev, struct mlx4_mr *mr) in mlx4_mr_free_reserved() 567 int mlx4_mr_free(struct mlx4_dev *dev, struct mlx4_mr *mr) in mlx4_mr_free() 582 void mlx4_mr_rereg_mem_cleanup(struct mlx4_dev *dev, struct mlx4_mr *mr) in mlx4_mr_rereg_mem_cleanup() 589 int mlx4_mr_rereg_mem_write(struct mlx4_dev *dev, struct mlx4_mr *mr, in mlx4_mr_rereg_mem_write() 627 int mlx4_mr_enable(struct mlx4_dev *dev, struct mlx4_mr *mr) in mlx4_mr_enable()
|
/drivers/infiniband/ulp/iser/ |
D | iser_memory.c | 236 static inline void iser_inv_rkey(struct ib_send_wr *inv_wr, struct ib_mr *mr, in iser_inv_rkey() 255 struct ib_mr *mr = rsc->sig_mr; in iser_reg_sig_mr() local 312 struct ib_mr *mr = rsc->mr; in iser_fast_reg_mr() local
|