Searched refs:atop (Results 26 - 50 of 59) sorted by relevance
123
/freebsd-11-stable/sys/vm/ |
H A D | vm_page.c | 708 pagecount = (u_long)atop(seg->end - seg->start); 1040 pi = atop(pa); 2118 m_inc = atop(roundup2(pa, alignment) - pa); 2123 m_inc = atop(roundup2(pa, boundary) - pa); 2140 m_inc = atop(roundup2(pa + 1, vm_reserv_size(level)) - 2179 m_inc = atop(roundup2(pa + 1, 3741 npages = atop(pagesizes[m->psind]);
|
H A D | vm_map.c | 1721 atop(entry->end - entry->start)); 1801 atop(entry->end - entry->start)); 1930 psize = atop(size); 1971 mask = atop(pagesizes[p->psind]) - 1; 2294 pend = pstart + atop(current->end - current->start); 2299 pstart += atop(start - current->start); 2303 pend -= atop(current->end - end); 3009 count = atop(size); 3436 atop(old_entry->end - old_entry->start)); 4195 atop(siz [all...] |
H A D | vm_mmap.c | 925 vecindex = atop(addr - first_addr); 971 vecindex = atop(end - first_addr); 1026 npages = atop(end - start);
|
H A D | device_pager.c | 460 *color = atop(paddr) - OFF_TO_IDX(off - PAGE_SIZE);
|
H A D | vm_glue.c | 179 npages = atop(end - start);
|
/freebsd-11-stable/sys/arm/arm/ |
H A D | busdma_machdep-v4.c | 480 pages = atop(maxsize) - bz->total_bpages; 576 pages = MAX(atop(dmat->maxsize), 1); 1268 npages = atop(round_page(sl->dataoffs + sl->datacount));
|
H A D | busdma_machdep-v6.c | 540 pages = atop(maxsize) - bz->total_bpages; 629 pages = atop(roundup2(dmat->maxsize, PAGE_SIZE)) + 1;
|
/freebsd-11-stable/sys/x86/x86/ |
H A D | busdma_bounce.c | 197 pages = atop(maxsize) - bz->total_bpages; 309 atop(dmat->common.lowaddr)); 312 pages = MAX(atop(dmat->common.maxsize), 1);
|
/freebsd-11-stable/sys/arm64/arm64/ |
H A D | busdma_bounce.c | 217 pages = atop(round_page(maxsize)) - bz->total_bpages; 347 atop(dmat->common.lowaddr)); 350 pages = MAX(atop(dmat->common.maxsize), 1);
|
H A D | pmap.c | 858 Maxmem = atop(phys_avail[avail_slot - 1]); 3176 psize = atop(end - start);
|
/freebsd-11-stable/sys/dev/agp/ |
H A D | agp.c | 493 mem->am_obj = vm_object_allocate(OBJT_DEFAULT, atop(round_page(size))); 653 m = vm_page_lookup(mem->am_obj, atop(i));
|
/freebsd-11-stable/sys/mips/mips/ |
H A D | busdma_machdep.c | 451 pages = atop(maxsize) - bz->total_bpages; 567 pages = MAX(atop(dmat->maxsize), 1);
|
H A D | pmap.c | 533 Maxmem = atop(phys_avail[i - 1]); 2418 psize = atop(end - start);
|
/freebsd-11-stable/sys/dev/md/ |
H A D | md.c | 922 npages = atop(min(MAXPHYS, round_page(len + (ma_offs & 927 &bp->bio_ma[atop(ma_offs)], npages);
|
/freebsd-11-stable/sys/dev/hyperv/netvsc/ |
H A D | hn_rndis.c | 234 gpa[gpa_cnt].gpa_page = atop(paddr) + gpa_cnt;
|
/freebsd-11-stable/sys/riscv/riscv/ |
H A D | pmap.c | 703 Maxmem = atop(phys_avail[avail_slot - 1]); 2251 psize = atop(end - start);
|
/freebsd-11-stable/sys/i386/i386/ |
H A D | pmap.c | 388 res = atop(firstaddr - (vm_paddr_t)KERNLOAD); 479 SYSMAP(struct msgbuf *, unused, msgbufp, atop(round_page(msgbufsize))) 3791 psize = atop(end - start); 3969 if (!vm_object_populate(object, pindex, pindex + atop(size)))
|
/freebsd-11-stable/sys/x86/xen/ |
H A D | xen_intr.c | 653 eoi_gmfn.gmfn = atop(vtophys(xen_intr_pirq_eoi_map));
|
/freebsd-11-stable/sys/amd64/amd64/ |
H A D | pmap.c | 904 Maxmem = atop(NDMPML4E * NBPML4); 1031 res = atop(KERNend - (vm_paddr_t)kernphys); 1308 for (i = 0; i < atop(0x400000); i++) { 5222 psize = atop(end - start); 5414 if (!vm_object_populate(object, pindex, pindex + atop(size)))
|
/freebsd-11-stable/sys/dev/xen/netfront/ |
H A D | netfront.c | 1089 pfn = atop(vtophys(mtod(m, vm_offset_t)));
|
/freebsd-11-stable/sys/dev/hyperv/storvsc/ |
H A D | hv_storvsc_drv_freebsd.c | 1838 prplist->gpa_page[i] = atop(segs[i].ds_addr);
|
/freebsd-11-stable/sys/dev/cxgbe/tom/ |
H A D | t4_ddp.c | 1328 n = atop(end - start);
|
/freebsd-11-stable/sys/kern/ |
H A D | kern_proc.c | 2304 pi_adv = atop(entry->end - addr); 2328 pi_adv = atop(pagesizes[1]);
|
/freebsd-11-stable/sys/powerpc/aim/ |
H A D | mmu_oea64.c | 1445 psize = atop(end - start);
|
/freebsd-11-stable/sys/sparc64/sparc64/ |
H A D | pmap.c | 1661 psize = atop(end - start);
|
Completed in 499 milliseconds
123