Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/amd/amdkfd/
Dkfd_chardev.c1218 uint32_t *devices_arr = NULL; in kfd_ioctl_map_memory_to_gpu() local
1229 devices_arr = kmalloc_array(args->n_devices, sizeof(*devices_arr), in kfd_ioctl_map_memory_to_gpu()
1231 if (!devices_arr) in kfd_ioctl_map_memory_to_gpu()
1234 err = copy_from_user(devices_arr, in kfd_ioctl_map_memory_to_gpu()
1236 args->n_devices * sizeof(*devices_arr)); in kfd_ioctl_map_memory_to_gpu()
1264 peer_pdd = kfd_process_device_data_by_id(p, devices_arr[i]); in kfd_ioctl_map_memory_to_gpu()
1267 devices_arr[i]); in kfd_ioctl_map_memory_to_gpu()
1306 peer_pdd = kfd_process_device_data_by_id(p, devices_arr[i]); in kfd_ioctl_map_memory_to_gpu()
1311 kfree(devices_arr); in kfd_ioctl_map_memory_to_gpu()
1322 kfree(devices_arr); in kfd_ioctl_map_memory_to_gpu()
[all …]