/drivers/misc/vmw_vmci/ |
D | vmci_context.c | 36 } 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/ |
D | msm_iommu.c | 129 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 …]
|
D | msm_iommu.h | 57 struct list_head ctx_list; member
|
/drivers/gpu/drm/i915/ |
D | i915_drm_client.c | 30 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()
|
D | i915_drm_client.h | 26 struct list_head ctx_list; /* List of contexts belonging to client. */ member
|
/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_binding.c | 290 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()
|
D | vmwgfx_binding.h | 75 struct list_head ctx_list; member
|
D | vmwgfx_execbuf.c | 178 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()
|
D | vmwgfx_drv.h | 437 struct list_head ctx_list; member
|
/drivers/media/platform/mediatek/vcodec/common/ |
D | mtk_vcodec_fw_vpu.c | 54 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/ |
D | mtk_mdp_core.c | 80 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()
|
D | mtk_mdp_core.h | 159 struct list_head ctx_list; member
|
/drivers/infiniband/hw/usnic/ |
D | usnic_ib.h | 80 struct list_head ctx_list; member
|
D | usnic_ib_main.c | 113 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()
|
D | usnic_ib_verbs.c | 642 list_add_tail(&context->link, &us_ibdev->ctx_list); in usnic_ib_alloc_ucontext()
|
/drivers/infiniband/ulp/rtrs/ |
D | rtrs-srv.h | 108 struct list_head ctx_list; member
|
D | rtrs-srv.c | 759 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/ |
D | mtk_vcodec_enc_drv.h | 197 struct list_head ctx_list; member
|
D | mtk_vcodec_enc_drv.c | 181 list_add(&ctx->list, &dev->ctx_list); in fops_vcodec_open() 246 INIT_LIST_HEAD(&dev->ctx_list); in mtk_vcodec_probe()
|
D | venc_vpu_if.c | 51 list_for_each_entry(ctx, &enc_dev->ctx_list, list) { in vpu_enc_check_ap_inst()
|
/drivers/media/platform/mediatek/vcodec/decoder/ |
D | mtk_vcodec_dec_drv.h | 261 struct list_head ctx_list; member
|
D | mtk_vcodec_dec_drv.c | 272 list_add(&ctx->list, &dev->ctx_list); in fops_vcodec_open() 345 INIT_LIST_HEAD(&dev->ctx_list); in mtk_vcodec_probe()
|
D | vdec_vpu_if.c | 81 list_for_each_entry(ctx, &dec_dev->ctx_list, list) { in vpu_dec_check_ap_inst()
|
/drivers/infiniband/core/ |
D | ucma.c | 80 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/ |
D | ipu-image-convert.c | 217 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()
|