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

123

/freebsd-10.3-release/sys/ia64/include/
H A Dparam.h120 #define ptoa(x) ((unsigned long)(x) << PAGE_SHIFT) macro
/freebsd-10.3-release/sys/vm/
H A Dvm_unix.c122 if (ptoa(pmap_wired_count(map->pmap)) +
152 ptoa(pmap_wired_count(map->pmap)) +
186 ptoa(pmap_wired_count(map->pmap)));
223 ptoa(pmap_wired_count(map->pmap)));
H A Dvm_mmap.c1089 nsize = ptoa(npages + pmap_wired_count(map->pmap));
1112 ptoa(pmap_wired_count(map->pmap)));
1188 ptoa(pmap_wired_count(map->pmap)));
1275 ptoa(pmap_wired_count(map->pmap)));
1536 if (ptoa(pmap_wired_count(map->pmap)) + size >
1544 ptoa(pmap_wired_count(map->pmap)) + size);
H A Dvm_object.c1342 new_object->charge = ptoa(size);
1343 KASSERT(orig_object->charge >= ptoa(size),
1345 orig_object->charge -= ptoa(size);
2140 if (!reserved && !swap_reserve_by_cred(ptoa(next_size),
2145 prev_object->charge += ptoa(next_size);
2161 ptoa(prev_object->size - next_pindex),
2164 prev_object->charge -= ptoa(prev_object->size -
2327 kvo.kvo_size = ptoa(obj->size);
H A Dvm_map.c1890 start = addr + ptoa(tmpidx);
1894 if (p->psind > 0 && ((addr + ptoa(tmpidx)) &
1905 ptoa(tmpidx), p_start, prot);
1910 pmap_enter_object(map->pmap, start, addr + ptoa(psize),
2005 if (!swap_reserve(ptoa(obj->size))) {
2013 obj->charge = ptoa(obj->size);
2231 ptoa(pend - pstart),
2920 KASSERT(object->charge >= ptoa(size1),
2922 swap_release_by_cred(ptoa(size1), object->cred);
2923 object->charge -= ptoa(size
[all...]
/freebsd-10.3-release/sys/sparc64/include/
H A Dparam.h142 #define ptoa(x) ((unsigned long)(x) << PAGE_SHIFT) macro
/freebsd-10.3-release/sys/i386/include/
H A Dparam.h158 #define ptoa(x) ((x) << PAGE_SHIFT) macro
/freebsd-10.3-release/sys/arm/include/
H A Dparam.h145 #define ptoa(x) ((unsigned)(x) << PAGE_SHIFT) macro
/freebsd-10.3-release/sys/amd64/include/
H A Dparam.h139 #define ptoa(x) ((unsigned long)(x) << PAGE_SHIFT) macro
/freebsd-10.3-release/sys/powerpc/include/
H A Dparam.h123 #define ptoa(x) ((unsigned long)(x) << PAGE_SHIFT) macro
/freebsd-10.3-release/sys/dev/drm/
H A Ddrm_vm.c58 if (dev->dma && offset < ptoa(dev->dma->page_count)) {
/freebsd-10.3-release/sys/dev/drm2/
H A Ddrm_vm.c72 if (dev->dma && offset < ptoa(dev->dma->page_count)) {
/freebsd-10.3-release/sys/mips/include/
H A Dparam.h177 #define ptoa(x) ((x) << PAGE_SHIFT) macro
/freebsd-10.3-release/sys/mips/mips/
H A Dmachdep.c190 printf("real memory = %ju (%juK bytes)\n", ptoa((uintmax_t)realmem),
191 ptoa((uintmax_t)realmem) / 1024);
214 ptoa((uintmax_t)cnt.v_free_count),
215 ptoa((uintmax_t)cnt.v_free_count) / 1048576);
H A Dminidump_machdep.c245 (uintmax_t)ptoa((uintmax_t)physmem) / 1048576);
/freebsd-10.3-release/sys/amd64/vmm/
H A Dvmm_mem.c121 return (ptoa(Maxmem));
/freebsd-10.3-release/sys/powerpc/booke/
H A Dmachdep.c205 printf("real memory = %lu (%ld MB)\n", ptoa(physmem),
206 ptoa(physmem) / 1048576);
223 printf("avail memory = %lu (%ld MB)\n", ptoa(cnt.v_free_count),
224 ptoa(cnt.v_free_count) / 1048576);
/freebsd-10.3-release/sys/powerpc/aim/
H A Dmachdep.c188 printf("real memory = %ld (%ld MB)\n", ptoa(physmem),
189 ptoa(physmem) / 1048576);
220 printf("avail memory = %ld (%ld MB)\n", ptoa(cnt.v_free_count),
221 ptoa(cnt.v_free_count) / 1048576);
/freebsd-10.3-release/sys/powerpc/powerpc/
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-10.3-release/sys/x86/x86/
H A Dbusdma_bounce.c184 if (newtag->common.lowaddr < ptoa((vm_paddr_t)Maxmem) ||
199 if (ptoa(bz->total_bpages) < maxsize) {
413 dmat->common.lowaddr >= ptoa((vm_paddr_t)Maxmem) &&
505 ptoa((vm_paddr_t)Maxmem),
/freebsd-10.3-release/sys/ia64/ia64/
H A Dmachdep.c279 printf("real memory = %ld (%ld MB)\n", ptoa(realmem),
280 ptoa(realmem) / 1048576);
284 printf("avail memory = %ld (%ld MB)\n", ptoa(cnt.v_free_count),
285 ptoa(cnt.v_free_count) / 1048576);
/freebsd-10.3-release/sys/i386/i386/
H A Dmachdep.c321 if (memsize < ptoa((uintmax_t)cnt.v_free_count))
322 memsize = ptoa((uintmax_t)Maxmem);
348 ptoa((uintmax_t)cnt.v_free_count),
349 ptoa((uintmax_t)cnt.v_free_count) / 1048576);
2303 physmap[physmap_idx + 1] = ptoa((vm_paddr_t)Maxmem);
2347 end = ptoa((vm_paddr_t)Maxmem);
2512 physmap[1] = ptoa(Maxmem) - round_page(msgbufsize);
2718 physmap[physmap_idx + 1] = ptoa((vm_paddr_t)Maxmem);
2749 end = ptoa((vm_paddr_t)Maxmem);
H A Dminidump_machdep.c274 printf("Physical memory: %ju MB\n", ptoa((uintmax_t)physmem) / 1048576);
/freebsd-10.3-release/sys/arm/arm/
H A Dminidump_machdep.c316 printf("Physical memory: %u MB\n", ptoa((uintmax_t)physmem) / 1048576);
/freebsd-10.3-release/sys/amd64/amd64/
H A Dminidump_machdep.c345 ptoa((uintmax_t)physmem) / 1048576);

Completed in 182 milliseconds

123