Searched refs:alloc_idr (Results 1 – 3 of 3) sorted by relevance
/linux-6.1.9/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() 1540 idr_init(&pdd->alloc_idr); in kfd_create_process_device_data() 1677 return idr_alloc(&pdd->alloc_idr, mem, 0, 0, GFP_KERNEL); in kfd_process_device_create_obj_handle() 1689 return idr_find(&pdd->alloc_idr, handle); in kfd_process_device_translate_handle() 1699 idr_remove(&pdd->alloc_idr, handle); in kfd_process_device_remove_obj_handle()
|
D | kfd_chardev.c | 1747 idr_for_each_entry(&pdd->alloc_idr, mem, id) { in get_process_num_bos() 1810 idr_for_each_entry(&pdd->alloc_idr, mem, id) { in criu_checkpoint_bos() 2229 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
|