/drivers/net/ethernet/mellanox/mlx4/ |
D | intf.c | 65 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()
|
D | mlx4.h | 874 struct list_head ctx_list; member
|
D | main.c | 3253 INIT_LIST_HEAD(&priv->ctx_list); in mlx4_load_one()
|
/drivers/misc/vmw_vmci/ |
D | vmci_context.c | 40 } ctx_list = { variable 41 .head = LIST_HEAD_INIT(ctx_list.head), 42 .lock = __SPIN_LOCK_UNLOCKED(ctx_list.lock), 161 spin_lock(&ctx_list.lock); in vmci_ctx_create() 171 list_add_tail_rcu(&context->list_item, &ctx_list.head); in vmci_ctx_create() 172 spin_unlock(&ctx_list.lock); in vmci_ctx_create() 191 spin_lock(&ctx_list.lock); in vmci_ctx_destroy() 193 spin_unlock(&ctx_list.lock); in vmci_ctx_destroy() 223 list_for_each_entry_rcu(sub_ctx, &ctx_list.head, list_item) { in ctx_fire_notification() 378 list_for_each_entry_rcu(context, &ctx_list.head, list_item) { in vmci_ctx_exists() [all …]
|
/drivers/iommu/ |
D | msm_iommu.c | 141 list_for_each_entry(master, &iommu->ctx_list, list) in __flush_iotlb() 164 list_for_each_entry(master, &iommu->ctx_list, list) { in __flush_iotlb_range() 387 master = list_first_entry(&iommu->ctx_list, in msm_iommu_attach_dev() 395 list_for_each_entry(master, &iommu->ctx_list, list) { in msm_iommu_attach_dev() 440 list_for_each_entry(master, &iommu->ctx_list, list) { in msm_iommu_detach_dev() 493 if (list_empty(&iommu->ctx_list)) in msm_iommu_iova_to_phys() 496 master = list_first_entry(&iommu->ctx_list, in msm_iommu_iova_to_phys() 563 if (list_empty(&(*iommu)->ctx_list)) { in insert_iommu_master() 566 list_add(&master->list, &(*iommu)->ctx_list); in insert_iommu_master() 664 INIT_LIST_HEAD(&iommu->ctx_list); in msm_iommu_probe()
|
D | msm_iommu.h | 69 struct list_head ctx_list; member
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | dev.c | 73 list_add_tail(&dev_ctx->list, &priv->ctx_list); in mlx5_add_device() 85 list_for_each_entry(dev_ctx, &priv->ctx_list, list) in mlx5_get_device() 254 list_for_each_entry(dev_ctx, &mdev->priv.ctx_list, list) in mlx5_get_protocol_dev() 325 list_for_each_entry(dev_ctx, &priv->ctx_list, list) in mlx5_core_event()
|
D | main.c | 1246 INIT_LIST_HEAD(&priv->ctx_list); in init_one()
|
/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_binding.c | 250 ctx_list)->ctx; in vmw_cbs_context() 282 list_del(&bi->ctx_list); in vmw_binding_drop() 310 list_add(&loc->ctx_list, &cbs->list); in vmw_binding_add() 337 list_add_tail(&loc->ctx_list, &cbs->list); in vmw_binding_transfer() 356 list_for_each_entry_safe(entry, next, &cbs->list, ctx_list) in vmw_binding_state_kill() 373 list_for_each_entry(entry, &cbs->list, ctx_list) { in vmw_binding_state_scrub() 449 list_for_each_entry_safe(entry, next, &from->list, ctx_list) { in vmw_binding_state_commit() 468 list_for_each_entry(entry, &cbs->list, ctx_list) { in vmw_binding_rebind_all() 1264 list_for_each_entry_safe(entry, next, &cbs->list, ctx_list) in vmw_binding_state_reset()
|
D | vmwgfx_binding.h | 69 struct list_head ctx_list; member
|
D | vmwgfx_execbuf.c | 407 list_for_each_entry(entry, binding_list, ctx_list) { in vmw_resource_context_res_add()
|
/drivers/media/platform/mtk-vcodec/ |
D | mtk_vcodec_enc_drv.c | 120 list_for_each_entry(ctx, &dev->ctx_list, list) { in mtk_vcodec_enc_reset_handler() 192 list_add(&ctx->list, &dev->ctx_list); in fops_vcodec_open() 258 INIT_LIST_HEAD(&dev->ctx_list); in mtk_vcodec_probe()
|
D | mtk_vcodec_drv.h | 299 struct list_head ctx_list; member
|
/drivers/infiniband/hw/usnic/ |
D | usnic_ib.h | 76 struct list_head ctx_list; member
|
D | usnic_ib_main.c | 125 list_for_each_entry(ctx, &us_ibdev->ctx_list, link) { in usnic_ib_qp_grp_modify_active_to_err() 375 INIT_LIST_HEAD(&us_ibdev->ctx_list); in usnic_ib_device_add()
|
D | usnic_ib_verbs.c | 668 list_add_tail(&context->link, &us_ibdev->ctx_list); in usnic_ib_alloc_ucontext()
|
/drivers/gpu/ipu-v3/ |
D | ipu-image-convert.c | 179 struct list_head ctx_list; member 883 list_for_each_entry(ctx, &chan->ctx_list, list) { in do_bh() 1443 get_res = list_empty(&chan->ctx_list); in ipu_image_convert_prepare() 1445 list_add_tail(&ctx->list, &chan->ctx_list); in ipu_image_convert_prepare() 1587 put_res = list_empty(&chan->ctx_list); in ipu_image_convert_unprepare() 1699 INIT_LIST_HEAD(&chan->ctx_list); in ipu_image_convert_init()
|
/drivers/infiniband/core/ |
D | ucm.c | 94 struct list_head ctx_list; /* member in ctx event list */ member 162 struct ib_ucm_event, ctx_list); in ib_ucm_cleanup_events() 164 list_del(&uevent->ctx_list); in ib_ucm_cleanup_events() 373 list_add_tail(&uevent->ctx_list, &ctx->events); in ib_ucm_event_handler() 459 list_del(&uevent->ctx_list); in ib_ucm_event()
|
D | ucma.c | 75 struct list_head ctx_list; member 204 list_add_tail(&ctx->list, &file->ctx_list); in ucma_alloc_ctx() 1565 list_move_tail(&ctx->list, &new_file->ctx_list); in ucma_migrate_id() 1681 INIT_LIST_HEAD(&file->ctx_list); in ucma_open() 1697 list_for_each_entry_safe(ctx, tmp, &file->ctx_list, list) { in ucma_close()
|