Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/scsi/cxgbi/
Dlibcxgbi.c1467 unsigned int npods; in ddp_tag_release() local
1474 npods = (gl->nelem + PPOD_PAGES_MAX - 1) >> PPOD_PAGES_SHIFT; in ddp_tag_release()
1477 tag, idx, npods); in ddp_tag_release()
1478 cdev->csk_ddp_clear(chba, tag, idx, npods); in ddp_tag_release()
1479 ddp_unmark_entries(ddp, idx, npods); in ddp_tag_release()
1493 unsigned int npods; in ddp_tag_reserve() local
1498 npods = (gl->nelem + PPOD_PAGES_MAX - 1) >> PPOD_PAGES_SHIFT; in ddp_tag_reserve()
1501 npods, gl); in ddp_tag_reserve()
1504 ddp->nppods, npods, in ddp_tag_reserve()
1506 if (idx < 0 && ddp->idx_last >= npods) { in ddp_tag_reserve()
[all …]
/linux-4.1.27/drivers/scsi/cxgbi/cxgb3i/
Dcxgb3i.c1082 unsigned int idx, unsigned int npods, in ddp_set_map() argument
1092 csk, idx, npods, gl); in ddp_set_map()
1094 for (i = 0; i < npods; i++, idx++, pm_addr += PPOD_SIZE) { in ddp_set_map()
1112 unsigned int idx, unsigned int npods) in ddp_clear_map() argument
1121 cdev, idx, npods, tag); in ddp_clear_map()
1123 for (i = 0; i < npods; i++, idx++, pm_addr += PPOD_SIZE) { in ddp_clear_map()
1129 tag, idx, i, npods); in ddp_clear_map()
/linux-4.1.27/drivers/scsi/cxgbi/cxgb4i/
Dcxgb4i.c1550 unsigned int npods, in ddp_ppod_write_idata() argument
1561 unsigned int dlen = PPOD_SIZE * npods; in ddp_ppod_write_idata()
1569 cdev, idx, npods); in ddp_ppod_write_idata()
1579 for (i = 0; i < npods; i++, ppod++, gl_pidx += PPOD_PAGES_MAX) { in ddp_ppod_write_idata()
1591 unsigned int idx, unsigned int npods, in ddp_set_map() argument
1597 for (i = 0; i < npods; i += cnt, idx += cnt) { in ddp_set_map()
1598 cnt = npods - i; in ddp_set_map()
1610 unsigned int idx, unsigned int npods) in ddp_clear_map() argument
1615 for (i = 0; i < npods; i += cnt, idx += cnt) { in ddp_clear_map()
1616 cnt = npods - i; in ddp_clear_map()