Searched refs:ndevices (Results 1 – 1 of 1) sorted by relevance
256 static int ndevices; variable372 int size = (ndevices + 1) * sizeof(struct per_dev_info); in resize_devices()379 memset(&devices[ndevices], 0, sizeof(struct per_dev_info)); in resize_devices()380 devices[ndevices].name = name; in resize_devices()381 ndevices++; in resize_devices()390 for (i = 0; i < ndevices; i++) { in get_dev_info()400 pdi = &devices[ndevices - 1]; in get_dev_info()1778 for (pdi = devices, i = 0; i < ndevices; i++, pdi++) { in show_device_and_cpu_stats()2513 for (i = 0; i < ndevices; i++) { in do_file()2802 if (!pipeline && !ndevices) { in main()