Home
last modified time | relevance | path

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

12

/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/iommu/
Dmsm_iommu.c129 list_for_each_entry(master, &iommu->ctx_list, list) in __flush_iotlb()
152 list_for_each_entry(master, &iommu->ctx_list, list) { in __flush_iotlb_range()
370 master = list_first_entry(&iommu->ctx_list, in find_iommu_for_dev()
410 master = list_first_entry(&iommu->ctx_list, in msm_iommu_attach_dev()
418 list_for_each_entry(master, &iommu->ctx_list, list) { in msm_iommu_attach_dev()
463 list_for_each_entry(master, &iommu->ctx_list, list) { in msm_iommu_set_platform_dma()
528 if (list_empty(&iommu->ctx_list)) in msm_iommu_iova_to_phys()
531 master = list_first_entry(&iommu->ctx_list, in msm_iommu_iova_to_phys()
593 if (list_empty(&(*iommu)->ctx_list)) { in insert_iommu_master()
600 list_add(&master->list, &(*iommu)->ctx_list); in insert_iommu_master()
[all …]
Dmsm_iommu.h57 struct list_head ctx_list; member
/drivers/gpu/drm/i915/
Di915_drm_client.c30 INIT_LIST_HEAD(&client->ctx_list); in i915_drm_client_alloc()
79 list_for_each_entry_rcu(ctx, &client->ctx_list, client_link) in show_client_class()
Di915_drm_client.h26 struct list_head ctx_list; /* List of contexts belonging to client. */ member
/drivers/gpu/drm/vmwgfx/
Dvmwgfx_binding.c290 ctx_list)->ctx; in vmw_cbs_context()
322 list_del(&bi->ctx_list); in vmw_binding_drop()
352 list_add(&loc->ctx_list, &cbs->list); in vmw_binding_add()
413 list_add_tail(&loc->ctx_list, &cbs->list); in vmw_binding_transfer()
432 list_for_each_entry_safe(entry, next, &cbs->list, ctx_list) in vmw_binding_state_kill()
449 list_for_each_entry(entry, &cbs->list, ctx_list) { in vmw_binding_state_scrub()
524 list_for_each_entry_safe(entry, next, &from->list, ctx_list) { in vmw_binding_state_commit()
547 list_for_each_entry(entry, &cbs->list, ctx_list) { in vmw_binding_rebind_all()
1409 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.c178 list_for_each_entry(entry, &sw_context->ctx_list, head) { in vmw_execbuf_bindings_commit()
189 INIT_LIST_HEAD(&sw_context->ctx_list); in vmw_execbuf_bindings_commit()
247 list_add_tail(&node->head, &sw_context->ctx_list); in vmw_cmd_ctx_first_setup()
465 list_for_each_entry(entry, binding_list, ctx_list) { in vmw_resource_context_res_add()
746 list_for_each_entry(val, &sw_context->ctx_list, head) { in vmw_rebind_contexts()
4150 INIT_LIST_HEAD(&sw_context->ctx_list); in vmw_execbuf_process()
4302 WARN_ON(!list_empty(&sw_context->ctx_list)); in vmw_execbuf_process()
Dvmwgfx_drv.h437 struct list_head ctx_list; member
/drivers/media/platform/mediatek/vcodec/common/
Dmtk_vcodec_fw_vpu.c54 list_for_each_entry(ctx, &dev->ctx_list, list) { in mtk_vcodec_vpu_reset_dec_handler()
69 list_for_each_entry(ctx, &dev->ctx_list, list) { in mtk_vcodec_vpu_reset_enc_handler()
/drivers/media/platform/mediatek/mdp/
Dmtk_mdp_core.c80 list_for_each_entry(ctx, &mdp->ctx_list, list) { in mtk_mdp_wdt_worker()
120 INIT_LIST_HEAD(&mdp->ctx_list); in mtk_mdp_probe()
Dmtk_mdp_core.h159 struct list_head ctx_list; member
/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()
394 INIT_LIST_HEAD(&us_ibdev->ctx_list); in usnic_ib_device_add()
Dusnic_ib_verbs.c642 list_add_tail(&context->link, &us_ibdev->ctx_list); in usnic_ib_alloc_ucontext()
/drivers/infiniband/ulp/rtrs/
Drtrs-srv.h108 struct list_head ctx_list; member
Drtrs-srv.c759 list_for_each_entry(srv, &ctx->srv_list, ctx_list) { in exist_pathname()
1381 list_for_each_entry(srv, &ctx->srv_list, ctx_list) { in get_or_create_srv()
1425 list_add(&srv->ctx_list, &ctx->srv_list); in get_or_create_srv()
1448 list_del(&srv->ctx_list); in put_srv()
2210 list_for_each_entry(srv, &ctx->srv_list, ctx_list) in close_ctx()
/drivers/media/platform/mediatek/vcodec/encoder/
Dmtk_vcodec_enc_drv.h197 struct list_head ctx_list; member
Dmtk_vcodec_enc_drv.c181 list_add(&ctx->list, &dev->ctx_list); in fops_vcodec_open()
246 INIT_LIST_HEAD(&dev->ctx_list); in mtk_vcodec_probe()
Dvenc_vpu_if.c51 list_for_each_entry(ctx, &enc_dev->ctx_list, list) { in vpu_enc_check_ap_inst()
/drivers/media/platform/mediatek/vcodec/decoder/
Dmtk_vcodec_dec_drv.h261 struct list_head ctx_list; member
Dmtk_vcodec_dec_drv.c272 list_add(&ctx->list, &dev->ctx_list); in fops_vcodec_open()
345 INIT_LIST_HEAD(&dev->ctx_list); in mtk_vcodec_probe()
Dvdec_vpu_if.c81 list_for_each_entry(ctx, &dec_dev->ctx_list, list) { in vpu_dec_check_ap_inst()
/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.c217 struct list_head ctx_list; member
1597 list_for_each_entry(ctx, &chan->ctx_list, list) { in do_bh()
2233 get_res = list_empty(&chan->ctx_list); in ipu_image_convert_prepare()
2235 list_add_tail(&ctx->list, &chan->ctx_list); in ipu_image_convert_prepare()
2384 put_res = list_empty(&chan->ctx_list); in ipu_image_convert_unprepare()
2498 INIT_LIST_HEAD(&chan->ctx_list); in ipu_image_convert_init()

12