Searched refs:alloc_idr (Results 1 – 3 of 3) sorted by relevance
/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_process.c | 961 idr_for_each_entry(&pdd->alloc_idr, mem, id) { in kfd_process_device_free_bos() 1041 idr_destroy(&pdd->alloc_idr); in kfd_process_destroy_pdds() 1593 idr_init(&pdd->alloc_idr); in kfd_create_process_device_data() 1730 return idr_alloc(&pdd->alloc_idr, mem, 0, 0, GFP_KERNEL); in kfd_process_device_create_obj_handle() 1742 return idr_find(&pdd->alloc_idr, handle); in kfd_process_device_translate_handle() 1752 idr_remove(&pdd->alloc_idr, handle); in kfd_process_device_remove_obj_handle()
|
D | kfd_chardev.c | 1756 idr_for_each_entry(&pdd->alloc_idr, mem, id) { in get_process_num_bos() 1819 idr_for_each_entry(&pdd->alloc_idr, mem, id) { in criu_checkpoint_bos() 2238 idr_handle = idr_alloc(&pdd->alloc_idr, *kgd_mem, bo_priv->idr_handle, in criu_restore_memory_of_gpu()
|
D | kfd_priv.h | 721 struct idr alloc_idr; member
|