Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/arch/powerpc/lib/
H A 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()
/OK3568_Linux_fs/kernel/fs/xfs/libxfs/
H A Dxfs_btree_staging.c572 unsigned int maxnr; in xfs_btree_bload_level_geometry() local
574 maxnr = cur->bc_ops->get_maxrecs(cur, level); in xfs_btree_bload_level_geometry()
596 if (npb > maxnr || (npb == maxnr && *blocks_with_extra > 0)) { in xfs_btree_bload_level_geometry()
/OK3568_Linux_fs/kernel/drivers/tty/serial/8250/
H A D8250_exar.c583 unsigned int nr_ports, i, bar = 0, maxnr; in exar_pci_probe() local
597 maxnr = pci_resource_len(pcidev, bar) >> (board->reg_shift + 3); in exar_pci_probe()
629 for (i = 0; i < nr_ports && i < maxnr; i++) { in exar_pci_probe()
H A D8250_pci.c1308 unsigned int bar, offset = board->first_offset, maxnr; in pci_default_setup() local
1316 maxnr = (pci_resource_len(priv->dev, bar) - board->first_offset) >> in pci_default_setup()
1319 if (board->flags & FL_REGION_SZ_CAP && idx >= maxnr) in pci_default_setup()
1362 unsigned int bar, offset = board->first_offset, maxnr; in pci_pericom_setup() local
1371 maxnr = (pci_resource_len(priv->dev, bar) - board->first_offset) >> in pci_pericom_setup()
1374 if (board->flags & FL_REGION_SZ_CAP && idx >= maxnr) in pci_pericom_setup()
1386 unsigned int bar, offset = board->first_offset, maxnr; in pci_pericom_setup_four_at_eight() local
1397 maxnr = (pci_resource_len(priv->dev, bar) - board->first_offset) >> in pci_pericom_setup_four_at_eight()
1400 if (board->flags & FL_REGION_SZ_CAP && idx >= maxnr) in pci_pericom_setup_four_at_eight()