/freebsd-11-stable/sys/riscv/include/ |
H A D | param.h | 101 #define ptoa(x) ((unsigned long)(x) << PAGE_SHIFT) macro
|
/freebsd-11-stable/sys/arm/include/ |
H A D | param.h | 145 #define ptoa(x) ((unsigned)(x) << PAGE_SHIFT) macro
|
/freebsd-11-stable/sys/arm64/include/ |
H A D | param.h | 120 #define ptoa(x) ((unsigned long)(x) << PAGE_SHIFT) macro
|
/freebsd-11-stable/sys/powerpc/include/ |
H A D | param.h | 123 #define ptoa(x) ((x) << PAGE_SHIFT) macro
|
/freebsd-11-stable/sys/sparc64/include/ |
H A D | param.h | 142 #define ptoa(x) ((unsigned long)(x) << PAGE_SHIFT) macro
|
/freebsd-11-stable/sys/i386/include/ |
H A D | param.h | 158 #define ptoa(x) ((x) << PAGE_SHIFT) macro
|
/freebsd-11-stable/sys/vm/ |
H A D | vm_unix.c | 118 if (ptoa(pmap_wired_count(map->pmap)) + 148 ptoa(pmap_wired_count(map->pmap)) + 182 ptoa(pmap_wired_count(map->pmap))); 219 ptoa(pmap_wired_count(map->pmap)));
|
H A D | vm_phys.c | 929 start += ptoa(dpage_count); 945 vm_phys_fictitious_init_range(fp, ptoa(first_page), dpage_count, 947 end -= ptoa(dpage_count); 1009 start = ptoa(first_page + vm_page_array_size); 1015 end = ptoa(first_page); 1165 if (pa_end - VM_PAGE_TO_PHYS(m_start) < ptoa(npages)) 1347 if (pa_end - pa_start < ptoa(npages))
|
H A D | vm_mmap.c | 1031 nsize = ptoa(npages + pmap_wired_count(map->pmap)); 1054 ptoa(pmap_wired_count(map->pmap))); 1125 ptoa(pmap_wired_count(map->pmap))); 1207 ptoa(pmap_wired_count(map->pmap))); 1486 if (ptoa(pmap_wired_count(map->pmap)) + size > 1494 ptoa(pmap_wired_count(map->pmap)) + size);
|
H A D | vm_object.c | 1432 new_object->charge = ptoa(size); 1433 KASSERT(orig_object->charge >= ptoa(size), 1435 orig_object->charge -= ptoa(size); 2201 if (!reserved && !swap_reserve_by_cred(ptoa(next_size), 2206 prev_object->charge += ptoa(next_size); 2222 ptoa(prev_object->size - next_pindex), 2225 prev_object->charge -= ptoa(prev_object->size - 2400 kvo->kvo_size = ptoa(obj->size);
|
H A D | vm_map.c | 1965 start = addr + ptoa(tmpidx); 1969 if (p->psind > 0 && ((addr + ptoa(tmpidx)) & 1980 ptoa(tmpidx), p_start, prot); 1985 pmap_enter_object(map->pmap, start, addr + ptoa(psize), 2104 if (!swap_reserve(ptoa(obj->size))) { 2112 obj->charge = ptoa(obj->size); 2339 ptoa(pend - pstart), 3035 KASSERT(object->charge >= ptoa(size1), 3037 swap_release_by_cred(ptoa(size1), 3039 object->charge -= ptoa(size [all...] |
/freebsd-11-stable/sys/dev/drm/ |
H A D | drm_vm.c | 58 if (dev->dma && offset < ptoa(dev->dma->page_count)) {
|
/freebsd-11-stable/sys/dev/drm2/ |
H A D | drm_vm.c | 72 if (dev->dma && offset < ptoa(dev->dma->page_count)) {
|
/freebsd-11-stable/sys/amd64/include/ |
H A D | param.h | 145 #define ptoa(x) ((unsigned long)(x) << PAGE_SHIFT) macro
|
/freebsd-11-stable/sys/amd64/vmm/ |
H A D | vmm_mem.c | 121 return (ptoa(Maxmem));
|
/freebsd-11-stable/sys/powerpc/powerpc/ |
H A D | machdep.c | 179 printf("real memory = %ju (%ju MB)\n", ptoa((uintmax_t)physmem), 180 ptoa((uintmax_t)physmem) / 1048576); 213 ptoa((uintmax_t)vm_cnt.v_free_count), 214 ptoa((uintmax_t)vm_cnt.v_free_count) / 1048576);
|
H A D | busdma_machdep.c | 299 if (newtag->lowaddr < ptoa((vm_paddr_t)Maxmem) && newtag->iommu == NULL) 317 if (ptoa(bz->total_bpages) < maxsize) { 525 dmat->lowaddr >= ptoa((vm_paddr_t)Maxmem) && 577 "alignment= %d", dmat->lowaddr, ptoa((vm_paddr_t)Maxmem), 608 "alignment= %d", dmat->lowaddr, ptoa((vm_paddr_t)Maxmem),
|
/freebsd-11-stable/sys/mips/include/ |
H A D | param.h | 179 #define ptoa(x) ((x) << PAGE_SHIFT) macro
|
/freebsd-11-stable/sys/mips/mips/ |
H A D | machdep.c | 187 printf("real memory = %ju (%juK bytes)\n", ptoa((uintmax_t)realmem), 188 ptoa((uintmax_t)realmem) / 1024); 211 ptoa((uintmax_t)vm_cnt.v_free_count), 212 ptoa((uintmax_t)vm_cnt.v_free_count) / 1048576);
|
H A D | minidump_machdep.c | 245 (uintmax_t)ptoa((uintmax_t)physmem) / 1048576);
|
/freebsd-11-stable/sys/x86/xen/ |
H A D | pv.c | 167 (ptoa(si->store_mfn) + KERNBASE); 168 console_page = (char *)(ptoa(si->console.domU.mfn) + KERNBASE);
|
/freebsd-11-stable/sys/amd64/amd64/ |
H A D | efirt_machdep.c | 168 obj_1t1_pt = vm_pager_allocate(OBJT_PHYS, NULL, ptoa(1 +
|
/freebsd-11-stable/sys/x86/x86/ |
H A D | busdma_bounce.c | 179 if (newtag->common.lowaddr < ptoa((vm_paddr_t)Maxmem) || 194 if (ptoa(bz->total_bpages) < maxsize) { 421 dmat->common.lowaddr >= ptoa((vm_paddr_t)Maxmem) && 514 ptoa((vm_paddr_t)Maxmem), 553 ptoa((vm_paddr_t)Maxmem),
|
/freebsd-11-stable/sys/i386/i386/ |
H A D | minidump_machdep.c | 270 printf("Physical memory: %ju MB\n", ptoa((uintmax_t)physmem) / 1048576);
|
/freebsd-11-stable/sys/arm/arm/ |
H A D | minidump_machdep.c | 267 printf("Physical memory: %u MB\n", ptoa((uintmax_t)physmem) / 1048576);
|