Home
last modified time | relevance | path

Searched refs:ctx_list (Results 1 – 25 of 26) sorted by relevance

12

/drivers/net/ethernet/mellanox/mlx4/
Dintf.c65 list_add_tail(&dev_ctx->list, &priv->ctx_list); in mlx4_add_device()
78 list_for_each_entry(dev_ctx, &priv->ctx_list, list) in mlx4_remove_device()
159 list_for_each_entry_safe(dev_ctx, temp_dev_ctx, &priv->ctx_list, list) { in mlx4_do_bond()
172 list_add_tail(&dev_ctx->list, &priv->ctx_list); in mlx4_do_bond()
191 list_for_each_entry(dev_ctx, &priv->ctx_list, list) in mlx4_dispatch_event()
257 list_for_each_entry(dev_ctx, &priv->ctx_list, list) in mlx4_get_protocol_dev()
Dmlx4.h878 struct list_head ctx_list; member
/drivers/iommu/
Dmsm_iommu.c130 list_for_each_entry(master, &iommu->ctx_list, list) in __flush_iotlb()
153 list_for_each_entry(master, &iommu->ctx_list, list) { in __flush_iotlb_range()
371 master = list_first_entry(&iommu->ctx_list, in find_iommu_for_dev()
415 master = list_first_entry(&iommu->ctx_list, in msm_iommu_attach_dev()
423 list_for_each_entry(master, &iommu->ctx_list, list) { in msm_iommu_attach_dev()
468 list_for_each_entry(master, &iommu->ctx_list, list) { in msm_iommu_detach_dev()
529 if (list_empty(&iommu->ctx_list)) in msm_iommu_iova_to_phys()
532 master = list_first_entry(&iommu->ctx_list, in msm_iommu_iova_to_phys()
599 if (list_empty(&(*iommu)->ctx_list)) { in insert_iommu_master()
602 list_add(&master->list, &(*iommu)->ctx_list); in insert_iommu_master()
[all …]
Dmsm_iommu.h57 struct list_head ctx_list; member
/drivers/misc/vmw_vmci/
Dvmci_context.c36 } ctx_list = { variable
37 .head = LIST_HEAD_INIT(ctx_list.head),
38 .lock = __SPIN_LOCK_UNLOCKED(ctx_list.lock),
160 spin_lock(&ctx_list.lock); in vmci_ctx_create()
170 list_add_tail_rcu(&context->list_item, &ctx_list.head); in vmci_ctx_create()
171 spin_unlock(&ctx_list.lock); in vmci_ctx_create()
190 spin_lock(&ctx_list.lock); in vmci_ctx_destroy()
192 spin_unlock(&ctx_list.lock); in vmci_ctx_destroy()
222 list_for_each_entry_rcu(sub_ctx, &ctx_list.head, list_item) { in ctx_fire_notification()
377 list_for_each_entry_rcu(context, &ctx_list.head, list_item) { in vmci_ctx_exists()
[all …]
/drivers/gpu/drm/vmwgfx/
Dvmwgfx_binding.c290 ctx_list)->ctx; in vmw_cbs_context()
322 list_del(&bi->ctx_list); in vmw_binding_drop()
350 list_add(&loc->ctx_list, &cbs->list); in vmw_binding_add()
389 list_add_tail(&loc->ctx_list, &cbs->list); in vmw_binding_transfer()
408 list_for_each_entry_safe(entry, next, &cbs->list, ctx_list) in vmw_binding_state_kill()
425 list_for_each_entry(entry, &cbs->list, ctx_list) { in vmw_binding_state_scrub()
501 list_for_each_entry_safe(entry, next, &from->list, ctx_list) { in vmw_binding_state_commit()
524 list_for_each_entry(entry, &cbs->list, ctx_list) { in vmw_binding_rebind_all()
1405 list_for_each_entry_safe(entry, next, &cbs->list, ctx_list) in vmw_binding_state_reset()
Dvmwgfx_binding.h75 struct list_head ctx_list; member
Dvmwgfx_execbuf.c174 list_for_each_entry(entry, &sw_context->ctx_list, head) { in vmw_execbuf_bindings_commit()
185 INIT_LIST_HEAD(&sw_context->ctx_list); in vmw_execbuf_bindings_commit()
242 list_add_tail(&node->head, &sw_context->ctx_list); in vmw_cmd_ctx_first_setup()
484 list_for_each_entry(entry, binding_list, ctx_list) { in vmw_resource_context_res_add()
755 list_for_each_entry(val, &sw_context->ctx_list, head) { in vmw_rebind_contexts()
4089 INIT_LIST_HEAD(&sw_context->ctx_list); in vmw_execbuf_process()
4249 WARN_ON(!list_empty(&sw_context->ctx_list)); in vmw_execbuf_process()
Dvmwgfx_drv.h433 struct list_head ctx_list; member
/drivers/media/platform/mtk-mdp/
Dmtk_mdp_core.c81 list_for_each_entry(ctx, &mdp->ctx_list, list) { in mtk_mdp_wdt_worker()
121 INIT_LIST_HEAD(&mdp->ctx_list); in mtk_mdp_probe()
Dmtk_mdp_core.h159 struct list_head ctx_list; member
Dmtk_mdp_m2m.c1111 list_add(&ctx->list, &mdp->ctx_list); in mtk_mdp_m2m_open()
/drivers/infiniband/hw/usnic/
Dusnic_ib.h80 struct list_head ctx_list; member
Dusnic_ib_main.c113 list_for_each_entry(ctx, &us_ibdev->ctx_list, link) { in usnic_ib_qp_grp_modify_active_to_err()
392 INIT_LIST_HEAD(&us_ibdev->ctx_list); in usnic_ib_device_add()
Dusnic_ib_verbs.c646 list_add_tail(&context->link, &us_ibdev->ctx_list); in usnic_ib_alloc_ucontext()
/drivers/net/ethernet/mellanox/mlx5/core/
Ddev.c75 list_add_tail(&dev_ctx->list, &priv->ctx_list); in mlx5_add_device()
88 list_for_each_entry(dev_ctx, &priv->ctx_list, list) in mlx5_get_device()
Dmain.c1288 INIT_LIST_HEAD(&priv->ctx_list); in mlx5_mdev_init()
/drivers/media/platform/mtk-vcodec/
Dmtk_vcodec_fw_vpu.c62 list_for_each_entry(ctx, &dev->ctx_list, list) { in mtk_vcodec_vpu_reset_handler()
Dmtk_vcodec_dec_drv.c150 list_add(&ctx->list, &dev->ctx_list); in fops_vcodec_open()
224 INIT_LIST_HEAD(&dev->ctx_list); in mtk_vcodec_probe()
Dmtk_vcodec_enc_drv.c211 list_add(&ctx->list, &dev->ctx_list); in fops_vcodec_open()
274 INIT_LIST_HEAD(&dev->ctx_list); in mtk_vcodec_probe()
Dmtk_vcodec_drv.h381 struct list_head ctx_list; member
/drivers/infiniband/ulp/rtrs/
Drtrs-srv.h104 struct list_head ctx_list; member
Drtrs-srv.c1356 list_for_each_entry(srv, &ctx->srv_list, ctx_list) { in get_or_create_srv()
1397 list_add(&srv->ctx_list, &ctx->srv_list); in get_or_create_srv()
1420 list_del(&srv->ctx_list); in put_srv()
2168 list_for_each_entry(srv, &ctx->srv_list, ctx_list) in close_ctx()
/drivers/infiniband/core/
Ducma.c80 struct list_head ctx_list; member
226 list_add_tail(&ctx->list, &ctx->file->ctx_list); in ucma_finish_ctx()
1671 list_add_tail(&ctx->list, &new_file->ctx_list); in ucma_migrate_id()
1781 INIT_LIST_HEAD(&file->ctx_list); in ucma_open()
1803 while (!list_empty(&file->ctx_list)) { in ucma_close()
1805 &file->ctx_list, struct ucma_context, list); in ucma_close()
/drivers/gpu/ipu-v3/
Dipu-image-convert.c214 struct list_head ctx_list; member
1601 list_for_each_entry(ctx, &chan->ctx_list, list) { in do_bh()
2237 get_res = list_empty(&chan->ctx_list); in ipu_image_convert_prepare()
2239 list_add_tail(&ctx->list, &chan->ctx_list); in ipu_image_convert_prepare()
2388 put_res = list_empty(&chan->ctx_list); in ipu_image_convert_unprepare()
2502 INIT_LIST_HEAD(&chan->ctx_list); in ipu_image_convert_init()

12