Home
last modified time | relevance | path

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

123456

/kernel/linux/linux-5.10/drivers/infiniband/sw/rdmavt/
Dmr.c117 static void rvt_deinit_mregion(struct rvt_mregion *mr) in rvt_deinit_mregion()
129 struct rvt_mregion *mr = container_of(ref, struct rvt_mregion, in __rvt_mregion_complete() local
135 static int rvt_init_mregion(struct rvt_mregion *mr, struct ib_pd *pd, in rvt_init_mregion()
177 static int rvt_alloc_lkey(struct rvt_mregion *mr, int dma_region) in rvt_alloc_lkey()
247 static void rvt_free_lkey(struct rvt_mregion *mr) in rvt_free_lkey()
281 struct rvt_mr *mr; in __rvt_alloc_mr() local
314 static void __rvt_free_mr(struct rvt_mr *mr) in __rvt_free_mr()
330 struct rvt_mr *mr; in rvt_get_dma_mr() local
381 struct rvt_mr *mr; in rvt_reg_user_mr() local
450 struct rvt_mregion *mr = (struct rvt_mregion *)v; in rvt_dereg_clean_qp_cb() local
[all …]
/kernel/linux/linux-5.10/net/sunrpc/xprtrdma/
Dfrwr_ops.c57 void frwr_release_mr(struct rpcrdma_mr *mr) in frwr_release_mr()
68 static void frwr_mr_recycle(struct rpcrdma_mr *mr) in frwr_mr_recycle()
101 struct rpcrdma_mr *mr; in frwr_reset() local
115 int frwr_mr_init(struct rpcrdma_xprt *r_xprt, struct rpcrdma_mr *mr) in frwr_mr_init()
284 struct rpcrdma_mr *mr) in frwr_map()
390 struct rpcrdma_mr *mr; in frwr_send() local
419 struct rpcrdma_mr *mr; in frwr_reminv() local
430 static void __frwr_release_mr(struct ib_wc *wc, struct rpcrdma_mr *mr) in __frwr_release_mr()
449 struct rpcrdma_mr *mr = container_of(frwr, struct rpcrdma_mr, frwr); in frwr_wc_localinv() local
470 struct rpcrdma_mr *mr = container_of(frwr, struct rpcrdma_mr, frwr); in frwr_wc_localinv_wake() local
[all …]
/kernel/linux/linux-5.10/drivers/vdpa/mlx5/core/
Dmr.c34 static void populate_mtts(struct mlx5_vdpa_direct_mr *mr, __be64 *mtt) in populate_mtts()
51 static int create_direct_mr(struct mlx5_vdpa_dev *mvdev, struct mlx5_vdpa_direct_mr *mr) in create_direct_mr()
88 static void destroy_direct_mr(struct mlx5_vdpa_dev *mvdev, struct mlx5_vdpa_direct_mr *mr) in destroy_direct_mr()
93 static u64 map_start(struct vhost_iotlb_map *map, struct mlx5_vdpa_direct_mr *mr) in map_start()
98 static u64 map_end(struct vhost_iotlb_map *map, struct mlx5_vdpa_direct_mr *mr) in map_end()
103 static u64 maplen(struct vhost_iotlb_map *map, struct mlx5_vdpa_direct_mr *mr) in maplen()
181 static int create_indirect_key(struct mlx5_vdpa_dev *mvdev, struct mlx5_vdpa_mr *mr) in create_indirect_key()
222 static int map_direct_mr(struct mlx5_vdpa_dev *mvdev, struct mlx5_vdpa_direct_mr *mr, in map_direct_mr()
294 static void unmap_direct_mr(struct mlx5_vdpa_dev *mvdev, struct mlx5_vdpa_direct_mr *mr) in unmap_direct_mr()
306 struct mlx5_vdpa_mr *mr = &mvdev->mr; in add_direct_chain() local
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
Dmr.c119 static int destroy_mkey(struct mlx5_ib_dev *dev, struct mlx5_ib_mr *mr) in destroy_mkey()
126 static inline bool mlx5_ib_pas_fits_in_mr(struct mlx5_ib_mr *mr, u64 start, in mlx5_ib_pas_fits_in_mr()
135 struct mlx5_ib_mr *mr = in create_mkey_callback() local
170 struct mlx5_ib_mr *mr; in alloc_cache_mr() local
194 struct mlx5_ib_mr *mr; in add_keys() local
242 struct mlx5_ib_mr *mr; in create_cache_mr() local
278 struct mlx5_ib_mr *mr; in remove_cache_mr_locked() local
567 struct mlx5_ib_mr *mr; in mlx5_mr_cache_alloc() local
601 struct mlx5_ib_mr *mr = NULL; in get_cache_mr() local
629 static void detach_mr_from_cache(struct mlx5_ib_mr *mr) in detach_mr_from_cache()
[all …]
Dodp.c161 struct mlx5_ib_mr *mr, int flags) in populate_mtt()
177 struct mlx5_ib_mr *mr, int flags) in mlx5_odp_populate_xlt()
186 static void dma_fence_odp_mr(struct mlx5_ib_mr *mr) in dma_fence_odp_mr()
213 static void free_implicit_child_mr(struct mlx5_ib_mr *mr, bool need_imr_xlt) in free_implicit_child_mr()
245 struct mlx5_ib_mr *mr = in free_implicit_child_mr_work() local
253 struct mlx5_ib_mr *mr = in free_implicit_child_mr_rcu() local
261 static void destroy_unused_implicit_child_mr(struct mlx5_ib_mr *mr) in destroy_unused_implicit_child_mr()
290 struct mlx5_ib_mr *mr; in mlx5_ib_invalidate_range() local
469 struct mlx5_ib_mr *mr; in implicit_get_child_mr() local
654 void mlx5_ib_fence_odp_mr(struct mlx5_ib_mr *mr) in mlx5_ib_fence_odp_mr()
[all …]
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
/kernel/linux/linux-5.10/drivers/rtc/
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
448 u32 mr = rtt_readl(rtc, MR); in at91_rtc_remove() local
461 u32 mr = rtt_readl(rtc, MR); in at91_rtc_shutdown() local
474 u32 mr = rtt_readl(rtc, MR); in at91_rtc_suspend() local
503 u32 mr; in at91_rtc_resume() local
/kernel/linux/linux-5.10/drivers/infiniband/hw/vmw_pvrdma/
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
/kernel/linux/linux-5.10/drivers/infiniband/core/
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
Duverbs_std_types_mr.c94 struct ib_mr *mr; in UVERBS_HANDLER() local
158 struct ib_mr *mr = in UVERBS_HANDLER() local
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/
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 int mlx4_ib_rereg_user_mr(struct ib_mr *mr, int flags, 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
/kernel/linux/linux-5.10/net/rds/
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
399 struct rds_mr *mr; in rds_free_mr() local
444 struct rds_mr *mr; in rds_rdma_unuse() local
812 struct rds_mr *mr; in rds_cmsg_rdma_dest() local
/kernel/linux/linux-5.10/drivers/infiniband/hw/hns/
Dhns_roce_mr.c69 static int alloc_mr_key(struct hns_roce_dev *hr_dev, struct hns_roce_mr *mr, in alloc_mr_key()
104 static void free_mr_key(struct hns_roce_dev *hr_dev, struct hns_roce_mr *mr) in free_mr_key()
112 static int alloc_mr_pbl(struct hns_roce_dev *hr_dev, struct hns_roce_mr *mr, in alloc_mr_pbl()
143 static void free_mr_pbl(struct hns_roce_dev *hr_dev, struct hns_roce_mr *mr) in free_mr_pbl()
149 struct hns_roce_mr *mr) in hns_roce_mr_free()
168 struct hns_roce_mr *mr) in hns_roce_mr_enable()
232 struct hns_roce_mr *mr; in hns_roce_get_dma_mr() local
267 struct hns_roce_mr *mr; in hns_roce_reg_user_mr() local
309 struct hns_roce_mr *mr = to_hr_mr(ibmr); in rereg_mr_trans() local
336 struct hns_roce_mr *mr = to_hr_mr(ibmr); in hns_roce_rereg_user_mr() local
[all …]
/kernel/linux/linux-5.10/drivers/scsi/
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()
360 volatile struct mesh_regs __iomem *mr = ms->mesh; in mesh_init() local
407 volatile struct mesh_regs __iomem *mr = ms->mesh; in mesh_start_cmd() local
641 volatile struct mesh_regs __iomem *mr = ms->mesh; in set_sdtr() local
682 volatile struct mesh_regs __iomem *mr = ms->mesh; in start_phase() local
826 volatile struct mesh_regs __iomem *mr = ms->mesh; in get_msgin() local
858 volatile struct mesh_regs __iomem *mr = ms->mesh; in reselected() local
991 volatile struct mesh_regs __iomem *mr = ms->mesh; in handle_reset() local
1034 volatile struct mesh_regs __iomem *mr = ms->mesh; in handle_error() local
[all …]
/kernel/linux/linux-5.10/net/mac80211/
Drc80211_minstrel.c73 int minstrel_get_tp_avg(struct minstrel_rate *mr, int prob_avg) in minstrel_get_tp_avg()
202 struct minstrel_rate *mr = &mi->r[i]; in minstrel_update_stats() local
297 minstrel_get_retry_count(struct minstrel_rate *mr, in minstrel_get_retry_count()
334 struct minstrel_rate *msr, *mr; in minstrel_get_rate() local
486 struct minstrel_rate *mr = &mi->r[n]; in minstrel_rate_init() local
541 struct minstrel_rate *mr = &mi->r[i]; in minstrel_rate_init() local
Drc80211_minstrel_debugfs.c78 struct minstrel_rate *mr = &mi->r[i]; in minstrel_stats_open() local
135 struct minstrel_rate *mr = &mi->r[i]; in minstrel_stats_csv_open() local
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
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
754 struct mlxsw_sp_mr *mr = mlxsw_sp->mr; in mlxsw_sp_mr_rif_mtu_update() local
909 struct mlxsw_sp_mr *mr = mlxsw_sp->mr; in mlxsw_sp_mr_table_create() local
958 struct mlxsw_sp_mr *mr = mlxsw_sp->mr; in mlxsw_sp_mr_table_destroy() local
1000 struct mlxsw_sp_mr *mr = mlxsw_sp->mr; in mlxsw_sp_mr_route_stats_update() local
[all …]
/kernel/linux/linux-5.10/net/netfilter/
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
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
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
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/
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()
/kernel/linux/linux-5.10/arch/x86/mm/
Dinit.c332 static int __meminit save_mr(struct map_range *mr, int nr_range, in save_mr()
352 static void __ref adjust_range_page_size_mask(struct map_range *mr, in adjust_range_page_size_mask()
382 static const char *page_size_string(struct map_range *mr) in page_size_string()
407 static int __meminit split_mem_range(struct map_range *mr, int nr_range, in split_mem_range()
543 struct map_range mr[NR_RANGE_MR]; in init_memory_mapping() local
/kernel/linux/linux-5.10/drivers/infiniband/ulp/iser/
Diser_memory.c220 struct ib_mr *mr, in iser_inv_rkey()
241 struct ib_mr *mr = rsc->sig_mr; in iser_reg_sig_mr() local
298 struct ib_mr *mr = rsc->mr; in iser_fast_reg_mr() local
/kernel/linux/linux-5.10/net/xdp/
Dxdp_umem.c154 static int xdp_umem_reg(struct xdp_umem *umem, struct xdp_umem_reg *mr) in xdp_umem_reg()
238 struct xdp_umem *xdp_umem_create(struct xdp_umem_reg *mr) in xdp_umem_create()
/kernel/linux/linux-5.10/include/rdma/
Drdmavt_mr.h68 struct rvt_mregion *mr; member
83 static inline void rvt_put_mr(struct rvt_mregion *mr) in rvt_put_mr()
88 static inline void rvt_get_mr(struct rvt_mregion *mr) in rvt_get_mr()

123456