Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/
Dintf.c65 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()
/kernel/linux/linux-5.10/drivers/misc/vmw_vmci/
Dvmci_context.c36 } 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 …]
/kernel/linux/linux-5.10/drivers/iommu/
Dmsm_iommu.c130 list_for_each_entry(master, &iommu->ctx_list, list) in __flush_iotlb()
153 list_for_each_entry(master, &iommu->ctx_list, list) { in __flush_iotlb_range()
379 master = list_first_entry(&iommu->ctx_list, in find_iommu_for_dev()
423 master = list_first_entry(&iommu->ctx_list, in msm_iommu_attach_dev()
431 list_for_each_entry(master, &iommu->ctx_list, list) { in msm_iommu_attach_dev()
476 list_for_each_entry(master, &iommu->ctx_list, list) { in msm_iommu_detach_dev()
529 if (list_empty(&iommu->ctx_list)) in msm_iommu_iova_to_phys()
532 master = list_first_entry(&iommu->ctx_list, in msm_iommu_iova_to_phys()
599 if (list_empty(&(*iommu)->ctx_list)) { in insert_iommu_master()
602 list_add(&master->list, &(*iommu)->ctx_list); in insert_iommu_master()
[all …]
Dmsm_iommu.h57 struct list_head ctx_list; member
/kernel/linux/linux-5.10/arch/sparc/mm/
Dsrmmu.c383 struct ctx_list { struct
384 struct ctx_list *next; argument
385 struct ctx_list *prev; argument
390 static struct ctx_list *ctx_list_pool; argument
391 static struct ctx_list ctx_free;
392 static struct ctx_list ctx_used;
397 static inline void remove_from_ctx_list(struct ctx_list *entry) in remove_from_ctx_list()
403 static inline void add_to_ctx_list(struct ctx_list *head, struct ctx_list *entry) in add_to_ctx_list()
415 struct ctx_list *ctxp; in alloc_context()
441 struct ctx_list *ctx_old; in free_context()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/
Dvmwgfx_binding.c290 ctx_list)->ctx; in vmw_cbs_context()
322 list_del(&bi->ctx_list); in vmw_binding_drop()
350 list_add(&loc->ctx_list, &cbs->list); in vmw_binding_add()
389 list_add_tail(&loc->ctx_list, &cbs->list); in vmw_binding_transfer()
408 list_for_each_entry_safe(entry, next, &cbs->list, ctx_list) in vmw_binding_state_kill()
425 list_for_each_entry(entry, &cbs->list, ctx_list) { in vmw_binding_state_scrub()
501 list_for_each_entry_safe(entry, next, &from->list, ctx_list) { in vmw_binding_state_commit()
524 list_for_each_entry(entry, &cbs->list, ctx_list) { in vmw_binding_rebind_all()
1405 list_for_each_entry_safe(entry, next, &cbs->list, ctx_list) in vmw_binding_state_reset()
Dvmwgfx_binding.h75 struct list_head ctx_list; member
Dvmwgfx_execbuf.c174 list_for_each_entry(entry, &sw_context->ctx_list, head) { in vmw_execbuf_bindings_commit()
185 INIT_LIST_HEAD(&sw_context->ctx_list); in vmw_execbuf_bindings_commit()
242 list_add_tail(&node->head, &sw_context->ctx_list); in vmw_cmd_ctx_first_setup()
484 list_for_each_entry(entry, binding_list, ctx_list) { in vmw_resource_context_res_add()
755 list_for_each_entry(val, &sw_context->ctx_list, head) { in vmw_rebind_contexts()
4096 INIT_LIST_HEAD(&sw_context->ctx_list); in vmw_execbuf_process()
4256 WARN_ON(!list_empty(&sw_context->ctx_list)); in vmw_execbuf_process()
/kernel/linux/linux-5.10/drivers/infiniband/hw/usnic/
Dusnic_ib.h80 struct list_head ctx_list; member
Dusnic_ib_main.c113 list_for_each_entry(ctx, &us_ibdev->ctx_list, link) { in usnic_ib_qp_grp_modify_active_to_err()
392 INIT_LIST_HEAD(&us_ibdev->ctx_list); in usnic_ib_device_add()
Dusnic_ib_verbs.c646 list_add_tail(&context->link, &us_ibdev->ctx_list); in usnic_ib_alloc_ucontext()
/kernel/linux/linux-5.10/drivers/media/platform/mtk-mdp/
Dmtk_mdp_core.c81 list_for_each_entry(ctx, &mdp->ctx_list, list) { in mtk_mdp_wdt_worker()
121 INIT_LIST_HEAD(&mdp->ctx_list); in mtk_mdp_probe()
Dmtk_mdp_core.h159 struct list_head ctx_list; member
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
Ddev.c75 list_add_tail(&dev_ctx->list, &priv->ctx_list); in mlx5_add_device()
88 list_for_each_entry(dev_ctx, &priv->ctx_list, list) in mlx5_get_device()
/kernel/linux/linux-5.10/drivers/media/platform/mtk-vcodec/
Dmtk_vcodec_fw_vpu.c62 list_for_each_entry(ctx, &dev->ctx_list, list) { in mtk_vcodec_vpu_reset_handler()
Dmtk_vcodec_dec_drv.c150 list_add(&ctx->list, &dev->ctx_list); in fops_vcodec_open()
224 INIT_LIST_HEAD(&dev->ctx_list); in mtk_vcodec_probe()
Dmtk_vcodec_drv.h381 struct list_head ctx_list; member
Dmtk_vcodec_enc_drv.c211 list_add(&ctx->list, &dev->ctx_list); in fops_vcodec_open()
274 INIT_LIST_HEAD(&dev->ctx_list); in mtk_vcodec_probe()
/kernel/linux/linux-5.10/tools/lib/bpf/
Dxsk.c56 struct list_head ctx_list; member
301 INIT_LIST_HEAD(&umem->ctx_list); in xsk_umem__create_v0_0_4()
620 if (list_empty(&umem->ctx_list)) in xsk_get_ctx()
623 list_for_each_entry(ctx, &umem->ctx_list, list) { in xsk_get_ctx()
693 list_add(&ctx->list, &umem->ctx_list); in xsk_create_ctx()
/kernel/linux/linux-5.10/drivers/infiniband/ulp/rtrs/
Drtrs-srv.h104 struct list_head ctx_list; member
Drtrs-srv.c1356 list_for_each_entry(srv, &ctx->srv_list, ctx_list) { in get_or_create_srv()
1397 list_add(&srv->ctx_list, &ctx->srv_list); in get_or_create_srv()
1420 list_del(&srv->ctx_list); in put_srv()
2168 list_for_each_entry(srv, &ctx->srv_list, ctx_list) in close_ctx()
/kernel/linux/linux-5.10/drivers/infiniband/core/
Ducma.c80 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()
/kernel/linux/linux-5.10/drivers/gpu/ipu-v3/
Dipu-image-convert.c214 struct list_head ctx_list; member
1601 list_for_each_entry(ctx, &chan->ctx_list, list) { in do_bh()
2237 get_res = list_empty(&chan->ctx_list); in ipu_image_convert_prepare()
2239 list_add_tail(&ctx->list, &chan->ctx_list); in ipu_image_convert_prepare()
2388 put_res = list_empty(&chan->ctx_list); in ipu_image_convert_unprepare()
2502 INIT_LIST_HEAD(&chan->ctx_list); in ipu_image_convert_init()
/kernel/linux/linux-5.10/io_uring/
Dio_uring.c284 struct list_head ctx_list; member
7441 list_for_each_entry(ctx, &sqd->ctx_list, sqd_list) in io_sqd_update_thread_idle()
7489 cap_entries = !list_is_singular(&sqd->ctx_list); in io_sq_thread()
7490 list_for_each_entry(ctx, &sqd->ctx_list, sqd_list) { in io_sq_thread()
7510 list_for_each_entry(ctx, &sqd->ctx_list, sqd_list) { in io_sq_thread()
7529 list_for_each_entry(ctx, &sqd->ctx_list, sqd_list) in io_sq_thread()
7539 list_for_each_entry(ctx, &sqd->ctx_list, sqd_list) in io_sq_thread()
8084 INIT_LIST_HEAD(&sqd->ctx_list); in io_get_sq_data()
8682 list_add(&ctx->sqd_list, &sqd->ctx_list); in io_sq_offload_create()
9816 list_for_each_entry(ctx, &sqd->ctx_list, sqd_list) in io_uring_cancel_generic()
/kernel/linux/linux-5.10/include/linux/mlx5/
Ddriver.h572 struct list_head ctx_list; member

12