Searched refs:maxnr (Results 1 – 2 of 2) sorted by relevance
/linux-4.1.27/arch/powerpc/lib/ |
D | rheap.c | 707 int maxnr; in rh_dump() local 710 maxnr = ARRAY_SIZE(st); in rh_dump() 717 nr = rh_get_stats(info, RHGS_FREE, maxnr, st); in rh_dump() 718 if (nr > maxnr) in rh_dump() 719 nr = maxnr; in rh_dump() 728 nr = rh_get_stats(info, RHGS_TAKEN, maxnr, st); in rh_dump() 729 if (nr > maxnr) in rh_dump() 730 nr = maxnr; in rh_dump()
|
/linux-4.1.27/drivers/tty/serial/8250/ |
D | 8250_pci.c | 1321 unsigned int bar, offset = board->first_offset, maxnr; in pci_default_setup() local 1329 maxnr = (pci_resource_len(priv->dev, bar) - board->first_offset) >> in pci_default_setup() 1332 if (board->flags & FL_REGION_SZ_CAP && idx >= maxnr) in pci_default_setup() 1342 unsigned int bar, offset = board->first_offset, maxnr; in pci_pericom_setup() local 1350 maxnr = (pci_resource_len(priv->dev, bar) - board->first_offset) >> in pci_pericom_setup() 1353 if (board->flags & FL_REGION_SZ_CAP && idx >= maxnr) in pci_pericom_setup()
|