Lines Matching refs:nbr
50 * @nbr Total number of CPU (including cpu "all").
58 void read_stat_cpu(struct stats_cpu *st_cpu, int nbr,
112 if (nbr > 1) {
132 if (proc_nb < (nbr - 1)) {
203 * @nbr Number of interrupts to read, including the total number
210 void read_stat_irq(struct stats_irq *st_irq, int nbr)
227 for (i = 1; i < nbr; i++) {
509 * @nbr Maximum number of block devices.
517 void read_diskstats_disk(struct stats_disk *st_disk, int nbr, int read_part)
530 while ((fgets(line, 256, fp) != NULL) && (dsk < nbr)) {
565 * @nbr Maximum number of serial lines.
571 void read_tty_driver_serial(struct stats_serial *st_serial, int nbr)
582 while ((fgets(line, 256, fp) != NULL) && (sl < nbr)) {
681 * @nbr Maximum number of network interfaces.
687 void read_net_dev(struct stats_net_dev *st_net_dev, int nbr)
699 while ((fgets(line, 256, fp) != NULL) && (dev < nbr)) {
729 * @nbr Maximum number of network interfaces.
735 void read_net_edev(struct stats_net_edev *st_net_edev, int nbr)
747 while ((fgets(line, 256, fp) != NULL) && (dev < nbr)) {
1597 * @nbr Total number of CPU (including cpu "all").
1603 void read_cpuinfo(struct stats_pwr_cpufreq *st_pwr_cpufreq, int nbr)
1625 if (proc_nb < (nbr - 1)) {
1634 else if (!proc_nb && (nbr == 1)) {
1705 * @nbr Total number of states (frequencies).
1711 void read_time_in_state(struct stats_pwr_wghfreq *st_pwr_wghfreq, int cpu_nr, int nbr)
1730 if (j < nbr) {
1821 * @nbr Total number of USB devices.
1827 void read_bus_usb_dev(struct stats_pwr_usb *st_pwr_usb, int nbr)
1842 if (j < nbr) {