Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/chelsio/libcxgb/
Dlibcxgb_ppm.c111 pdata->npods = count; in ppm_mark_entries()
237 if (!pdata->npods) { in cxgbi_ppm_ppod_release()
242 pr_debug("release idx %u, npods %u.\n", idx, pdata->npods); in cxgbi_ppm_ppod_release()
243 ppm_unmark_entries(ppm, idx, pdata->npods); in cxgbi_ppm_ppod_release()
252 unsigned int npods; in cxgbi_ppm_ppods_reserve() local
257 npods = (nr_pages + PPOD_PAGES_MAX - 1) >> PPOD_PAGES_SHIFT; in cxgbi_ppm_ppods_reserve()
258 if (!npods) { in cxgbi_ppm_ppods_reserve()
260 __func__, nr_pages, npods); in cxgbi_ppm_ppods_reserve()
265 idx = ppm_get_cpu_entries(ppm, npods, caller_data); in cxgbi_ppm_ppods_reserve()
268 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
/Linux-v5.4/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()
/Linux-v5.4/drivers/scsi/cxgbi/cxgb3i/
Dcxgb3i.c1091 unsigned int npods = ttinfo->npods; in ddp_set_map() local
1099 for (i = 0; i < npods; i++, idx++, pm_addr += IPPOD_SIZE) { in ddp_set_map()
1122 unsigned int npods = ttinfo->npods; in ddp_clear_map() local
1127 cdev, idx, npods); in ddp_clear_map()
1129 for (i = 0; i < npods; i++, idx++, pm_addr += IPPOD_SIZE) { in ddp_clear_map()
1135 cdev, idx, i, npods); in ddp_clear_map()
/Linux-v5.4/drivers/scsi/cxgbi/cxgb4i/
Dcxgb4i.c1914 unsigned int idx, unsigned int npods, in ddp_ppod_init_idata() argument
1918 unsigned int dlen = npods << PPOD_SIZE_SHIFT; in ddp_ppod_init_idata()
1925 __func__, ppm->ndev->name, idx, npods); in ddp_ppod_init_idata()
1937 unsigned int idx, unsigned int npods, in ddp_ppod_write_idata() argument
1942 struct sk_buff *skb = ddp_ppod_init_idata(cdev, ppm, idx, npods, in ddp_ppod_write_idata()
1956 for (i = 0; i < npods; i++, ppod++) in ddp_ppod_write_idata()
1974 unsigned int npods = ttinfo->npods; in ddp_set_map() local
1982 for (i = 0; i < npods; i += cnt, pidx += cnt) { in ddp_set_map()
1983 cnt = npods - i; in ddp_set_map()
/Linux-v5.4/drivers/scsi/cxgbi/
Dlibcxgbi.c1381 ttinfo->npods = err; in cxgbi_ddp_reserve()