Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_chardev.c1793 device_buckets = kvzalloc(num_devices * sizeof(*device_buckets), GFP_KERNEL); in criu_checkpoint_devices()
1794 if (!device_buckets) { in criu_checkpoint_devices()
1817 ret = copy_to_user(user_addr, device_buckets, num_devices * sizeof(*device_buckets)); in criu_checkpoint_devices()
1834 kvfree(device_buckets); in criu_checkpoint_devices()
2199 device_buckets = kmalloc_array(args->num_devices, sizeof(*device_buckets), GFP_KERNEL); in criu_restore_devices()
2200 if (!device_buckets) in criu_restore_devices()
2218 if (!device_buckets[i].user_gpu_id) { in criu_restore_devices()
2227 device_buckets[i].actual_gpu_id); in criu_restore_devices()
2235 device_buckets[i].actual_gpu_id); in criu_restore_devices()
2244 device_buckets[i].drm_fd); in criu_restore_devices()
[all …]