Searched refs:ppmax (Results 1 – 1 of 1) sorted by relevance
1621 unsigned int ppmax, bits; in cxgbi_ddp_init() local1623 ppmax = (ulimit - llimit + 1) >> PPOD_SIZE_SHIFT; in cxgbi_ddp_init()1624 bits = __ilog2_u32(ppmax) + 1; in cxgbi_ddp_init()1627 ppmax = (1 << (bits - 1)) - 1; in cxgbi_ddp_init()1630 ppmax * (sizeof(struct cxgbi_gather_list *) + in cxgbi_ddp_init()1634 pr_warn("cdev 0x%p, ddp ppmax %u OOM.\n", cdev, ppmax); in cxgbi_ddp_init()1649 ddp->nppods = ppmax; in cxgbi_ddp_init()1650 ddp->idx_last = ppmax; in cxgbi_ddp_init()