Searched refs:context_xa (Results 1 – 4 of 4) sorted by relevance
/linux-5.19.10/drivers/gpu/drm/i915/ |
D | i915_file_private.h | 87 struct xarray context_xa; member
|
/linux-5.19.10/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 | 322 ret = xa_alloc(&fpriv->context_xa, id, NULL, xa_limit_32b, GFP_KERNEL); in proto_context_register_locked() 328 xa_erase(&fpriv->context_xa, *id); in proto_context_register_locked() 1706 old = xa_store(&fpriv->context_xa, id, ctx, GFP_KERNEL); in gem_context_register() 1730 xa_init_flags(&file_priv->context_xa, XA_FLAGS_ALLOC1); in i915_gem_context_open() 1754 xa_destroy(&file_priv->context_xa); in i915_gem_context_open() 1773 xa_for_each(&file_priv->context_xa, idx, ctx) in i915_gem_context_close() 1775 xa_destroy(&file_priv->context_xa); in i915_gem_context_close() 2179 ctx = xa_load(&file_priv->context_xa, id); in __context_lookup() 2279 ret = xa_alloc(&ext_data.fpriv->context_xa, &id, NULL, in i915_gem_context_create_ioctl() 2326 ctx = xa_erase(&file_priv->context_xa, args->ctx_id); in i915_gem_context_destroy_ioctl()
|
/linux-5.19.10/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()
|