Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/libcxgb/
Dlibcxgb_ppm.c110 pdata->npods = count; in ppm_mark_entries()
236 if (!pdata->npods) { in cxgbi_ppm_ppod_release()
241 pr_debug("release idx %u, npods %u.\n", idx, pdata->npods); in cxgbi_ppm_ppod_release()
242 ppm_unmark_entries(ppm, idx, pdata->npods); in cxgbi_ppm_ppod_release()
251 unsigned int npods; in cxgbi_ppm_ppods_reserve() local
256 npods = (nr_pages + PPOD_PAGES_MAX - 1) >> PPOD_PAGES_SHIFT; in cxgbi_ppm_ppods_reserve()
257 if (!npods) { in cxgbi_ppm_ppods_reserve()
259 __func__, nr_pages, npods); in cxgbi_ppm_ppods_reserve()
264 idx = ppm_get_cpu_entries(ppm, npods, caller_data); in cxgbi_ppm_ppods_reserve()
267 idx = ppm_get_entries(ppm, npods, caller_data); in cxgbi_ppm_ppods_reserve()
[all …]
Dlibcxgb_ppm.h89 unsigned int npods; member
116 unsigned short npods; member
/kernel/linux/linux-5.10/drivers/target/iscsi/cxgbit/
Dcxgbit_ddp.c65 unsigned int idx, unsigned int npods, unsigned int tid) in cxgbit_ppod_init_idata() argument
70 unsigned int dlen = npods << PPOD_SIZE_SHIFT; in cxgbit_ppod_init_idata()
100 unsigned int npods, struct scatterlist **sg_pp, in cxgbit_ppod_write_idata() argument
110 skb = cxgbit_ppod_init_idata(cdev, ppm, idx, npods, csk->tid); in cxgbit_ppod_write_idata()
118 for (i = 0; i < npods; i++, ppod++) in cxgbit_ppod_write_idata()
131 unsigned int npods = ttinfo->npods; in cxgbit_ddp_set_map() local
137 for (i = 0; i < npods; i += cnt, pidx += cnt) { in cxgbit_ddp_set_map()
138 cnt = npods - i; in cxgbit_ddp_set_map()
201 ttinfo->npods = ret; in cxgbit_ddp_reserve()
/kernel/linux/linux-5.10/drivers/scsi/cxgbi/cxgb3i/
Dcxgb3i.c1099 unsigned int npods = ttinfo->npods; in ddp_set_map() local
1107 for (i = 0; i < npods; i++, idx++, pm_addr += IPPOD_SIZE) { in ddp_set_map()
1130 unsigned int npods = ttinfo->npods; in ddp_clear_map() local
1135 cdev, idx, npods); in ddp_clear_map()
1137 for (i = 0; i < npods; i++, idx++, pm_addr += IPPOD_SIZE) { in ddp_clear_map()
1143 cdev, idx, i, npods); in ddp_clear_map()
/kernel/linux/linux-5.10/drivers/scsi/cxgbi/cxgb4i/
Dcxgb4i.c1994 unsigned int idx, unsigned int npods, in ddp_ppod_init_idata() argument
1998 unsigned int dlen = npods << PPOD_SIZE_SHIFT; in ddp_ppod_init_idata()
2005 __func__, ppm->ndev->name, idx, npods); in ddp_ppod_init_idata()
2017 unsigned int idx, unsigned int npods, in ddp_ppod_write_idata() argument
2022 struct sk_buff *skb = ddp_ppod_init_idata(cdev, ppm, idx, npods, in ddp_ppod_write_idata()
2036 for (i = 0; i < npods; i++, ppod++) in ddp_ppod_write_idata()
2054 unsigned int npods = ttinfo->npods; in ddp_set_map() local
2062 for (i = 0; i < npods; i += cnt, pidx += cnt) { in ddp_set_map()
2063 cnt = npods - i; in ddp_set_map()
/kernel/linux/linux-5.10/drivers/scsi/cxgbi/
Dlibcxgbi.c1306 ttinfo->npods = err; in cxgbi_ddp_reserve()