Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/chelsio/libcxgb/
Dlibcxgb_ppm.c226 if (idx >= ppm->ppmax) { in cxgbi_ppm_ppod_release()
227 pr_warn("ippm: idx too big %u > %u.\n", idx, ppm->ppmax); in cxgbi_ppm_ppod_release()
345 unsigned int ppmax = (*total) / num_possible_cpus(); in ppm_alloc_cpu_pool() local
353 if (ppmax > max) in ppm_alloc_cpu_pool()
354 ppmax = max; in ppm_alloc_cpu_pool()
357 bmap = BITS_TO_LONGS(ppmax); in ppm_alloc_cpu_pool()
358 ppmax = (bmap * sizeof(unsigned long)) << 3; in ppm_alloc_cpu_pool()
371 count += ppmax; in ppm_alloc_cpu_pool()
375 *pcpu_ppmax = ppmax; in ppm_alloc_cpu_pool()
383 unsigned int ppmax, in cxgbi_ppm_init() argument
[all …]
Dlibcxgb_ppm.h135 unsigned int ppmax; member
327 unsigned int ppmax, unsigned int llimit,
332 unsigned int cxgbi_tagmask_set(unsigned int ppmax);
/Linux-v4.19/drivers/target/iscsi/cxgbit/
Dcxgbit_ddp.c303 unsigned int ppmax; in cxgbit_ddp_init() local
311 ppmax = lldi->vr->iscsi.size >> PPOD_SIZE_SHIFT; in cxgbit_ddp_init()
321 ppmax, lldi->iscsi_llimit, in cxgbit_ddp_init()
327 (ppm->ppmax >= 1024)) in cxgbit_ddp_init()
/Linux-v4.19/drivers/scsi/cxgbi/cxgb3i/
Dcxgb3i.c1221 unsigned int ppmax, tagmask = 0; in cxgb3i_ddp_init() local
1237 ppmax = (uinfo.ulimit - uinfo.llimit + 1) >> PPOD_SIZE_SHIFT; in cxgb3i_ddp_init()
1238 tagmask = cxgbi_tagmask_set(ppmax); in cxgb3i_ddp_init()
1241 ndev->name, uinfo.llimit, uinfo.ulimit, ppmax, uinfo.tagmask, in cxgb3i_ddp_init()
1249 cxgbi_ddp_ppm_setup(&tdev->ulp_iscsi, cdev, &tformat, ppmax, in cxgb3i_ddp_init()
1253 uinfo.ulimit = uinfo.llimit + (ppmax << PPOD_SIZE_SHIFT); in cxgb3i_ddp_init()
/Linux-v4.19/drivers/scsi/cxgbi/
Dlibcxgbi.h617 struct cxgbi_tag_format *, unsigned int ppmax,
Dlibcxgbi.c1285 struct cxgbi_tag_format *tformat, unsigned int ppmax, in cxgbi_ddp_ppm_setup() argument
1290 cdev->lldev, tformat, ppmax, llimit, start, in cxgbi_ddp_ppm_setup()
1296 if (ppm->ppmax < 1024 || in cxgbi_ddp_ppm_setup()
/Linux-v4.19/drivers/scsi/cxgbi/cxgb4i/
Dcxgb4i.c1979 unsigned int ppmax; in cxgb4i_ddp_init() local
1988 ppmax = lldi->vr->iscsi.size >> PPOD_SIZE_SHIFT; in cxgb4i_ddp_init()
1996 cxgbi_ddp_ppm_setup(lldi->iscsi_ppm, cdev, &tformat, ppmax, in cxgb4i_ddp_init()