Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/scsi/cxgbi/
Dlibcxgbi.c1625 unsigned int ppmax, bits; in cxgbi_ddp_init() local
1627 ppmax = (ulimit - llimit + 1) >> PPOD_SIZE_SHIFT; in cxgbi_ddp_init()
1628 bits = __ilog2_u32(ppmax) + 1; in cxgbi_ddp_init()
1631 ppmax = (1 << (bits - 1)) - 1; in cxgbi_ddp_init()
1634 ppmax * (sizeof(struct cxgbi_gather_list *) + in cxgbi_ddp_init()
1638 pr_warn("cdev 0x%p, ddp ppmax %u OOM.\n", cdev, ppmax); in cxgbi_ddp_init()
1653 ddp->nppods = ppmax; in cxgbi_ddp_init()
1654 ddp->idx_last = ppmax; in cxgbi_ddp_init()