| /kernel/linux/linux-5.10/drivers/infiniband/sw/rdmavt/ |
| D | mr.c | 117 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/ |
| D | frwr_ops.c | 57 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-4.19/drivers/infiniband/sw/rdmavt/ |
| D | mr.c | 118 static void rvt_deinit_mregion(struct rvt_mregion *mr) in rvt_deinit_mregion() 130 struct rvt_mregion *mr = container_of(ref, struct rvt_mregion, in __rvt_mregion_complete() local 136 static int rvt_init_mregion(struct rvt_mregion *mr, struct ib_pd *pd, in rvt_init_mregion() 178 static int rvt_alloc_lkey(struct rvt_mregion *mr, int dma_region) in rvt_alloc_lkey() 248 static void rvt_free_lkey(struct rvt_mregion *mr) in rvt_free_lkey() 282 struct rvt_mr *mr; in __rvt_alloc_mr() local 315 static void __rvt_free_mr(struct rvt_mr *mr) in __rvt_free_mr() 333 struct rvt_mr *mr; in rvt_get_dma_mr() local 384 struct rvt_mr *mr; in rvt_reg_user_mr() local 456 struct rvt_mregion *mr = (struct rvt_mregion *)v; in rvt_dereg_clean_qp_cb() local [all …]
|
| /kernel/linux/linux-5.10/drivers/vdpa/mlx5/core/ |
| D | mr.c | 34 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/ |
| D | mr.c | 119 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 565 struct mlx5_ib_mr *mr; in mlx5_mr_cache_alloc() local 597 struct mlx5_ib_mr *mr = NULL; in get_cache_mr() local 625 static void detach_mr_from_cache(struct mlx5_ib_mr *mr) in detach_mr_from_cache() [all …]
|
| D | odp.c | 161 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 …]
|
| /kernel/linux/linux-4.19/net/sunrpc/xprtrdma/ |
| D | fmr_ops.c | 53 fmr_op_init_mr(struct rpcrdma_ia *ia, struct rpcrdma_mr *mr) in fmr_op_init_mr() 92 __fmr_unmap(struct rpcrdma_mr *mr) in __fmr_unmap() 104 fmr_op_release_mr(struct rpcrdma_mr *mr) in fmr_op_release_mr() 131 fmr_op_recover_mr(struct rpcrdma_mr *mr) in fmr_op_recover_mr() 211 struct rpcrdma_mr *mr; in fmr_op_map() local 296 struct rpcrdma_mr *mr; in fmr_op_unmap_sync() local
|
| D | frwr_ops.c | 101 frwr_op_init_mr(struct rpcrdma_ia *ia, struct rpcrdma_mr *mr) in frwr_op_init_mr() 135 frwr_op_release_mr(struct rpcrdma_mr *mr) in frwr_op_release_mr() 148 __frwr_mr_reset(struct rpcrdma_ia *ia, struct rpcrdma_mr *mr) in __frwr_mr_reset() 176 frwr_op_recover_mr(struct rpcrdma_mr *mr) in frwr_op_recover_mr() 378 struct rpcrdma_mr *mr; in frwr_op_map() local 468 struct rpcrdma_mr *mr; in frwr_op_send() local 497 struct rpcrdma_mr *mr; in frwr_op_reminv() local 524 struct rpcrdma_mr *mr; in frwr_op_unmap_sync() local
|
| /kernel/linux/linux-4.19/drivers/infiniband/hw/mlx5/ |
| D | mr.c | 60 static int destroy_mkey(struct mlx5_ib_dev *dev, struct mlx5_ib_mr *mr) in destroy_mkey() 82 static bool use_umr_mtt_update(struct mlx5_ib_mr *mr, u64 start, u64 length) in use_umr_mtt_update() 89 static void update_odp_mr(struct mlx5_ib_mr *mr) in update_odp_mr() 118 struct mlx5_ib_mr *mr = context; in reg_mr_callback() local 169 struct mlx5_ib_mr *mr; in add_keys() local 231 struct mlx5_ib_mr *mr; in remove_keys() local 455 struct mlx5_ib_mr *mr; in mlx5_mr_cache_alloc() local 490 struct mlx5_ib_mr *mr = NULL; in alloc_cached_mr() local 530 void mlx5_mr_cache_free(struct mlx5_ib_dev *dev, struct mlx5_ib_mr *mr) in mlx5_mr_cache_free() 569 struct mlx5_ib_mr *mr; in clean_keys() local [all …]
|
| /kernel/linux/linux-5.10/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 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/ |
| 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
|
| /kernel/linux/linux-4.19/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 278 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-4.19/drivers/infiniband/core/ |
| D | mr_pool.c | 18 struct ib_mr *mr; in ib_mr_pool_get() local 33 void ib_mr_pool_put(struct ib_qp *qp, struct list_head *list, struct ib_mr *mr) in ib_mr_pool_put() 47 struct ib_mr *mr; in ib_mr_pool_init() local 72 struct ib_mr *mr; in ib_mr_pool_destroy() local
|
| /kernel/linux/linux-4.19/drivers/rtc/ |
| D | rtc-at91sam9.c | 141 u32 offset, alarm, mr; in at91_rtc_settime() local 219 u32 mr; in at91_rtc_setalarm() local 255 u32 mr = rtt_readl(rtc, MR); in at91_rtc_alarm_irq_enable() local 271 u32 mr = rtt_readl(rtc, MR); in at91_rtc_proc() local 280 u32 sr, mr; in at91_rtc_cache_events() local 366 u32 mr; in at91_rtc_probe() local 495 u32 mr = rtt_readl(rtc, MR); in at91_rtc_remove() local 508 u32 mr = rtt_readl(rtc, MR); in at91_rtc_shutdown() local 521 u32 mr = rtt_readl(rtc, MR); in at91_rtc_suspend() local 549 u32 mr; in at91_rtc_resume() local
|
| /kernel/linux/linux-5.10/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
|
| /kernel/linux/linux-5.10/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 459 int mlx4_ib_rereg_user_mr(struct ib_mr *mr, int flags, in mlx4_ib_rereg_user_mr() 551 struct mlx4_ib_mr *mr, in mlx4_alloc_priv_pages() 585 mlx4_free_priv_pages(struct mlx4_ib_mr *mr) in mlx4_free_priv_pages() 599 struct mlx4_ib_mr *mr = to_mmr(ibmr); in mlx4_ib_dereg_mr() local 649 struct mlx4_ib_mr *mr; in mlx4_ib_alloc_mr() local 691 struct mlx4_ib_mr *mr = to_mmr(ibmr); in mlx4_set_page() local 704 struct mlx4_ib_mr *mr = to_mmr(ibmr); in mlx4_ib_map_mr_sg() local
|
| /kernel/linux/linux-4.19/net/rds/ |
| D | rdma.c | 70 struct rds_mr *mr; in rds_mr_tree_walk() local 95 static void rds_destroy_mr(struct rds_mr *mr) in rds_destroy_mr() 118 void __rds_put_mr_final(struct rds_mr *mr) in __rds_put_mr_final() 130 struct rds_mr *mr; in rds_rdma_drop_keys() local 176 struct rds_mr *mr = NULL, *found; in __rds_rdma_map() local 368 struct rds_mr *mr; in rds_free_mr() local 420 struct rds_mr *mr; in rds_rdma_unuse() local 743 struct rds_mr *mr; in rds_cmsg_rdma_dest() local
|
| /kernel/linux/linux-5.10/net/rds/ |
| D | rdma.c | 70 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-4.19/drivers/infiniband/hw/mlx4/ |
| D | mr.c | 60 struct mlx4_ib_mr *mr; in mlx4_ib_get_dma_mr() local 409 struct mlx4_ib_mr *mr; in mlx4_ib_reg_user_mr() local 460 int mlx4_ib_rereg_user_mr(struct ib_mr *mr, int flags, in mlx4_ib_rereg_user_mr() 553 struct mlx4_ib_mr *mr, in mlx4_alloc_priv_pages() 587 mlx4_free_priv_pages(struct mlx4_ib_mr *mr) in mlx4_free_priv_pages() 601 struct mlx4_ib_mr *mr = to_mmr(ibmr); in mlx4_ib_dereg_mr() local 664 struct mlx4_ib_mr *mr; in mlx4_ib_alloc_mr() local 799 struct mlx4_ib_mr *mr = to_mmr(ibmr); in mlx4_set_page() local 812 struct mlx4_ib_mr *mr = to_mmr(ibmr); in mlx4_ib_map_mr_sg() local
|
| /kernel/linux/linux-5.10/drivers/infiniband/hw/hns/ |
| D | hns_roce_mr.c | 69 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 310 struct hns_roce_mr *mr = to_hr_mr(ibmr); in rereg_mr_trans() local 337 struct hns_roce_mr *mr = to_hr_mr(ibmr); in hns_roce_rereg_user_mr() local [all …]
|
| /kernel/linux/linux-5.10/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() 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-4.19/drivers/scsi/ |
| D | mesh.c | 304 volatile struct mesh_regs __iomem *mr = ms->mesh; in mesh_dump_regs() local 338 static inline void mesh_flush_io(volatile struct mesh_regs __iomem *mr) in mesh_flush_io() 359 volatile struct mesh_regs __iomem *mr = ms->mesh; in mesh_init() local 406 volatile struct mesh_regs __iomem *mr = ms->mesh; in mesh_start_cmd() local 640 volatile struct mesh_regs __iomem *mr = ms->mesh; in set_sdtr() local 681 volatile struct mesh_regs __iomem *mr = ms->mesh; in start_phase() local 825 volatile struct mesh_regs __iomem *mr = ms->mesh; in get_msgin() local 857 volatile struct mesh_regs __iomem *mr = ms->mesh; in reselected() local 990 volatile struct mesh_regs __iomem *mr = ms->mesh; in handle_reset() local 1033 volatile struct mesh_regs __iomem *mr = ms->mesh; in handle_error() local [all …]
|
| /kernel/linux/linux-4.19/drivers/infiniband/hw/hns/ |
| D | hns_roce_mr.c | 262 struct hns_roce_mr *mr, int err_loop_index, in hns_roce_loop_free() 319 struct hns_roce_mr *mr) in hns_roce_mhop_alloc() 495 struct hns_roce_mr *mr) in hns_roce_mr_alloc() 541 struct hns_roce_mr *mr) in hns_roce_mhop_free() 625 struct hns_roce_mr *mr) in hns_roce_mr_free() 657 struct hns_roce_mr *mr) in hns_roce_mr_enable() 851 struct hns_roce_mr *mr; in hns_roce_get_dma_mr() local 941 struct hns_roce_mr *mr, in hns_roce_ib_umem_write_mr() 992 struct hns_roce_mr *mr; in hns_roce_reg_user_mr() local 1067 struct hns_roce_mr *mr = to_hr_mr(ibmr); in hns_roce_rereg_user_mr() local [all …]
|
| /kernel/linux/linux-5.10/net/mac80211/ |
| D | rc80211_minstrel.c | 73 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
|
| /kernel/linux/linux-4.19/drivers/net/ethernet/mellanox/mlxsw/ |
| D | spectrum_mr.c | 251 struct mlxsw_sp_mr *mr = mlxsw_sp->mr; in mlxsw_sp_mr_route_write() local 289 struct mlxsw_sp_mr *mr = mlxsw_sp->mr; in mlxsw_sp_mr_route_erase() local 474 struct mlxsw_sp_mr *mr = mlxsw_sp->mr; in mlxsw_sp_mr_route_ivif_resolve() local 508 struct mlxsw_sp_mr *mr = mlxsw_sp->mr; in mlxsw_sp_mr_route_ivif_unresolve() local 523 struct mlxsw_sp_mr *mr = mlxsw_sp->mr; in mlxsw_sp_mr_route_evif_resolve() local 582 struct mlxsw_sp_mr *mr = mlxsw_sp->mr; in mlxsw_sp_mr_route_evif_unresolve() local 743 struct mlxsw_sp_mr *mr = mlxsw_sp->mr; in mlxsw_sp_mr_rif_mtu_update() local 898 struct mlxsw_sp_mr *mr = mlxsw_sp->mr; in mlxsw_sp_mr_table_create() local 943 struct mlxsw_sp_mr *mr = mlxsw_sp->mr; in mlxsw_sp_mr_table_destroy() local 980 struct mlxsw_sp_mr *mr = mlxsw_sp->mr; in mlxsw_sp_mr_route_stats_update() local [all …]
|