Home
last modified time | relevance | path

Searched defs:mr (Results 1 – 25 of 140) sorted by relevance

123456

/linux/net/sunrpc/xprtrdma/
H A Dfrwr_ops.c49 struct rpcrdma_mr *mr) in frwr_cid_init()
57 static void frwr_mr_unmap(struct rpcrdma_mr *mr) in frwr_mr_unmap()
72 void frwr_mr_release(struct rpcrdma_mr *mr) in frwr_mr_release()
85 static void frwr_mr_put(struct rpcrdma_mr *mr) in frwr_mr_put()
108 struct rpcrdma_mr *mr; in frwr_reset() local
122 int frwr_mr_init(struct rpcrdma_xprt *r_xprt, struct rpcrdma_mr *mr) in frwr_mr_init()
288 struct rpcrdma_mr *mr) in frwr_map()
362 struct rpcrdma_mr *mr = container_of(cqe, struct rpcrdma_mr, mr_cqe); in frwr_wc_fastreg() local
388 struct rpcrdma_mr *mr; in frwr_send() local
431 struct rpcrdma_mr *mr; in frwr_reminv() local
[all …]
/linux/drivers/infiniband/sw/rxe/
H A Drxe_mr.c27 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 …]
H A Drxe_mw.c51 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
H A Drxe_resp.c433 struct rxe_mr *mr = NULL; in check_rkey() local
649 struct rxe_mr *mr = qp->resp.mr; in process_flush() local
693 struct rxe_mr *mr = qp->resp.mr; in atomic_reply() local
729 struct rxe_mr *mr; in atomic_write_reply() local
832 struct rxe_mr *mr; in rxe_recheck_mr() local
879 struct rxe_mr *mr; in read_reply() local
/linux/drivers/infiniband/sw/rdmavt/
H A Dmr.c75 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 …]
/linux/drivers/infiniband/hw/mlx5/
H A Dmr.c130 static int destroy_mkey(struct mlx5_ib_dev *dev, struct mlx5_ib_mr *mr) in destroy_mkey()
724 struct mlx5_ib_mr *mr; in _mlx5_mr_cache_alloc() local
1026 struct mlx5_ib_mr *mr; in mlx5_ib_get_dma_mr() local
1088 static void set_mr_fields(struct mlx5_ib_dev *dev, struct mlx5_ib_mr *mr, in set_mr_fields()
1117 struct mlx5_ib_mr *mr; in alloc_cacheable_mr() local
1165 struct mlx5_ib_mr *mr; in reg_create_crossing_vhca_mr() local
1226 struct mlx5_ib_mr *mr; in reg_create() local
1324 struct mlx5_ib_mr *mr; in mlx5_ib_get_dm_mr() local
1419 struct mlx5_ib_mr *mr = NULL; in create_real_mr() local
1466 struct mlx5_ib_mr *mr; in create_user_odp_mr() local
[all …]
H A Dodp.c174 struct mlx5_ib_mr *mr, int flags) in populate_mtt()
190 struct mlx5_ib_mr *mr, int flags) in mlx5_odp_populate_xlt()
207 struct mlx5_ib_mr *mr = in free_implicit_child_mr_work() local
225 static void destroy_unused_implicit_child_mr(struct mlx5_ib_mr *mr) in destroy_unused_implicit_child_mr()
250 struct mlx5_ib_mr *mr; in mlx5_ib_invalidate_range() local
444 struct mlx5_ib_mr *mr; in implicit_get_child_mr() local
639 void mlx5_ib_free_odp_mr(struct mlx5_ib_mr *mr) in mlx5_ib_free_odp_mr()
665 static int pagefault_real_mr(struct mlx5_ib_mr *mr, struct ib_umem_odp *odp, in pagefault_real_mr()
803 static int pagefault_dmabuf_mr(struct mlx5_ib_mr *mr, size_t bcnt, in pagefault_dmabuf_mr()
851 static int pagefault_mr(struct mlx5_ib_mr *mr, u64 io_virt, size_t bcnt, in pagefault_mr()
[all …]
H A Dumr.c390 int mlx5r_umr_revoke_mr(struct mlx5_ib_mr *mr) in mlx5r_umr_revoke_mr()
429 int mlx5r_umr_rereg_pd_access(struct mlx5_ib_mr *mr, struct ib_pd *pd, in mlx5r_umr_rereg_pd_access()
574 struct mlx5_ib_mr *mr, in mlx5r_umr_set_update_xlt_mkey_seg()
607 struct mlx5_ib_mr *mr, struct ib_sge *sg, in mlx5r_umr_final_update_xlt()
639 _mlx5r_umr_update_mr_pas(struct mlx5_ib_mr *mr, unsigned int flags, bool dd) in _mlx5r_umr_update_mr_pas()
726 int mlx5r_umr_update_data_direct_ksm_pas(struct mlx5_ib_mr *mr, unsigned int flags) in mlx5r_umr_update_data_direct_ksm_pas()
740 int mlx5r_umr_update_mr_pas(struct mlx5_ib_mr *mr, unsigned int flags) in mlx5r_umr_update_mr_pas()
753 int mlx5r_umr_update_xlt(struct mlx5_ib_mr *mr, u64 idx, int npages, in mlx5r_umr_update_xlt()
H A Drestrack.c83 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
/linux/drivers/rtc/
H A Drtc-at91sam9.c133 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
449 u32 mr = rtt_readl(rtc, MR); in at91_rtc_remove() local
460 u32 mr = rtt_readl(rtc, MR); in at91_rtc_shutdown() local
473 u32 mr = rtt_readl(rtc, MR); in at91_rtc_suspend() local
502 u32 mr; in at91_rtc_resume() local
/linux/drivers/infiniband/hw/vmw_pvrdma/
H A Dpvrdma_mr.c61 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
/linux/drivers/infiniband/core/
H A Dmr_pool.c10 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
H A Duverbs_std_types_mr.c95 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
/linux/drivers/infiniband/hw/mlx4/
H A Dmr.c60 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
/linux/net/rds/
H A Drdma.c70 struct rds_mr *mr; in rds_mr_tree_walk() local
95 static void rds_destroy_mr(struct rds_mr *mr) in rds_destroy_mr()
117 struct rds_mr *mr = container_of(kref, struct rds_mr, r_kref); in __rds_put_mr_final() local
129 struct rds_mr *mr; in rds_rdma_drop_keys() local
176 struct rds_mr *mr = NULL, *found; in __rds_rdma_map() local
402 struct rds_mr *mr; in rds_free_mr() local
447 struct rds_mr *mr; in rds_rdma_unuse() local
815 struct rds_mr *mr; in rds_cmsg_rdma_dest() local
/linux/drivers/scsi/
H A Dmesh.c305 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 …]
/linux/drivers/gpu/drm/i915/gem/
H A Di915_gem_create.c26 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
H A Di915_gem_lmem.c44 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
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_mr.c254 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 …]
/linux/drivers/infiniband/hw/mana/
H A Dmr.c28 static int mana_ib_gd_create_mr(struct mana_ib_dev *dev, struct mana_ib_mr *mr, in mana_ib_gd_create_mr()
105 struct mana_ib_mr *mr; in mana_ib_reg_user_mr() local
174 struct mana_ib_mr *mr = container_of(ibmr, struct mana_ib_mr, ibmr); in mana_ib_dereg_mr() local
/linux/net/netfilter/
H A Dxt_nat.c18 const struct nf_nat_ipv4_multi_range_compat *mr = par->targinfo; in xt_nat_checkentry_v0() local
54 const struct nf_nat_ipv4_multi_range_compat *mr = par->targinfo; in xt_snat_target_v0() local
71 const struct nf_nat_ipv4_multi_range_compat *mr = par->targinfo; in xt_dnat_target_v0() local
H A Dxt_REDIRECT.c51 const struct nf_nat_ipv4_multi_range_compat *mr = par->targinfo; in redirect_tg4_check() local
67 const struct nf_nat_ipv4_multi_range_compat *mr = par->targinfo; in redirect_tg4() local
H A Dxt_MASQUERADE.c21 const struct nf_nat_ipv4_multi_range_compat *mr = par->targinfo; in masquerade_tg_check() local
38 const struct nf_nat_ipv4_multi_range_compat *mr; in masquerade_tg() local
/linux/drivers/gpu/drm/i915/
H A Dintel_memory_region.c148 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()
298 void intel_memory_region_avail(struct intel_memory_region *mr, in intel_memory_region_avail()
/linux/drivers/net/ethernet/mellanox/mlx4/
H A Dmr.c419 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()

123456