/freebsd-10.1-release/sys/ia64/include/ |
H A D | param.h | 119 #define atop(x) ((unsigned long)(x) >> PAGE_SHIFT) macro
|
/freebsd-10.1-release/sys/amd64/include/ |
H A D | param.h | 138 #define atop(x) ((unsigned long)(x) >> PAGE_SHIFT) macro
|
/freebsd-10.1-release/sys/arm/include/ |
H A D | param.h | 143 #define atop(x) ((unsigned)(x) >> PAGE_SHIFT) macro
|
/freebsd-10.1-release/sys/i386/include/ |
H A D | param.h | 152 #define atop(x) ((x) >> PAGE_SHIFT) macro
|
/freebsd-10.1-release/sys/powerpc/include/ |
H A D | param.h | 122 #define atop(x) ((unsigned long)(x) >> PAGE_SHIFT) macro
|
/freebsd-10.1-release/sys/sparc64/include/ |
H A D | param.h | 141 #define atop(x) ((unsigned long)(x) >> PAGE_SHIFT) macro
|
/freebsd-10.1-release/sys/vm/ |
H A D | vm_phys.c | 256 pages += atop(seg->end - seg->start); 513 return (&seg->first_page[atop(pa - seg->start)]); 529 m = &seg->first_page[atop(pa - seg->start)]; 554 pi = atop(start); 556 if (atop(end) >= vm_page_array_size + first_page) 604 pi = atop(start); 616 if (pi < first_page || atop(end) >= vm_page_array_size) 673 m_buddy = &seg->first_page[atop(pa - seg->start)]; 682 m = &seg->first_page[atop(pa - seg->start)]; 771 m_set = &seg->first_page[atop(p [all...] |
H A D | vm_fault.c | 528 fs.object->pg_color = atop(vaddr) - 568 ahead = atop(fs.entry->end - vaddr) - 1; 581 behind = atop(vaddr - fs.entry->start); 584 ahead = atop(fs.entry->end - vaddr) - 1; 1181 if (atop(end - addr) > max_count) 1183 count = atop(end - addr); 1280 dst_object->pg_color = atop(dst_entry->start);
|
H A D | vm_kern.c | 240 atop(size), low, high, alignment, boundary, memattr); 252 end_m = m + atop(size);
|
H A D | vm_map.h | 340 #define VM_FAULT_READ_AHEAD_MAX min(atop(MAXPHYS) - 1, UINT8_MAX)
|
H A D | vm_object.c | 278 kernel_object->pg_color = (u_short)atop(VM_MIN_KERNEL_ADDRESS); 286 kmem_object->pg_color = (u_short)atop(VM_MIN_KERNEL_ADDRESS); 1233 result = vm_object_allocate(OBJT_DEFAULT, atop(length)); 1294 size = atop(entry->end - entry->start); 2231 end_pindex = pindex + atop(length);
|
H A D | device_pager.c | 425 *color = atop(paddr) - OFF_TO_IDX(off - PAGE_SIZE);
|
H A D | vm_map.c | 1641 atop(entry->end - entry->start)); 1718 atop(entry->end - entry->start)); 1849 psize = atop(size); 1890 mask = atop(pagesizes[p->psind]) - 1; 2180 pend = pstart + atop(current->end - current->start); 2185 pstart += atop(start - current->start); 2189 pend -= atop(current->end - end); 3296 atop(old_entry->end - old_entry->start)); 4071 atop(size));
|
/freebsd-10.1-release/sys/mips/include/ |
H A D | param.h | 176 #define atop(x) ((x) >> PAGE_SHIFT) macro
|
/freebsd-10.1-release/sys/ia64/ia64/ |
H A D | physmem.c | 154 physmem += atop(size); 170 realmem = atop(realmem);
|
H A D | busdma_machdep.c | 271 pages = atop(maxsize) - total_bpages; 359 maxpages = MIN(MAX_BPAGES, atop(paddr_max - dmat->lowaddr)); 364 pages = MAX(atop(dmat->maxsize), 1);
|
H A D | dump_machdep.c | 266 printf(" chunk %d: %ld pages ", seqnr, atop(sz));
|
/freebsd-10.1-release/sys/i386/i386/ |
H A D | machdep.c | 312 realmem = atop(memsize); 2347 Maxmem = atop(physmap[physmap_idx + 1]); 2354 Maxmem = atop(physmem_tunable); 2360 if (has_smap && Maxmem > atop(physmap[physmap_idx + 1])) 2361 Maxmem = atop(physmap[physmap_idx + 1]); 2373 if (atop(physmap[physmap_idx + 1]) != Maxmem && 2381 if (atop(physmap[physmap_idx + 1]) < Maxmem) 2542 physmem -= atop(phys_avail[pa_indx] - phys_avail[pa_indx - 1]); 2547 Maxmem = atop(phys_avail[pa_indx]); 2614 gdt_segs[GPRIV_SEL].ssd_limit = atop(HYPERVISOR_VIRT_STAR [all...] |
/freebsd-10.1-release/sys/pc98/pc98/ |
H A D | machdep.c | 1912 Maxmem = atop(physmap[physmap_idx + 1]); 1919 Maxmem = atop(physmem_tunable); 1928 if (atop(physmap[physmap_idx + 1]) != Maxmem && 1936 if (atop(physmap[physmap_idx + 1]) < Maxmem) 2103 physmem -= atop(phys_avail[pa_indx] - phys_avail[pa_indx - 1]); 2108 Maxmem = atop(phys_avail[pa_indx]); 2165 gdt_segs[GCODE_SEL].ssd_limit = atop(0 - 1); 2166 gdt_segs[GDATA_SEL].ssd_limit = atop(0 - 1); 2167 gdt_segs[GUCODE_SEL].ssd_limit = atop(0 - 1); 2168 gdt_segs[GUDATA_SEL].ssd_limit = atop( [all...] |
/freebsd-10.1-release/sys/amd64/amd64/ |
H A D | machdep.c | 277 realmem = atop(memsize); 1593 Maxmem = atop(physmap[physmap_idx + 1]); 1600 Maxmem = atop(physmem_tunable); 1616 if (Maxmem > atop(physmap[physmap_idx + 1])) 1617 Maxmem = atop(physmap[physmap_idx + 1]); 1619 if (atop(physmap[physmap_idx + 1]) != Maxmem && 1784 physmem -= atop(phys_avail[pa_indx] - phys_avail[pa_indx - 1]); 1789 Maxmem = atop(phys_avail[pa_indx]);
|
/freebsd-10.1-release/sys/compat/x86bios/ |
H A D | x86bios.c | 133 for (i = 0; i < atop(round_page(size)); i++) 134 vm86_addpage(&x86bios_vmc, atop(*offset) + i, 161 nfree = atop(round_page(size));
|
/freebsd-10.1-release/sys/powerpc/powerpc/ |
H A D | busdma_machdep.c | 320 pages = atop(maxsize) - bz->total_bpages; 425 maxpages = MIN(MAX_BPAGES, Maxmem -atop(dmat->lowaddr)); 430 pages = MAX(atop(dmat->maxsize), 1);
|
/freebsd-10.1-release/sys/x86/x86/ |
H A D | busdma_bounce.c | 202 pages = atop(maxsize) - bz->total_bpages; 314 atop(dmat->common.lowaddr)); 317 pages = MAX(atop(dmat->common.maxsize), 1);
|
/freebsd-10.1-release/sys/dev/agp/ |
H A D | agp.c | 501 mem->am_obj = vm_object_allocate(OBJT_DEFAULT, atop(round_page(size))); 664 m = vm_page_lookup(mem->am_obj, atop(i));
|
/freebsd-10.1-release/sys/ofed/drivers/infiniband/core/ |
H A D | umem.c | 334 npages = atop(end - start);
|