Home
last modified time | relevance | path

Searched refs:Maxmem (Results 1 – 11 of 11) sorted by relevance

/dragonfly/sys/platform/vkernel64/x86_64/
H A Dautoconf.c136 (uintmax_t)ptoa(Maxmem), (uintmax_t)(ptoa(Maxmem) / 1024)); in cpu_startup()
H A Dcpu_regs.c131 u_long usermem = ctob(Maxmem - vmstats.v_wire_count); in sysctl_hw_usermem()
142 SYSCTL_ULONG(_hw, OID_AUTO, availpages, CTLFLAG_RD, &Maxmem, 0, "");
/dragonfly/sys/platform/pc64/x86_64/
H A Dmachdep.c306 vm_paddr_t Maxmem; variable
2279 Maxmem = atop(physmap[physmap_idx + 1]); in getmemsize()
2282 Maxmem = MAXMEM / 4; in getmemsize()
2286 Maxmem = atop(physmem_tunable); in getmemsize()
2292 if (Maxmem > atop(physmap[physmap_idx + 1])) in getmemsize()
2293 Maxmem = atop(physmap[physmap_idx + 1]); in getmemsize()
2300 Maxmem = atop(DMAP_MAX_ADDRESS - DMAP_MIN_ADDRESS); in getmemsize()
2303 if (atop(physmap[physmap_idx + 1]) != Maxmem && in getmemsize()
2321 if (physmap[i+1] > ptoa(Maxmem)) in getmemsize()
2322 physmap[i+1] = ptoa(Maxmem); in getmemsize()
[all …]
H A Dbusdma_machdep.c91 (dmat)->lowaddr >= ptoa(Maxmem))
286 if (newtag->lowaddr < ptoa(Maxmem)) in bus_dma_tag_create()
394 maxpages = Maxmem - atop(dmat->lowaddr); in bus_dmamap_create()
399 Maxmem - atop(dmat->lowaddr)); in bus_dmamap_create()
H A Dpmap.c873 ndmpdp = (ptoa(Maxmem) + NBPDP - 1) >> PDPSHIFT; in create_pagetables()
913 nkpt_phys = howmany(Maxmem * sizeof(struct vm_page), NBPDR); in create_pagetables()
914 nkpt_phys += howmany(Maxmem * sizeof(struct pv_entry), NBPDR); in create_pagetables()
/dragonfly/sys/platform/vkernel64/platform/
H A Dinit.c88 vm_paddr_t Maxmem; variable
579 Maxmem = Maxmem_bytes >> PAGE_SHIFT; in init_sys_memory()
580 physmem = Maxmem; in init_sys_memory()
H A Dbusdma_machdep.c81 (dmat)->lowaddr >= ptoa(Maxmem))
245 if (newtag->lowaddr < ptoa(Maxmem)) in bus_dma_tag_create()
346 Maxmem - atop(dmat->lowaddr)); in bus_dmamap_create()
H A Dpmap.c405 nkpt = (Maxmem * (sizeof(struct vm_page) * 2) + MSGBUF_SIZE) / NBPDR; in create_pagetables()
/dragonfly/sys/sys/
H A Dsystm.h95 extern vm_paddr_t Maxmem; /* Highest physical memory address in system */
/dragonfly/sys/dev/agp/
H A Dagp.c218 memsize = ptoa(Maxmem) >> 20; in agp_generic_attach()
H A Dintel-gtt.c850 if (ptoa((vm_paddr_t)Maxmem) > in agp_i810_attach()