* one have been disabled, we get the total number of proc since we use
* /sys to count them).
* 2: two proc...
+ *
+ * USED BY:
+ * sadc, cifsiostat, iostat, mpstat, pidstat, tapestat
***************************************************************************
*/
__nr_t get_cpu_nr(unsigned int max_nr_cpus, int highest)
*
* RETURNS:
* Number of interrupts per processor.
+ *
+ * USED BY:
+ * sadc, mpstat
***************************************************************************
*/
__nr_t get_irqcpu_nr(char *file, int max_nr_irqcpu, int cpu_nr)
return irq;
}
+#ifdef SOURCE_SADC
+/*---------------- BEGIN: FUNCTIONS USED BY SADC ONLY ---------------------*/
+
/*
***************************************************************************
* Find number of devices and partitions available in /proc/diskstats.
return dev;
}
-#ifdef SOURCE_SADC
-/*---------------- BEGIN: FUNCTIONS USED BY SADC ONLY ---------------------*/
-
/*
***************************************************************************
* Find number of serial lines that support tx/rx accounting