Searched refs:ptoa (Results 1 - 25 of 54) sorted by relevance

123

/freebsd-11-stable/sys/riscv/include/
H A Dparam.h101 #define ptoa(x) ((unsigned long)(x) << PAGE_SHIFT) macro
/freebsd-11-stable/sys/arm/include/
H A Dparam.h145 #define ptoa(x) ((unsigned)(x) << PAGE_SHIFT) macro
/freebsd-11-stable/sys/arm64/include/
H A Dparam.h120 #define ptoa(x) ((unsigned long)(x) << PAGE_SHIFT) macro
/freebsd-11-stable/sys/powerpc/include/
H A Dparam.h123 #define ptoa(x) ((x) << PAGE_SHIFT) macro
/freebsd-11-stable/sys/sparc64/include/
H A Dparam.h142 #define ptoa(x) ((unsigned long)(x) << PAGE_SHIFT) macro
/freebsd-11-stable/sys/i386/include/
H A Dparam.h158 #define ptoa(x) ((x) << PAGE_SHIFT) macro
/freebsd-11-stable/sys/vm/
H A Dvm_unix.c118 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 Dvm_phys.c929 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 Dvm_mmap.c1031 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 Dvm_object.c1432 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 Dvm_map.c1965 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 Ddrm_vm.c58 if (dev->dma && offset < ptoa(dev->dma->page_count)) {
/freebsd-11-stable/sys/dev/drm2/
H A Ddrm_vm.c72 if (dev->dma && offset < ptoa(dev->dma->page_count)) {
/freebsd-11-stable/sys/amd64/include/
H A Dparam.h145 #define ptoa(x) ((unsigned long)(x) << PAGE_SHIFT) macro
/freebsd-11-stable/sys/amd64/vmm/
H A Dvmm_mem.c121 return (ptoa(Maxmem));
/freebsd-11-stable/sys/powerpc/powerpc/
H A Dmachdep.c179 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 Dbusdma_machdep.c299 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 Dparam.h179 #define ptoa(x) ((x) << PAGE_SHIFT) macro
/freebsd-11-stable/sys/mips/mips/
H A Dmachdep.c187 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 Dminidump_machdep.c245 (uintmax_t)ptoa((uintmax_t)physmem) / 1048576);
/freebsd-11-stable/sys/x86/xen/
H A Dpv.c167 (ptoa(si->store_mfn) + KERNBASE);
168 console_page = (char *)(ptoa(si->console.domU.mfn) + KERNBASE);
/freebsd-11-stable/sys/amd64/amd64/
H A Defirt_machdep.c168 obj_1t1_pt = vm_pager_allocate(OBJT_PHYS, NULL, ptoa(1 +
/freebsd-11-stable/sys/x86/x86/
H A Dbusdma_bounce.c179 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 Dminidump_machdep.c270 printf("Physical memory: %ju MB\n", ptoa((uintmax_t)physmem) / 1048576);
/freebsd-11-stable/sys/arm/arm/
H A Dminidump_machdep.c267 printf("Physical memory: %u MB\n", ptoa((uintmax_t)physmem) / 1048576);

Completed in 225 milliseconds

123