Searched refs:max_devices (Results 1 – 3 of 3) sorted by relevance
69 int fd, ret, max_devices; in main() local71 max_devices = drmGetDevices(NULL, 0); in main()73 if (max_devices <= 0) { in main()74 printf("drmGetDevices() has returned %d\n", max_devices); in main()78 devices = calloc(max_devices, sizeof(drmDevicePtr)); in main()84 ret = drmGetDevices(devices, max_devices); in main()
796 extern int drmGetDevices(drmDevicePtr devices[], int max_devices);
3193 int drmGetDevices(drmDevicePtr devices[], int max_devices) in drmGetDevices() argument3270 if ((devices != NULL) && (device_count < max_devices)) in drmGetDevices()