Home
last modified time | relevance | path

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

12345

/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 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_odp.c44 static int rxe_odp_do_pagefault_and_lock(struct rxe_mr *mr, u64 user_va, int bcnt, u32 flags) in rxe_odp_do_pagefault_and_lock()
64 static int rxe_odp_init_pages(struct rxe_mr *mr) in rxe_odp_init_pages()
80 u64 iova, int access_flags, struct rxe_mr *mr) in rxe_odp_mr_init_user()
160 static int rxe_odp_map_range_and_lock(struct rxe_mr *mr, u64 iova, int length, u32 flags) in rxe_odp_map_range_and_lock()
189 static int __rxe_odp_mr_copy(struct rxe_mr *mr, u64 iova, void *addr, in __rxe_odp_mr_copy()
227 int rxe_odp_mr_copy(struct rxe_mr *mr, u64 iova, void *addr, int length, in rxe_odp_mr_copy()
263 static enum resp_states rxe_odp_do_atomic_op(struct rxe_mr *mr, u64 iova, in rxe_odp_do_atomic_op()
316 enum resp_states rxe_odp_atomic_op(struct rxe_mr *mr, u64 iova, int opcode, in rxe_odp_atomic_op()
334 int rxe_odp_flush_pmem_iova(struct rxe_mr *mr, u64 iova, in rxe_odp_flush_pmem_iova()
377 enum resp_states rxe_odp_do_atomic_write(struct rxe_mr *mr, u64 iova, u64 value) in rxe_odp_do_atomic_write()
H A Drxe_loc.h143 static inline bool is_odp_mr(struct rxe_mr *mr) in is_odp_mr()
209 int access_flags, struct rxe_mr *mr) in rxe_odp_mr_init_user()
213 static inline int rxe_odp_mr_copy(struct rxe_mr *mr, u64 iova, void *addr, in rxe_odp_mr_copy()
219 rxe_odp_atomic_op(struct rxe_mr *mr, u64 iova, int opcode, in rxe_odp_atomic_op()
224 static inline int rxe_odp_flush_pmem_iova(struct rxe_mr *mr, u64 iova, in rxe_odp_flush_pmem_iova()
229 static inline enum resp_states rxe_odp_do_atomic_write(struct rxe_mr *mr, in rxe_odp_do_atomic_write()
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
735 struct rxe_mr *mr; in atomic_write_reply() local
847 struct rxe_mr *mr; in rxe_recheck_mr() local
894 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()
723 struct mlx5_ib_mr *mr; in _mlx5_mr_cache_alloc() local
1036 struct mlx5_ib_mr *mr; in mlx5_ib_get_dma_mr() local
1098 static void set_mr_fields(struct mlx5_ib_dev *dev, struct mlx5_ib_mr *mr, in set_mr_fields()
1127 struct mlx5_ib_mr *mr; in alloc_cacheable_mr() local
1175 struct mlx5_ib_mr *mr; in reg_create_crossing_vhca_mr() local
1236 struct mlx5_ib_mr *mr; in reg_create() local
1334 struct mlx5_ib_mr *mr; in mlx5_ib_get_dm_mr() local
1429 struct mlx5_ib_mr *mr = NULL; in create_real_mr() local
1476 struct mlx5_ib_mr *mr; in create_user_odp_mr() local
[all …]
H A Dodp.c165 struct mlx5_ib_mr *mr, int flags) in populate_mtt()
201 struct mlx5_ib_mr *mr, int flags) in mlx5_odp_populate_xlt()
219 struct mlx5_ib_mr *mr = in free_implicit_child_mr_work() local
237 static void destroy_unused_implicit_child_mr(struct mlx5_ib_mr *mr) in destroy_unused_implicit_child_mr()
277 struct mlx5_ib_mr *mr; in mlx5_ib_invalidate_range() local
474 struct mlx5_ib_mr *mr; in implicit_get_child_mr() local
669 void mlx5_ib_free_odp_mr(struct mlx5_ib_mr *mr) in mlx5_ib_free_odp_mr()
695 static int pagefault_real_mr(struct mlx5_ib_mr *mr, struct ib_umem_odp *odp, in pagefault_real_mr()
835 static int pagefault_dmabuf_mr(struct mlx5_ib_mr *mr, size_t bcnt, in pagefault_dmabuf_mr()
883 static int pagefault_mr(struct mlx5_ib_mr *mr, u64 io_virt, size_t bcnt, in pagefault_mr()
[all …]
H A Dumr.c419 int mlx5r_umr_revoke_mr(struct mlx5_ib_mr *mr) in mlx5r_umr_revoke_mr()
458 int mlx5r_umr_rereg_pd_access(struct mlx5_ib_mr *mr, struct ib_pd *pd, in mlx5r_umr_rereg_pd_access()
603 struct mlx5_ib_mr *mr, in mlx5r_umr_set_update_xlt_mkey_seg()
636 struct mlx5_ib_mr *mr, struct ib_sge *sg, in mlx5r_umr_final_update_xlt()
668 _mlx5r_umr_update_mr_pas(struct mlx5_ib_mr *mr, unsigned int flags, bool dd) in _mlx5r_umr_update_mr_pas()
755 int mlx5r_umr_update_data_direct_ksm_pas(struct mlx5_ib_mr *mr, unsigned int flags) in mlx5r_umr_update_data_direct_ksm_pas()
769 int mlx5r_umr_update_mr_pas(struct mlx5_ib_mr *mr, unsigned int flags) in mlx5r_umr_update_mr_pas()
782 int mlx5r_umr_update_xlt(struct mlx5_ib_mr *mr, u64 idx, int npages, in mlx5r_umr_update_xlt()
/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/io_uring/
H A Dmemmap.c91 void io_free_region(struct io_ring_ctx *ctx, struct io_mapped_region *mr) in io_free_region()
114 static int io_region_init_ptr(struct io_mapped_region *mr) in io_region_init_ptr()
135 struct io_mapped_region *mr, in io_region_pin_pages()
154 struct io_mapped_region *mr, in io_region_allocate_pages()
188 int io_create_region(struct io_ring_ctx *ctx, struct io_mapped_region *mr, in io_create_region()
237 int io_create_region_mmap_safe(struct io_ring_ctx *ctx, struct io_mapped_region *mr, in io_create_region_mmap_safe()
284 struct io_mapped_region *mr) in io_region_validate_mmap()
311 struct io_mapped_region *mr, in io_region_mmap()
/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/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/infiniband/hw/mana/
H A Dmr.c33 static int mana_ib_gd_create_mr(struct mana_ib_dev *dev, struct mana_ib_mr *mr, in mana_ib_gd_create_mr()
115 struct mana_ib_mr *mr; in mana_ib_reg_user_mr() local
198 struct mana_ib_mr *mr; in mana_ib_reg_user_mr_dmabuf() local
264 struct mana_ib_mr *mr; in mana_ib_get_dma_mr() local
292 struct mana_ib_mr *mr = container_of(ibmr, struct mana_ib_mr, ibmr); in mana_ib_dereg_mr() local
/linux/drivers/infiniband/hw/hns/
H A Dhns_roce_mr.c53 static int alloc_mr_key(struct hns_roce_dev *hr_dev, struct hns_roce_mr *mr) in alloc_mr_key()
83 static void free_mr_key(struct hns_roce_dev *hr_dev, struct hns_roce_mr *mr) in free_mr_key()
91 static int alloc_mr_pbl(struct hns_roce_dev *hr_dev, struct hns_roce_mr *mr, in alloc_mr_pbl()
127 static void free_mr_pbl(struct hns_roce_dev *hr_dev, struct hns_roce_mr *mr) in free_mr_pbl()
132 static void hns_roce_mr_free(struct hns_roce_dev *hr_dev, struct hns_roce_mr *mr) in hns_roce_mr_free()
151 struct hns_roce_mr *mr) in hns_roce_mr_enable()
200 struct hns_roce_mr *mr; in hns_roce_get_dma_mr() local
237 struct hns_roce_mr *mr; in hns_roce_reg_user_mr() local
287 struct hns_roce_mr *mr = to_hr_mr(ibmr); in hns_roce_rereg_user_mr() local
364 struct hns_roce_mr *mr = to_hr_mr(ibmr); in hns_roce_dereg_mr() local
[all …]
/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
H A Dxt_NETMAP.c74 const struct nf_nat_ipv4_multi_range_compat *mr = par->targinfo; in netmap_tg4() local
106 const struct nf_nat_ipv4_multi_range_compat *mr = par->targinfo; in netmap_tg4_check() local
/linux/samples/tsm-mr/
H A Dtsm_mr_sample.c46 const struct tsm_measurement_register *mr, in sample_report_extend_mr()
69 #define MR_(mr, hash) .mr_value = &sample_report.mr, TSM_MR_(mr, hash) argument
/linux/drivers/infiniband/ulp/iser/
H A Diser_memory.c236 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

12345