Searched refs:alloc_idr (Results 1 – 3 of 3) sorted by relevance
/linux-6.6.21/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_process.c | 957 idr_for_each_entry(&pdd->alloc_idr, mem, id) { in kfd_process_device_free_bos() 1036 idr_destroy(&pdd->alloc_idr); in kfd_process_destroy_pdds() 1611 idr_init(&pdd->alloc_idr); in kfd_create_process_device_data() 1743 return idr_alloc(&pdd->alloc_idr, mem, 0, 0, GFP_KERNEL); in kfd_process_device_create_obj_handle() 1755 return idr_find(&pdd->alloc_idr, handle); in kfd_process_device_translate_handle() 1765 idr_remove(&pdd->alloc_idr, handle); in kfd_process_device_remove_obj_handle()
|
D | kfd_chardev.c | 1844 idr_for_each_entry(&pdd->alloc_idr, mem, id) { in get_process_num_bos() 1906 idr_for_each_entry(&pdd->alloc_idr, mem, id) { in criu_checkpoint_bos() 2330 idr_handle = idr_alloc(&pdd->alloc_idr, *kgd_mem, bo_priv->idr_handle, in criu_restore_memory_of_gpu()
|
D | kfd_priv.h | 754 struct idr alloc_idr; member
|