Home
last modified time | relevance | path

Searched refs:maxnr (Results 1 – 2 of 2) sorted by relevance

/linux-4.4.14/arch/powerpc/lib/
Drheap.c707 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.4.14/drivers/tty/serial/8250/
D8250_pci.c1320 unsigned int bar, offset = board->first_offset, maxnr; in pci_default_setup() local
1328 maxnr = (pci_resource_len(priv->dev, bar) - board->first_offset) >> in pci_default_setup()
1331 if (board->flags & FL_REGION_SZ_CAP && idx >= maxnr) in pci_default_setup()
1341 unsigned int bar, offset = board->first_offset, maxnr; in pci_pericom_setup() local
1349 maxnr = (pci_resource_len(priv->dev, bar) - board->first_offset) >> in pci_pericom_setup()
1352 if (board->flags & FL_REGION_SZ_CAP && idx >= maxnr) in pci_pericom_setup()