Lines Matching refs:npods
1471 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()
1512 min(ddp->idx_last + npods, ddp->nppods), in ddp_tag_reserve()
1513 npods, gl); in ddp_tag_reserve()
1519 gl->length, gl->nelem, npods); in ddp_tag_reserve()
1532 err = cdev->csk_ddp_set(csk, &hdr, idx, npods, gl); in ddp_tag_reserve()
1540 npods); in ddp_tag_reserve()
1545 ddp_unmark_entries(ddp, idx, npods); in ddp_tag_reserve()
1596 int npods = (gl->nelem + PPOD_PAGES_MAX - 1) in ddp_destroy() local
1598 pr_info("cdev 0x%p, ddp %d + %d.\n", cdev, i, npods); in ddp_destroy()
1600 i += npods; in ddp_destroy()