Home
last modified time | relevance | path

Searched refs:mres (Results 1 – 12 of 12) sorted by relevance

/linux-6.12.1/drivers/vdpa/mlx5/core/
Dmr.c666 struct mlx5_vdpa_mr_resources *mres; in mlx5_vdpa_mr_gc_handler() local
670 mres = container_of(work, struct mlx5_vdpa_mr_resources, gc_dwork_ent.work); in mlx5_vdpa_mr_gc_handler()
672 if (atomic_read(&mres->shutdown)) { in mlx5_vdpa_mr_gc_handler()
673 mutex_lock(&mres->lock); in mlx5_vdpa_mr_gc_handler()
674 } else if (!mutex_trylock(&mres->lock)) { in mlx5_vdpa_mr_gc_handler()
675 queue_delayed_work(mres->wq_gc, &mres->gc_dwork_ent, in mlx5_vdpa_mr_gc_handler()
680 mvdev = container_of(mres, struct mlx5_vdpa_dev, mres); in mlx5_vdpa_mr_gc_handler()
682 list_for_each_entry_safe(mr, tmp, &mres->mr_gc_list_head, mr_list) { in mlx5_vdpa_mr_gc_handler()
686 mutex_unlock(&mres->lock); in mlx5_vdpa_mr_gc_handler()
692 struct mlx5_vdpa_mr_resources *mres = &mvdev->mres; in _mlx5_vdpa_put_mr() local
[all …]
Dmlx5_vdpa.h107 struct mlx5_vdpa_mr_resources mres; member
/linux-6.12.1/fs/ocfs2/dlm/
Ddlmrecovery.c51 static void dlm_init_migratable_lockres(struct dlm_migratable_lockres *mres,
56 struct dlm_migratable_lockres *mres,
62 struct dlm_migratable_lockres *mres);
865 struct dlm_migratable_lockres *mres; in dlm_request_all_locks_worker() local
876 mres = (struct dlm_migratable_lockres *)data; in dlm_request_all_locks_worker()
913 ret = dlm_send_one_lockres(dlm, res, mres, reco_master, in dlm_request_all_locks_worker()
1096 struct dlm_migratable_lockres *mres, in dlm_send_mig_lockres_msg() argument
1101 u64 mig_cookie = be64_to_cpu(mres->mig_cookie); in dlm_send_mig_lockres_msg()
1102 int mres_total_locks = be32_to_cpu(mres->total_locks); in dlm_send_mig_lockres_msg()
1104 u8 orig_flags = mres->flags, in dlm_send_mig_lockres_msg()
[all …]
Ddlmmaster.c2545 struct dlm_migratable_lockres *mres = NULL; in dlm_migrate_lockres() local
2563 mres = (struct dlm_migratable_lockres *) __get_free_page(GFP_NOFS); in dlm_migrate_lockres()
2564 if (!mres) { in dlm_migrate_lockres()
2648 ret = dlm_send_one_lockres(dlm, res, mres, target, in dlm_migrate_lockres()
2740 if (mres) in dlm_migrate_lockres()
2741 free_page((unsigned long)mres); in dlm_migrate_lockres()
Ddlmcommon.h991 struct dlm_migratable_lockres *mres,
/linux-6.12.1/drivers/mmc/host/
Dmmc_spi.c1078 int mres; in mmc_spi_set_ios() local
1082 mres = spi_setup(host->spi); in mmc_spi_set_ios()
1083 if (mres < 0) in mmc_spi_set_ios()
1101 if (mres == 0) { in mmc_spi_set_ios()
1103 mres = spi_setup(host->spi); in mmc_spi_set_ios()
1104 if (mres < 0) in mmc_spi_set_ios()
/linux-6.12.1/drivers/thermal/renesas/
Drcar_thermal.c400 int mres = 0; in rcar_thermal_probe() local
437 mres++); in rcar_thermal_probe()
460 res = platform_get_resource(pdev, IORESOURCE_MEM, mres++); in rcar_thermal_probe()
/linux-6.12.1/drivers/vdpa/mlx5/net/
Dmlx5_vnet.c944 vq_mr = mvdev->mres.mr[mvdev->mres.group2asid[MLX5_VDPA_DATAVQ_GROUP]]; in create_virtqueue()
948 vq_desc_mr = mvdev->mres.mr[mvdev->mres.group2asid[MLX5_VDPA_DATAVQ_DESC_GROUP]]; in create_virtqueue()
956 vq_mr = mvdev->mres.mr[mvdev->mres.group2asid[MLX5_VDPA_DATAVQ_GROUP]]; in create_virtqueue()
960 vq_desc_mr = mvdev->mres.mr[mvdev->mres.group2asid[MLX5_VDPA_DATAVQ_DESC_GROUP]]; in create_virtqueue()
1357 vq_mr = mvdev->mres.mr[mvdev->mres.group2asid[MLX5_VDPA_DATAVQ_GROUP]]; in fill_modify_virtqueue_cmd()
1366 desc_mr = mvdev->mres.mr[mvdev->mres.group2asid[MLX5_VDPA_DATAVQ_DESC_GROUP]]; in fill_modify_virtqueue_cmd()
1384 unsigned int asid = mvdev->mres.group2asid[MLX5_VDPA_DATAVQ_GROUP]; in modify_virtqueue_end()
1385 struct mlx5_vdpa_mr *vq_mr = mvdev->mres.mr[asid]; in modify_virtqueue_end()
1393 unsigned int asid = mvdev->mres.group2asid[MLX5_VDPA_DATAVQ_DESC_GROUP]; in modify_virtqueue_end()
1394 struct mlx5_vdpa_mr *desc_mr = mvdev->mres.mr[asid]; in modify_virtqueue_end()
[all …]
/linux-6.12.1/drivers/pinctrl/qcom/
Dpinctrl-sc8180x.c1625 struct resource *mres = NULL; in sc8180x_pinctrl_add_tile_resources() local
1648 mres = r; in sc8180x_pinctrl_add_tile_resources()
1653 if (!mres) in sc8180x_pinctrl_add_tile_resources()
1660 res->start = mres->start + info->offset; in sc8180x_pinctrl_add_tile_resources()
1661 res->end = mres->start + info->offset + info->size - 1; in sc8180x_pinctrl_add_tile_resources()
1662 res->flags = mres->flags; in sc8180x_pinctrl_add_tile_resources()
1666 insert_resource(mres->parent, res); in sc8180x_pinctrl_add_tile_resources()
1670 remove_resource(mres); in sc8180x_pinctrl_add_tile_resources()
/linux-6.12.1/sound/core/
Dpcm_compat.c57 struct snd_mask mres[5]; /* reserved masks */ member
/linux-6.12.1/tools/perf/trace/beauty/include/uapi/sound/
Dasound.h412 struct snd_mask mres[5]; /* reserved masks */ member
/linux-6.12.1/include/uapi/sound/
Dasound.h412 struct snd_mask mres[5]; /* reserved masks */ member