Home
last modified time | relevance | path

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

/linux-6.15/drivers/vdpa/mlx5/core/
H A Dmr.c674 mutex_lock(&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()
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
700 queue_delayed_work(mres->wq_gc, &mres->gc_dwork_ent, in _mlx5_vdpa_put_mr()
891 struct mlx5_vdpa_mr_resources *mres = &mvdev->mres; in mlx5_vdpa_init_mr_resources() local
894 if (!mres->wq_gc) in mlx5_vdpa_init_mr_resources()
899 mutex_init(&mres->lock); in mlx5_vdpa_init_mr_resources()
909 struct mlx5_vdpa_mr_resources *mres = &mvdev->mres; in mlx5_vdpa_destroy_mr_resources() local
[all …]
H A Dmlx5_vdpa.h107 struct mlx5_vdpa_mr_resources mres; member
/linux-6.15/fs/ocfs2/dlm/
H A Ddlmrecovery.c1123 struct_size(mres, ml, mres->num_locks), in dlm_send_mig_lockres_msg()
1160 clear_page(mres); in dlm_init_migratable_lockres()
1163 mres->num_locks = 0; in dlm_init_migratable_lockres()
1223 mres->num_locks++; in dlm_add_lock_to_array()
1365 mres->lockname, mres->master); in dlm_mig_lockres_handler()
1393 hash = dlm_lockid_hash(mres->lockname, mres->lockname_len); in dlm_mig_lockres_handler()
1405 mres->lockname_len, mres->lockname); in dlm_mig_lockres_handler()
1426 mres->lockname_len, mres->lockname); in dlm_mig_lockres_handler()
1441 res = dlm_new_lockres(dlm, mres->lockname, mres->lockname_len); in dlm_mig_lockres_handler()
1496 "%.*s\n", mres->lockname_len, mres->lockname); in dlm_mig_lockres_handler()
[all …]
H A 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()
H A Ddlmcommon.h991 struct dlm_migratable_lockres *mres,
/linux-6.15/drivers/mmc/host/
H A Dmmc_spi.c1075 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-6.15/drivers/thermal/renesas/
H A 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.15/drivers/vdpa/mlx5/net/
H A 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()
3238 mvdev->mres.group2asid[i] = 0; in init_group_to_asid_map()
3356 if (!mvdev->mres.mr[asid]) { in set_map_data()
3643 mvdev->mres.group2asid[group] = asid; in mlx5_set_group_asid()
3645 mutex_lock(&mvdev->mres.lock); in mlx5_set_group_asid()
[all …]
/linux-6.15/drivers/pinctrl/qcom/
H A 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.15/sound/core/
H A Dpcm_compat.c57 struct snd_mask mres[5]; /* reserved masks */ member
/linux-6.15/tools/perf/trace/beauty/include/uapi/sound/
H A Dasound.h412 struct snd_mask mres[5]; /* reserved masks */ member
/linux-6.15/include/uapi/sound/
H A Dasound.h412 struct snd_mask mres[5]; /* reserved masks */ member