devices_arr 1382 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c uint32_t *devices_arr = NULL; devices_arr 1397 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c devices_arr = kmalloc_array(args->n_devices, sizeof(*devices_arr), devices_arr 1399 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c if (!devices_arr) devices_arr 1402 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c err = copy_from_user(devices_arr, devices_arr 1404 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c args->n_devices * sizeof(*devices_arr)); devices_arr 1426 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c peer = kfd_device_by_id(devices_arr[i]); devices_arr 1429 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c devices_arr[i]); devices_arr 1459 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c peer = kfd_device_by_id(devices_arr[i]); devices_arr 1468 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c kfree(devices_arr); devices_arr 1478 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c kfree(devices_arr); devices_arr 1491 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c uint32_t *devices_arr = NULL, i; devices_arr 1506 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c devices_arr = kmalloc_array(args->n_devices, sizeof(*devices_arr), devices_arr 1508 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c if (!devices_arr) devices_arr 1511 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c err = copy_from_user(devices_arr, devices_arr 1513 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c args->n_devices * sizeof(*devices_arr)); devices_arr 1535 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c peer = kfd_device_by_id(devices_arr[i]); devices_arr 1555 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c kfree(devices_arr); devices_arr 1566 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c kfree(devices_arr);