Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlx4/
Dintf.c62 list_add_tail(&dev_ctx->list, &priv->ctx_list); in mlx4_add_device()
72 list_for_each_entry(dev_ctx, &priv->ctx_list, list) in mlx4_remove_device()
127 list_for_each_entry(dev_ctx, &priv->ctx_list, list) in mlx4_dispatch_event()
178 list_for_each_entry(dev_ctx, &priv->ctx_list, list) in mlx4_get_protocol_dev()
Dmlx4.h816 struct list_head ctx_list; member
Dmain.c2272 INIT_LIST_HEAD(&priv->ctx_list); in mlx4_load_one()
/drivers/misc/vmw_vmci/
Dvmci_context.c40 } 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/gpu/drm/vmwgfx/
Dvmwgfx_context.c658 list_del(&cb->ctx_list); in vmw_context_binding_drop()
715 list_add_tail(&loc->ctx_list, &cbs->list); in vmw_context_binding_add()
752 list_add_tail(&loc->ctx_list, &cbs->list); in vmw_context_binding_transfer()
788 list_for_each_entry_safe(entry, next, &cbs->list, ctx_list) in vmw_context_binding_state_kill()
805 list_for_each_entry(entry, &cbs->list, ctx_list) { in vmw_context_binding_state_scrub()
867 list_for_each_entry_safe(entry, next, &from->list, ctx_list) in vmw_context_binding_state_transfer()
887 list_for_each_entry(entry, &cbs->list, ctx_list) { in vmw_context_rebind_all()
Dvmwgfx_drv.h306 struct list_head ctx_list; member
Dvmwgfx_execbuf.c205 list_for_each_entry(entry, binding_list, ctx_list) { in vmw_resource_context_res_add()
/drivers/infiniband/hw/usnic/
Dusnic_ib.h61 struct list_head ctx_list; member
Dusnic_ib_main.c110 list_for_each_entry(ctx, &us_ibdev->ctx_list, link) { in usnic_ib_qp_grp_modify_active_to_err()
330 INIT_LIST_HEAD(&us_ibdev->ctx_list); in usnic_ib_device_add()
Dusnic_ib_verbs.c647 list_add_tail(&context->link, &us_ibdev->ctx_list); in usnic_ib_alloc_ucontext()
/drivers/net/ethernet/mellanox/mlx5/core/
Dmain.c744 list_add_tail(&dev_ctx->list, &priv->ctx_list); in mlx5_add_device()
756 list_for_each_entry(dev_ctx, &priv->ctx_list, list) in mlx5_remove_device()
830 list_for_each_entry(dev_ctx, &priv->ctx_list, list) in mlx5_core_event()
867 INIT_LIST_HEAD(&priv->ctx_list); in init_one()
/drivers/infiniband/core/
Ducm.c94 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()
Ducma.c74 struct list_head ctx_list; member
166 list_add_tail(&ctx->list, &file->ctx_list); in ucma_alloc_ctx()
1436 list_move_tail(&ctx->list, &new_file->ctx_list); in ucma_migrate_id()
1545 INIT_LIST_HEAD(&file->ctx_list); in ucma_open()
1561 list_for_each_entry_safe(ctx, tmp, &file->ctx_list, list) { in ucma_close()