Lines Matching refs:ptob
985 dhp->dh_roff < ptob(pcp->dp_npages)); in devmap_handle_reduce_len()
1504 dhp->dh_roff < ptob(pcp->dp_npages)); in segdev_faultpage()
2453 error = choose_addr(as, addrp, len, ptob(pfn), ADDR_NOVACALIGN, flags); in ddi_segmap_setup()
2541 aligned_off = (offset_t)ptob(maxdhp->dh_pfn) - offset; in devmap_device()
2546 aligned_off = (offset_t)ptob(pfn) - offset; in devmap_device()
2732 base = (ulong_t)ptob(dhp->dh_pfn); in devmap_roundup()
2891 *laddr = dhp->dh_uvaddr + ptob(pfn - dhp->dh_pfn); in devmap_get_large_pgsize()
2896 off = ptob(pfn - dhp->dh_pfn) + pgsize; in devmap_get_large_pgsize()
3356 base = (ulong_t)ptob(dhp->dh_pfn); in devmap_devmem_large_page_setup()
3456 dhp->dh_len = ptob(btopr(len)); in devmap_devmem_setup()
3459 dhp->dh_roff = ptob(btop(roff)); in devmap_devmem_setup()
3582 dhp->dh_roff = ptob(btop(roff)); in devmap_devmem_remap()
3643 dhp->dh_roff = ptob(btop(off)); in devmap_umem_setup()
3674 dhp->dh_len = ptob(btopr(len)); in devmap_umem_setup()
3742 dhp->dh_roff = ptob(btop(off)); in devmap_umem_remap()
3889 register size_t len = ptob(btopr(size)); in ddi_umem_alloc()