Searched refs:context_xa (Results 1 – 9 of 9) sorted by relevance
/linux-6.12.1/drivers/accel/ivpu/ ! |
D | ivpu_drv.c | 90 drm_WARN_ON(&vdev->drm, !xa_erase_irq(&vdev->context_xa, file_priv->ctx.id)); in file_priv_unbind() 251 ret = xa_alloc_irq(&vdev->context_xa, &ctx_id, file_priv, in ivpu_open() 273 xa_erase_irq(&vdev->context_xa, ctx_id); in ivpu_open() 461 xa_for_each(&vdev->context_xa, ctx_id, file_priv) { in ivpu_context_abort_invalid() 603 xa_init_flags(&vdev->context_xa, XA_FLAGS_ALLOC | XA_FLAGS_LOCK_IRQ); in ivpu_dev_init() 679 xa_destroy(&vdev->context_xa); in ivpu_dev_init() 690 xa_for_each(&vdev->context_xa, ctx_id, file_priv) in ivpu_bo_unbind_all_user_contexts() 717 drm_WARN_ON(&vdev->drm, !xa_empty(&vdev->context_xa)); in ivpu_dev_fini() 718 xa_destroy(&vdev->context_xa); in ivpu_dev_fini()
|
D | ivpu_mmu_context.c | 598 xa_lock(&vdev->context_xa); in ivpu_mmu_user_context_mark_invalid() 600 file_priv = xa_load(&vdev->context_xa, ssid); in ivpu_mmu_user_context_mark_invalid() 604 xa_unlock(&vdev->context_xa); in ivpu_mmu_user_context_mark_invalid()
|
D | ivpu_drv.h | 133 struct xarray context_xa; member
|
D | ivpu_ms.c | 305 xa_for_each(&vdev->context_xa, ctx_id, file_priv) in ivpu_ms_cleanup_all()
|
D | ivpu_job.c | 309 xa_for_each(&vdev->context_xa, ctx_id, file_priv) in ivpu_cmdq_reset_all_contexts()
|
/linux-6.12.1/drivers/gpu/drm/i915/ ! |
D | i915_file_private.h | 87 struct xarray context_xa; member
|
/linux-6.12.1/drivers/gpu/drm/i915/gem/ ! |
D | i915_gem_throttle.c | 53 xa_for_each(&file_priv->context_xa, idx, ctx) { in i915_gem_throttle_ioctl()
|
D | i915_gem_context.c | 325 ret = xa_alloc(&fpriv->context_xa, id, NULL, xa_limit_32b, GFP_KERNEL); in proto_context_register_locked() 331 xa_erase(&fpriv->context_xa, *id); in proto_context_register_locked() 1740 old = xa_store(&fpriv->context_xa, id, ctx, GFP_KERNEL); in gem_context_register() 1756 xa_init_flags(&file_priv->context_xa, XA_FLAGS_ALLOC1); in i915_gem_context_open() 1780 xa_destroy(&file_priv->context_xa); in i915_gem_context_open() 1799 xa_for_each(&file_priv->context_xa, idx, ctx) in i915_gem_context_close() 1801 xa_destroy(&file_priv->context_xa); in i915_gem_context_close() 2308 ctx = xa_load(&file_priv->context_xa, id); in __context_lookup() 2417 ret = xa_alloc(&ext_data.fpriv->context_xa, &id, NULL, in i915_gem_context_create_ioctl() 2463 ctx = xa_erase(&file_priv->context_xa, args->ctx_id); in i915_gem_context_destroy_ioctl()
|
/linux-6.12.1/drivers/gpu/drm/i915/gem/selftests/ ! |
D | mock_context.c | 97 err = xa_alloc(&fpriv->context_xa, &id, NULL, xa_limit_32b, GFP_KERNEL); in live_context()
|