Lines Matching refs:npages
354 pgcnt_t npages;
387 cpusram_map(&map.vaddr, &map.npages) != DDI_SUCCESS) {
400 cpusram_unmap(&map.vaddr, map.npages);
735 pgcnt_t npages;
751 npages = mmu_btopr(SBDP_CPU_SRAM_SIZE + pgoffset);
753 kaddr = vmem_alloc(heap_arena, ptob(npages), VM_NOSLEEP);
761 hat_devload(kas.a_hat, kaddr, ptob(npages), pfn, mapping_attr,
765 *npp = npages;
771 cpusram_unmap(caddr_t *vaddrp, pgcnt_t npages)
780 hat_unload(kas.a_hat, base, ptob(npages), HAT_UNLOAD_UNLOCK);
781 vmem_free(heap_arena, base, ptob(npages));