Searched refs:devices_arr (Results 1 – 1 of 1) sorted by relevance
1218 uint32_t *devices_arr = NULL; in kfd_ioctl_map_memory_to_gpu() local1229 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 …]