Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/chelsio/libcxgb/
Dlibcxgb_ppm.c111 pdata->npods = count; in ppm_mark_entries()
232 if (!pdata->npods) { in cxgbi_ppm_ppod_release()
237 pr_debug("release idx %u, npods %u.\n", idx, pdata->npods); in cxgbi_ppm_ppod_release()
238 ppm_unmark_entries(ppm, idx, pdata->npods); in cxgbi_ppm_ppod_release()
247 unsigned int npods; in cxgbi_ppm_ppods_reserve() local
252 npods = (nr_pages + PPOD_PAGES_MAX - 1) >> PPOD_PAGES_SHIFT; in cxgbi_ppm_ppods_reserve()
253 if (!npods) { in cxgbi_ppm_ppods_reserve()
255 __func__, nr_pages, npods); in cxgbi_ppm_ppods_reserve()
260 idx = ppm_get_cpu_entries(ppm, npods, caller_data); in cxgbi_ppm_ppods_reserve()
263 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-v4.19/drivers/target/iscsi/cxgbit/
Dcxgbit_ddp.c68 unsigned int idx, unsigned int npods, unsigned int tid) in cxgbit_ppod_init_idata() argument
73 unsigned int dlen = npods << PPOD_SIZE_SHIFT; in cxgbit_ppod_init_idata()
103 unsigned int npods, struct scatterlist **sg_pp, in cxgbit_ppod_write_idata() argument
113 skb = cxgbit_ppod_init_idata(cdev, ppm, idx, npods, csk->tid); in cxgbit_ppod_write_idata()
121 for (i = 0; i < npods; i++, ppod++) in cxgbit_ppod_write_idata()
134 unsigned int npods = ttinfo->npods; in cxgbit_ddp_set_map() local
140 for (i = 0; i < npods; i += cnt, pidx += cnt) { in cxgbit_ddp_set_map()
141 cnt = npods - i; in cxgbit_ddp_set_map()
204 ttinfo->npods = ret; in cxgbit_ddp_reserve()
/Linux-v4.19/drivers/scsi/cxgbi/cxgb3i/
Dcxgb3i.c1093 unsigned int npods = ttinfo->npods; in ddp_set_map() local
1101 for (i = 0; i < npods; i++, idx++, pm_addr += IPPOD_SIZE) { in ddp_set_map()
1124 unsigned int npods = ttinfo->npods; in ddp_clear_map() local
1129 cdev, idx, npods); in ddp_clear_map()
1131 for (i = 0; i < npods; i++, idx++, pm_addr += IPPOD_SIZE) { in ddp_clear_map()
1137 cdev, idx, i, npods); in ddp_clear_map()
/Linux-v4.19/drivers/scsi/cxgbi/cxgb4i/
Dcxgb4i.c1823 unsigned int idx, unsigned int npods, in ddp_ppod_init_idata() argument
1827 unsigned int dlen = npods << PPOD_SIZE_SHIFT; in ddp_ppod_init_idata()
1834 __func__, ppm->ndev->name, idx, npods); in ddp_ppod_init_idata()
1846 unsigned int idx, unsigned int npods, in ddp_ppod_write_idata() argument
1851 struct sk_buff *skb = ddp_ppod_init_idata(cdev, ppm, idx, npods, in ddp_ppod_write_idata()
1865 for (i = 0; i < npods; i++, ppod++) in ddp_ppod_write_idata()
1883 unsigned int npods = ttinfo->npods; in ddp_set_map() local
1891 for (i = 0; i < npods; i += cnt, pidx += cnt) { in ddp_set_map()
1892 cnt = npods - i; in ddp_set_map()
/Linux-v4.19/drivers/scsi/cxgbi/
Dlibcxgbi.c1374 ttinfo->npods = err; in cxgbi_ddp_reserve()