Home
last modified time | relevance | path

Searched refs:device_buckets (Results 1 – 1 of 1) sorted by relevance

/linux-6.15/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_chardev.c1781 device_buckets = kvzalloc(num_devices * sizeof(*device_buckets), GFP_KERNEL); in criu_checkpoint_devices()
1782 if (!device_buckets) { in criu_checkpoint_devices()
1805 ret = copy_to_user(user_addr, device_buckets, num_devices * sizeof(*device_buckets)); in criu_checkpoint_devices()
1822 kvfree(device_buckets); in criu_checkpoint_devices()
2206 device_buckets = kmalloc_array(args->num_devices, sizeof(*device_buckets), GFP_KERNEL); in criu_restore_devices()
2207 if (!device_buckets) in criu_restore_devices()
2225 if (!device_buckets[i].user_gpu_id) { in criu_restore_devices()
2234 device_buckets[i].actual_gpu_id); in criu_restore_devices()
2242 device_buckets[i].actual_gpu_id); in criu_restore_devices()
2251 device_buckets[i].drm_fd); in criu_restore_devices()
[all …]