Home
last modified time | relevance | path

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

/linux-6.12.1/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-6.12.1/drivers/tty/serial/8250/
D8250_pericom.c87 unsigned int nr, i, bar = 0, maxnr; in pericom8250_probe() local
96 maxnr = pci_resource_len(pdev, bar) >> 3; in pericom8250_probe()
122 for (i = 0; i < nr && i < maxnr; i++) { in pericom8250_probe()
D8250_exar.c1506 unsigned int nr_ports, i, bar = 0, maxnr; in exar_pci_probe() local
1520 maxnr = pci_resource_len(pcidev, bar) >> (board->reg_shift + 3); in exar_pci_probe()
1554 for (i = 0; i < nr_ports && i < maxnr; i++) { in exar_pci_probe()
D8250_pci.c1555 unsigned int bar, offset = board->first_offset, maxnr; in pci_default_setup() local
1563 maxnr = (pci_resource_len(priv->dev, bar) - board->first_offset) >> in pci_default_setup()
1566 if (board->flags & FL_REGION_SZ_CAP && idx >= maxnr) in pci_default_setup()
/linux-6.12.1/fs/xfs/libxfs/
Dxfs_btree_staging.c492 unsigned int maxnr; in xfs_btree_bload_level_geometry() local
499 maxnr = cur->bc_ops->get_dmaxrecs(cur, level); in xfs_btree_bload_level_geometry()
501 maxnr = cur->bc_ops->get_maxrecs(cur, level); in xfs_btree_bload_level_geometry()
523 if (npb > maxnr || (npb == maxnr && *blocks_with_extra > 0)) { in xfs_btree_bload_level_geometry()