Home
last modified time | relevance | path

Searched refs:ctx_list (Results 1 – 6 of 6) 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.h742 struct list_head ctx_list; member
Dmain.c2140 INIT_LIST_HEAD(&priv->ctx_list); in __mlx4_init_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/infiniband/core/
Ducm.c93 struct list_head ctx_list; /* member in ctx event list */ member
161 struct ib_ucm_event, ctx_list); in ib_ucm_cleanup_events()
163 list_del(&uevent->ctx_list); in ib_ucm_cleanup_events()
372 list_add_tail(&uevent->ctx_list, &ctx->events); in ib_ucm_event_handler()
458 list_del(&uevent->ctx_list); in ib_ucm_event()
Ducma.c72 struct list_head ctx_list; member
164 list_add_tail(&ctx->list, &file->ctx_list); in ucma_alloc_ctx()
1202 list_move_tail(&ctx->list, &new_file->ctx_list); in ucma_migrate_id()
1304 INIT_LIST_HEAD(&file->ctx_list); in ucma_open()
1320 list_for_each_entry_safe(ctx, tmp, &file->ctx_list, list) { in ucma_close()