Searched refs:ctx_ids (Results 1 – 3 of 3) sorted by relevance
188 xa_lock(&pvr_dev->ctx_ids); in pvr_context_lookup_id()195 ctx = xa_load(&pvr_dev->ctx_ids, id); in pvr_context_lookup_id()199 xa_unlock(&pvr_dev->ctx_ids); in pvr_context_lookup_id()
346 err = xa_alloc(&pvr_dev->ctx_ids, &ctx->ctx_id, ctx, xa_limit_32b, GFP_KERNEL); in pvr_context_create()396 xa_erase(&pvr_dev->ctx_ids, ctx->ctx_id); in pvr_context_release()485 xa_init_flags(&pvr_dev->ctx_ids, XA_FLAGS_ALLOC1); in pvr_context_device_init()495 WARN_ON(!xa_empty(&pvr_dev->ctx_ids)); in pvr_context_device_fini()496 xa_destroy(&pvr_dev->ctx_ids); in pvr_context_device_fini()
177 struct xarray ctx_ids; member