Searched refs:device_buckets (Results 1 – 1 of 1) sorted by relevance
1784 struct kfd_criu_device_bucket *device_buckets = NULL; in criu_checkpoint_devices() local1787 device_buckets = kvzalloc(num_devices * sizeof(*device_buckets), GFP_KERNEL); in criu_checkpoint_devices()1788 if (!device_buckets) { in criu_checkpoint_devices()1802 device_buckets[i].user_gpu_id = pdd->user_gpu_id; in criu_checkpoint_devices()1803 device_buckets[i].actual_gpu_id = pdd->dev->id; in criu_checkpoint_devices()1811 ret = copy_to_user(user_addr, device_buckets, num_devices * sizeof(*device_buckets)); in criu_checkpoint_devices()1828 kvfree(device_buckets); in criu_checkpoint_devices()2182 struct kfd_criu_device_bucket *device_buckets; in criu_restore_devices() local2193 device_buckets = kmalloc_array(args->num_devices, sizeof(*device_buckets), GFP_KERNEL); in criu_restore_devices()2194 if (!device_buckets) in criu_restore_devices()[all …]