Searched refs:atop (Results 26 - 50 of 59) sorted by relevance

123

/freebsd-11-stable/sys/vm/
H A Dvm_page.c708 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 Dvm_map.c1721 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 Dvm_mmap.c925 vecindex = atop(addr - first_addr);
971 vecindex = atop(end - first_addr);
1026 npages = atop(end - start);
H A Ddevice_pager.c460 *color = atop(paddr) - OFF_TO_IDX(off - PAGE_SIZE);
H A Dvm_glue.c179 npages = atop(end - start);
/freebsd-11-stable/sys/arm/arm/
H A Dbusdma_machdep-v4.c480 pages = atop(maxsize) - bz->total_bpages;
576 pages = MAX(atop(dmat->maxsize), 1);
1268 npages = atop(round_page(sl->dataoffs + sl->datacount));
H A Dbusdma_machdep-v6.c540 pages = atop(maxsize) - bz->total_bpages;
629 pages = atop(roundup2(dmat->maxsize, PAGE_SIZE)) + 1;
/freebsd-11-stable/sys/x86/x86/
H A Dbusdma_bounce.c197 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 Dbusdma_bounce.c217 pages = atop(round_page(maxsize)) - bz->total_bpages;
347 atop(dmat->common.lowaddr));
350 pages = MAX(atop(dmat->common.maxsize), 1);
H A Dpmap.c858 Maxmem = atop(phys_avail[avail_slot - 1]);
3176 psize = atop(end - start);
/freebsd-11-stable/sys/dev/agp/
H A Dagp.c493 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 Dbusdma_machdep.c451 pages = atop(maxsize) - bz->total_bpages;
567 pages = MAX(atop(dmat->maxsize), 1);
H A Dpmap.c533 Maxmem = atop(phys_avail[i - 1]);
2418 psize = atop(end - start);
/freebsd-11-stable/sys/dev/md/
H A Dmd.c922 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 Dhn_rndis.c234 gpa[gpa_cnt].gpa_page = atop(paddr) + gpa_cnt;
/freebsd-11-stable/sys/riscv/riscv/
H A Dpmap.c703 Maxmem = atop(phys_avail[avail_slot - 1]);
2251 psize = atop(end - start);
/freebsd-11-stable/sys/i386/i386/
H A Dpmap.c388 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 Dxen_intr.c653 eoi_gmfn.gmfn = atop(vtophys(xen_intr_pirq_eoi_map));
/freebsd-11-stable/sys/amd64/amd64/
H A Dpmap.c904 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 Dnetfront.c1089 pfn = atop(vtophys(mtod(m, vm_offset_t)));
/freebsd-11-stable/sys/dev/hyperv/storvsc/
H A Dhv_storvsc_drv_freebsd.c1838 prplist->gpa_page[i] = atop(segs[i].ds_addr);
/freebsd-11-stable/sys/dev/cxgbe/tom/
H A Dt4_ddp.c1328 n = atop(end - start);
/freebsd-11-stable/sys/kern/
H A Dkern_proc.c2304 pi_adv = atop(entry->end - addr);
2328 pi_adv = atop(pagesizes[1]);
/freebsd-11-stable/sys/powerpc/aim/
H A Dmmu_oea64.c1445 psize = atop(end - start);
/freebsd-11-stable/sys/sparc64/sparc64/
H A Dpmap.c1661 psize = atop(end - start);

Completed in 499 milliseconds

123