Home
last modified time | relevance | path

Searched refs:mentry (Results 1 – 7 of 7) sorted by relevance

/Linux-v6.1/drivers/infiniband/hw/mlx5/
Ddm.c151 struct mlx5_user_mmap_entry *mentry, u8 mmap_flag, in add_dm_mmap_entry() argument
154 mentry->mmap_flag = mmap_flag; in add_dm_mmap_entry()
155 mentry->address = address; in add_dm_mmap_entry()
158 context, &mentry->rdma_entry, size, in add_dm_mmap_entry()
180 page_idx = op_entry->mentry.rdma_entry.start_pgoff & 0xFFFF; in copy_op_to_user()
244 err = add_dm_mmap_entry(uobj->context, &op_entry->mentry, in UVERBS_HANDLER()
267 rdma_user_mmap_entry_remove(&op_entry->mentry.rdma_entry); in UVERBS_HANDLER()
309 err = add_dm_mmap_entry(ctx, &dm->mentry, MLX5_IB_MMAP_TYPE_MEMIC, in handle_alloc_dm_memic()
317 page_idx = dm->mentry.rdma_entry.start_pgoff & 0xFFFF; in handle_alloc_dm_memic()
333 rdma_user_mmap_entry_remove(&dm->mentry.rdma_entry); in handle_alloc_dm_memic()
[all …]
Ddm.h22 struct mlx5_user_mmap_entry mentry; member
30 struct mlx5_user_mmap_entry mentry; member
62 struct mlx5_user_mmap_entry *mentry);
Dmain.c2101 struct mlx5_user_mmap_entry *mentry = to_mmmap(entry); in mlx5_ib_mmap_free() local
2106 switch (mentry->mmap_flag) { in mlx5_ib_mmap_free()
2109 mlx5_ib_dm_mmap_free(dev, mentry); in mlx5_ib_mmap_free()
2113 clear_bit(mentry->page_idx, var_table->bitmap); in mlx5_ib_mmap_free()
2115 kfree(mentry); in mlx5_ib_mmap_free()
2119 mlx5_cmd_uar_dealloc(dev->mdev, mentry->page_idx, in mlx5_ib_mmap_free()
2121 kfree(mentry); in mlx5_ib_mmap_free()
2251 struct mlx5_user_mmap_entry *mentry; in mlx5_ib_mmap_offset() local
2263 mentry = to_mmmap(entry); in mlx5_ib_mmap_offset()
2264 pfn = (mentry->address >> PAGE_SHIFT); in mlx5_ib_mmap_offset()
[all …]
/Linux-v6.1/sound/soc/intel/avs/
Ddsp.c230 struct avs_module_entry mentry; in avs_dsp_init_module() local
238 ret = avs_get_module_id_entry(adev, module_id, &mentry); in avs_dsp_init_module()
247 if (!id && !avs_module_entry_is_loaded(&mentry)) { in avs_dsp_init_module()
248 ret = avs_dsp_op(adev, transfer_mods, true, &mentry, 1); in avs_dsp_init_module()
268 avs_dsp_op(adev, transfer_mods, false, &mentry, 1); in avs_dsp_init_module()
278 struct avs_module_entry mentry; in avs_dsp_delete_module() local
287 ret = avs_get_module_id_entry(adev, module_id, &mentry); in avs_dsp_delete_module()
289 if (!ret && mentry.type.load_type == AVS_MODULE_LOAD_TYPE_LOADABLE) { in avs_dsp_delete_module()
291 ret = avs_dsp_op(adev, transfer_mods, false, &mentry, 1); in avs_dsp_delete_module()
Dloader.c210 static int avs_cldma_load_module(struct avs_dev *adev, struct avs_module_entry *mentry) in avs_cldma_load_module() argument
218 adev->spec->name, mentry->uuid.b); in avs_cldma_load_module()
229 ret = avs_ipc_load_modules(adev, &mentry->module_id, 1); in avs_cldma_load_module()
233 dev_err(adev->dev, "load module %d failed: %d\n", mentry->module_id, ret); in avs_cldma_load_module()
Dmessages.h536 static inline bool avs_module_entry_is_loaded(struct avs_module_entry *mentry) in avs_module_entry_is_loaded() argument
538 return mentry->type.load_type == AVS_MODULE_LOAD_TYPE_BUILTIN || in avs_module_entry_is_loaded()
539 mentry->state_flags & AVS_MODULE_STATE_LOADED; in avs_module_entry_is_loaded()
/Linux-v6.1/drivers/infiniband/hw/hfi1/
Dverbs.c1087 u16 mentry = ent & PKEY_LOW_15_MASK; in egress_pkey_matches_entry() local
1089 if (mkey == mentry) { in egress_pkey_matches_entry()