Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlx4/
Dintf.c64 list_add_tail(&dev_ctx->list, &priv->ctx_list); in mlx4_add_device()
77 list_for_each_entry(dev_ctx, &priv->ctx_list, list) in mlx4_remove_device()
158 list_for_each_entry_safe(dev_ctx, temp_dev_ctx, &priv->ctx_list, list) { in mlx4_do_bond()
171 list_add_tail(&dev_ctx->list, &priv->ctx_list); in mlx4_do_bond()
190 list_for_each_entry(dev_ctx, &priv->ctx_list, list) in mlx4_dispatch_event()
256 list_for_each_entry(dev_ctx, &priv->ctx_list, list) in mlx4_get_protocol_dev()
Dmlx4.h860 struct list_head ctx_list; member
Dmain.c3034 INIT_LIST_HEAD(&priv->ctx_list); in mlx4_load_one()
/drivers/misc/vmw_vmci/
Dvmci_context.c43 } ctx_list = { variable
44 .head = LIST_HEAD_INIT(ctx_list.head),
45 .lock = __SPIN_LOCK_UNLOCKED(ctx_list.lock),
167 spin_lock(&ctx_list.lock); in vmci_ctx_create()
177 list_add_tail_rcu(&context->list_item, &ctx_list.head); in vmci_ctx_create()
178 spin_unlock(&ctx_list.lock); in vmci_ctx_create()
197 spin_lock(&ctx_list.lock); in vmci_ctx_destroy()
199 spin_unlock(&ctx_list.lock); in vmci_ctx_destroy()
229 list_for_each_entry_rcu(sub_ctx, &ctx_list.head, list_item) { in ctx_fire_notification()
384 list_for_each_entry_rcu(context, &ctx_list.head, list_item) { in vmci_ctx_exists()
[all …]
/drivers/gpu/drm/vmwgfx/
Dvmwgfx_binding.c250 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()
Dvmwgfx_binding.h69 struct list_head ctx_list; member
Dvmwgfx_execbuf.c376 list_for_each_entry(entry, binding_list, ctx_list) { in vmw_resource_context_res_add()
/drivers/infiniband/hw/usnic/
Dusnic_ib.h76 struct list_head ctx_list; member
Dusnic_ib_main.c125 list_for_each_entry(ctx, &us_ibdev->ctx_list, link) { in usnic_ib_qp_grp_modify_active_to_err()
360 INIT_LIST_HEAD(&us_ibdev->ctx_list); in usnic_ib_device_add()
Dusnic_ib_verbs.c673 list_add_tail(&context->link, &us_ibdev->ctx_list); in usnic_ib_alloc_ucontext()
/drivers/net/ethernet/mellanox/mlx5/core/
Dmain.c737 list_add_tail(&dev_ctx->list, &priv->ctx_list); in mlx5_add_device()
749 list_for_each_entry(dev_ctx, &priv->ctx_list, list) in mlx5_remove_device()
825 list_for_each_entry(dev_ctx, &mdev->priv.ctx_list, list) in mlx5_get_protocol_dev()
1180 list_for_each_entry(dev_ctx, &priv->ctx_list, list) in mlx5_core_event()
1219 INIT_LIST_HEAD(&priv->ctx_list); in init_one()
/drivers/infiniband/core/
Ducm.c96 struct list_head ctx_list; /* member in ctx event list */ member
164 struct ib_ucm_event, ctx_list); in ib_ucm_cleanup_events()
166 list_del(&uevent->ctx_list); in ib_ucm_cleanup_events()
375 list_add_tail(&uevent->ctx_list, &ctx->events); in ib_ucm_event_handler()
461 list_del(&uevent->ctx_list); in ib_ucm_event()
Ducma.c77 struct list_head ctx_list; member
207 list_add_tail(&ctx->list, &file->ctx_list); in ucma_alloc_ctx()
1567 list_move_tail(&ctx->list, &new_file->ctx_list); in ucma_migrate_id()
1683 INIT_LIST_HEAD(&file->ctx_list); in ucma_open()
1699 list_for_each_entry_safe(ctx, tmp, &file->ctx_list, list) { in ucma_close()