Searched refs:ctx_handles (Results 1 – 5 of 5) sorted by relevance
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| A D | amdgpu_ctx.c | 334 idr_remove(&mgr->ctx_handles, *id); in amdgpu_ctx_alloc() 366 ctx = idr_remove(&mgr->ctx_handles, id); in amdgpu_ctx_free() 386 ctx = idr_find(&mgr->ctx_handles, id); in amdgpu_ctx_query() 424 ctx = idr_find(&mgr->ctx_handles, id); in amdgpu_ctx_query2() 521 ctx = idr_find(&mgr->ctx_handles, id); in amdgpu_ctx_get() 665 idr_init(&mgr->ctx_handles); in amdgpu_ctx_mgr_init() 674 idp = &mgr->ctx_handles; in amdgpu_ctx_mgr_entity_flush() 700 idp = &mgr->ctx_handles; in amdgpu_ctx_mgr_entity_fini() 730 idp = &mgr->ctx_handles; in amdgpu_ctx_mgr_fini() 737 idr_destroy(&mgr->ctx_handles); in amdgpu_ctx_mgr_fini() [all …]
|
| A D | amdgpu_ctx.h | 62 struct idr ctx_handles; member
|
| A D | amdgpu_sched.c | 54 idr_for_each_entry(&fpriv->ctx_mgr.ctx_handles, ctx, id) in amdgpu_sched_process_priority_override()
|
| /linux/drivers/misc/habanalabs/common/ |
| A D | context.c | 149 rc = idr_alloc(&mgr->ctx_handles, ctx, 1, 0, GFP_KERNEL); in hl_ctx_create() 176 idr_remove(&mgr->ctx_handles, ctx->handle); in hl_ctx_create() 368 idr_init(&mgr->ctx_handles); in hl_ctx_mgr_init() 386 idp = &mgr->ctx_handles; in hl_ctx_mgr_fini() 391 idr_destroy(&mgr->ctx_handles); in hl_ctx_mgr_fini()
|
| A D | habanalabs.h | 1461 struct idr ctx_handles; member
|
Completed in 20 milliseconds