Searched refs:mres (Results 1 – 10 of 10) sorted by relevance
| /linux/drivers/vdpa/mlx5/core/ |
| H A D | mr.c | 667 struct mlx5_vdpa_mr_resources *mres; in mlx5_vdpa_mr_gc_handler() local 671 mres = container_of(work, struct mlx5_vdpa_mr_resources, gc_dwork_ent.work); in mlx5_vdpa_mr_gc_handler() 673 if (atomic_read(&mres->shutdown)) { in mlx5_vdpa_mr_gc_handler() 674 mutex_lock(&mres->lock); in mlx5_vdpa_mr_gc_handler() 675 } else if (!mutex_trylock(&mres->lock)) { in mlx5_vdpa_mr_gc_handler() 676 queue_delayed_work(mres->wq_gc, &mres->gc_dwork_ent, in mlx5_vdpa_mr_gc_handler() 681 mvdev = container_of(mres, struct mlx5_vdpa_dev, mres); in mlx5_vdpa_mr_gc_handler() 683 list_for_each_entry_safe(mr, tmp, &mres->mr_gc_list_head, mr_list) { in mlx5_vdpa_mr_gc_handler() 687 mutex_unlock(&mres->lock); in mlx5_vdpa_mr_gc_handler() 693 struct mlx5_vdpa_mr_resources *mres = &mvdev->mres; in _mlx5_vdpa_put_mr() local [all …]
|
| H A D | mlx5_vdpa.h | 109 struct mlx5_vdpa_mr_resources mres; member
|
| /linux/drivers/mmc/host/ |
| H A D | mmc_spi.c | 1075 int mres; in mmc_spi_set_ios() local 1079 mres = spi_setup(host->spi); in mmc_spi_set_ios() 1080 if (mres < 0) in mmc_spi_set_ios() 1098 if (mres == 0) { in mmc_spi_set_ios() 1100 mres = spi_setup(host->spi); in mmc_spi_set_ios() 1101 if (mres < 0) in mmc_spi_set_ios()
|
| /linux/drivers/vdpa/mlx5/net/ |
| H A D | mlx5_vnet.c | 942 vq_mr = mvdev->mres.mr[mvdev->mres.group2asid[MLX5_VDPA_DATAVQ_GROUP]]; in create_virtqueue() 946 vq_desc_mr = mvdev->mres.mr[mvdev->mres.group2asid[MLX5_VDPA_DATAVQ_DESC_GROUP]]; in create_virtqueue() 954 vq_mr = mvdev->mres.mr[mvdev->mres.group2asid[MLX5_VDPA_DATAVQ_GROUP]]; in create_virtqueue() 958 vq_desc_mr = mvdev->mres.mr[mvdev->mres.group2asid[MLX5_VDPA_DATAVQ_DESC_GROUP]]; in create_virtqueue() 1355 vq_mr = mvdev->mres.mr[mvdev->mres.group2asid[MLX5_VDPA_DATAVQ_GROUP]]; in fill_modify_virtqueue_cmd() 1364 desc_mr = mvdev->mres.mr[mvdev->mres.group2asid[MLX5_VDPA_DATAVQ_DESC_GROUP]]; in fill_modify_virtqueue_cmd() 1382 unsigned int asid = mvdev->mres.group2asid[MLX5_VDPA_DATAVQ_GROUP]; in modify_virtqueue_end() 1383 struct mlx5_vdpa_mr *vq_mr = mvdev->mres.mr[asid]; in modify_virtqueue_end() 1391 unsigned int asid = mvdev->mres.group2asid[MLX5_VDPA_DATAVQ_DESC_GROUP]; in modify_virtqueue_end() 1392 struct mlx5_vdpa_mr *desc_mr = mvdev->mres.mr[asid]; in modify_virtqueue_end() [all …]
|
| /linux/drivers/thermal/renesas/ |
| H A D | rcar_thermal.c | 400 int mres = 0; in rcar_thermal_probe() local 437 mres++); in rcar_thermal_probe() 458 res = platform_get_resource(pdev, IORESOURCE_MEM, mres++); in rcar_thermal_probe()
|
| /linux/sound/core/ |
| H A D | pcm_compat.c | 57 struct snd_mask mres[5]; /* reserved masks */ member
|
| /linux/fs/ocfs2/dlm/ |
| H A D | dlmcommon.h | 991 struct dlm_migratable_lockres *mres,
|
| /linux/tools/include/uapi/sound/ |
| H A D | asound.h | |
| /linux/include/uapi/sound/ |
| H A D | asound.h | 412 struct snd_mask mres[5]; /* reserved masks */ member
|
| /linux/tools/perf/trace/beauty/include/uapi/sound/ |
| H A D | asound.h | 412 struct snd_mask mres[5]; /* reserved masks */ member
|