Lines Matching refs:npods
1467 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()
1508 min(ddp->idx_last + npods, ddp->nppods), in ddp_tag_reserve()
1509 npods, gl); in ddp_tag_reserve()
1515 gl->length, gl->nelem, npods); in ddp_tag_reserve()
1528 err = cdev->csk_ddp_set(csk, &hdr, idx, npods, gl); in ddp_tag_reserve()
1536 npods); in ddp_tag_reserve()
1541 ddp_unmark_entries(ddp, idx, npods); in ddp_tag_reserve()
1592 int npods = (gl->nelem + PPOD_PAGES_MAX - 1) in ddp_destroy() local
1594 pr_info("cdev 0x%p, ddp %d + %d.\n", cdev, i, npods); in ddp_destroy()
1596 i += npods; in ddp_destroy()