Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/chelsio/libcxgb/
Dlibcxgb_ppm.c231 if (idx >= ppm->ppmax) { in cxgbi_ppm_ppod_release()
232 pr_warn("ippm: idx too big %u > %u.\n", idx, ppm->ppmax); in cxgbi_ppm_ppod_release()
350 unsigned int ppmax = (*total) / num_possible_cpus(); in ppm_alloc_cpu_pool() local
358 if (ppmax > max) in ppm_alloc_cpu_pool()
359 ppmax = max; in ppm_alloc_cpu_pool()
362 bmap = ppmax / BITS_PER_TYPE(unsigned long); in ppm_alloc_cpu_pool()
366 ppmax = (bmap * sizeof(unsigned long)) << 3; in ppm_alloc_cpu_pool()
379 count += ppmax; in ppm_alloc_cpu_pool()
383 *pcpu_ppmax = ppmax; in ppm_alloc_cpu_pool()
401 unsigned int ppmax; in cxgbi_ppm_init() local
[all …]
Dlibcxgb_ppm.h135 unsigned int ppmax; member
333 unsigned int cxgbi_tagmask_set(unsigned int ppmax);
/Linux-v5.4/drivers/target/iscsi/cxgbit/
Dcxgbit_ddp.c300 unsigned int ppmax; in cxgbit_ddp_init() local
308 ppmax = lldi->vr->iscsi.size >> PPOD_SIZE_SHIFT; in cxgbit_ddp_init()
326 (ppm->ppmax >= 1024)) in cxgbit_ddp_init()
/Linux-v5.4/drivers/scsi/cxgbi/cxgb3i/
Dcxgb3i.c1218 unsigned int ppmax, tagmask = 0; in cxgb3i_ddp_init() local
1234 ppmax = (uinfo.ulimit - uinfo.llimit + 1) >> PPOD_SIZE_SHIFT; in cxgb3i_ddp_init()
1235 tagmask = cxgbi_tagmask_set(ppmax); in cxgb3i_ddp_init()
1238 ndev->name, uinfo.llimit, uinfo.ulimit, ppmax, uinfo.tagmask, in cxgb3i_ddp_init()
1254 uinfo.ulimit = uinfo.llimit + (ppmax << PPOD_SIZE_SHIFT); in cxgb3i_ddp_init()
/Linux-v5.4/drivers/scsi/cxgbi/cxgb4i/
Dcxgb4i.c2076 unsigned int ppmax; in cxgb4i_ddp_init() local
2085 ppmax = lldi->vr->iscsi.size >> PPOD_SIZE_SHIFT; in cxgb4i_ddp_init()
/Linux-v5.4/drivers/scsi/cxgbi/
Dlibcxgbi.c1301 if (ppm->ppmax < 1024 || in cxgbi_ddp_ppm_setup()