Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/scsi/cxgbi/
Dlibcxgbi.c1471 unsigned int npods; in ddp_tag_release() local
1478 npods = (gl->nelem + PPOD_PAGES_MAX - 1) >> PPOD_PAGES_SHIFT; in ddp_tag_release()
1481 tag, idx, npods); in ddp_tag_release()
1482 cdev->csk_ddp_clear(chba, tag, idx, npods); in ddp_tag_release()
1483 ddp_unmark_entries(ddp, idx, npods); in ddp_tag_release()
1497 unsigned int npods; in ddp_tag_reserve() local
1502 npods = (gl->nelem + PPOD_PAGES_MAX - 1) >> PPOD_PAGES_SHIFT; in ddp_tag_reserve()
1505 npods, gl); in ddp_tag_reserve()
1508 ddp->nppods, npods, in ddp_tag_reserve()
1510 if (idx < 0 && ddp->idx_last >= npods) { in ddp_tag_reserve()
[all …]
/linux-4.4.14/drivers/scsi/cxgbi/cxgb3i/
Dcxgb3i.c1084 unsigned int idx, unsigned int npods, in ddp_set_map() argument
1094 csk, idx, npods, gl); in ddp_set_map()
1096 for (i = 0; i < npods; i++, idx++, pm_addr += PPOD_SIZE) { in ddp_set_map()
1114 unsigned int idx, unsigned int npods) in ddp_clear_map() argument
1123 cdev, idx, npods, tag); in ddp_clear_map()
1125 for (i = 0; i < npods; i++, idx++, pm_addr += PPOD_SIZE) { in ddp_clear_map()
1131 tag, idx, i, npods); in ddp_clear_map()
/linux-4.4.14/drivers/scsi/cxgbi/cxgb4i/
Dcxgb4i.c1574 unsigned int npods, in ddp_ppod_write_idata() argument
1585 unsigned int dlen = PPOD_SIZE * npods; in ddp_ppod_write_idata()
1593 cdev, idx, npods); in ddp_ppod_write_idata()
1603 for (i = 0; i < npods; i++, ppod++, gl_pidx += PPOD_PAGES_MAX) { in ddp_ppod_write_idata()
1615 unsigned int idx, unsigned int npods, in ddp_set_map() argument
1621 for (i = 0; i < npods; i += cnt, idx += cnt) { in ddp_set_map()
1622 cnt = npods - i; in ddp_set_map()
1634 unsigned int idx, unsigned int npods) in ddp_clear_map() argument
1639 for (i = 0; i < npods; i += cnt, idx += cnt) { in ddp_clear_map()
1640 cnt = npods - i; in ddp_clear_map()