Home
last modified time | relevance | path

Searched refs:alloc_idr (Results 1 - 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_process.c884 idr_for_each_entry(&pdd->alloc_idr, mem, id) { in kfd_process_device_free_bos()
933 idr_destroy(&pdd->alloc_idr); in kfd_process_destroy_pdds()
1290 idr_init(&pdd->alloc_idr); in kfd_create_process_device_data()
1447 return idr_alloc(&pdd->alloc_idr, mem, 0, 0, GFP_KERNEL); in kfd_process_device_create_obj_handle()
1459 return idr_find(&pdd->alloc_idr, handle); in kfd_process_device_translate_handle()
1469 idr_remove(&pdd->alloc_idr, handle); in kfd_process_device_remove_obj_handle()
H A Dkfd_priv.h678 struct idr alloc_idr; member
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_process.c957 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()
H A Dkfd_priv.h754 struct idr alloc_idr; member
H A Dkfd_chardev.c1844 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()

Completed in 15 milliseconds