Searched refs:Maxmem (Results 1 - 24 of 24) sorted by relevance

/freebsd-10.1-release/sys/powerpc/include/
H A Dmd_var.h44 extern long Maxmem;
/freebsd-10.1-release/sys/mips/include/
H A Dmd_var.h42 extern long Maxmem;
/freebsd-10.1-release/sys/sparc64/include/
H A Dmd_var.h42 extern long Maxmem;
/freebsd-10.1-release/sys/i386/include/
H A Dmd_var.h39 extern long Maxmem;
/freebsd-10.1-release/sys/i386/i386/
H A Dinitcpu.c845 * Following two functions require the Maxmem variable being set.
867 if(Maxmem > 0)
868 msr = Maxmem / 16;
918 if (Maxmem > 0)
919 size = ((Maxmem >> 8) + 3) >> 2;
978 if (Maxmem > 0)
979 size = ((Maxmem >> 8) + 3) >> 2;
H A Dmachdep.c226 long Maxmem = 0; variable
310 memsize = ptoa((uintmax_t)Maxmem);
2172 Maxmem = xen_start_info->nr_pages - init_first;
2173 physmem = Maxmem;
2176 physmap[1] = ptoa(Maxmem) - round_page(msgbufsize);
2342 * Maxmem isn't the "maximum memory", it's one larger than the
2347 Maxmem = atop(physmap[physmap_idx + 1]);
2350 Maxmem = MAXMEM / 4;
2354 Maxmem = atop(physmem_tunable);
2360 if (has_smap && Maxmem > ato
[all...]
/freebsd-10.1-release/sys/amd64/include/
H A Dmd_var.h39 extern long Maxmem;
/freebsd-10.1-release/sys/amd64/vmm/
H A Dvmm_mem.c153 return (ptoa(Maxmem));
/freebsd-10.1-release/sys/powerpc/powerpc/
H A Dbusdma_machdep.c299 if (newtag->lowaddr < ptoa((vm_paddr_t)Maxmem) && newtag->iommu == NULL)
425 maxpages = MIN(MAX_BPAGES, Maxmem -atop(dmat->lowaddr));
525 dmat->lowaddr >= ptoa((vm_paddr_t)Maxmem) &&
576 CTR4(KTR_BUSDMA, "lowaddr= %d Maxmem= %d, boundary= %d, "
577 "alignment= %d", dmat->lowaddr, ptoa((vm_paddr_t)Maxmem),
607 CTR4(KTR_BUSDMA, "lowaddr= %d Maxmem= %d, boundary= %d, "
608 "alignment= %d", dmat->lowaddr, ptoa((vm_paddr_t)Maxmem),
/freebsd-10.1-release/sys/pc98/pc98/
H A Dmachdep.c197 long Maxmem = 0; variable
239 realmem = Maxmem;
244 memsize = ptoa((uintmax_t)Maxmem);
1907 * Maxmem isn't the "maximum memory", it's one larger than the
1912 Maxmem = atop(physmap[physmap_idx + 1]);
1915 Maxmem = MAXMEM / 4;
1919 Maxmem = atop(physmem_tunable);
1928 if (atop(physmap[physmap_idx + 1]) != Maxmem &&
1930 printf("Physical memory use set to %ldK\n", Maxmem * 4);
1933 * If Maxmem ha
[all...]
/freebsd-10.1-release/sys/amd64/amd64/
H A Dmachdep.c189 long Maxmem = 0; variable
275 memsize = ptoa((uintmax_t)Maxmem);
1588 * Maxmem isn't the "maximum memory", it's one larger than the
1593 Maxmem = atop(physmap[physmap_idx + 1]);
1596 Maxmem = MAXMEM / 4;
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 &&
1621 printf("Physical memory use set to %ldK\n", Maxmem *
[all...]
H A Dpmap.c695 ndmpdp = (ptoa(Maxmem) + NBPDP - 1) >> PDPSHIFT;
705 Maxmem = atop(NDMPML4E * NBPML4);
712 ndm1g = ptoa(Maxmem) >> PDPSHIFT;
/freebsd-10.1-release/sys/x86/x86/
H A Dbusdma_bounce.c184 if (newtag->common.lowaddr < ptoa((vm_paddr_t)Maxmem) ||
313 maxpages = MIN(MAX_BPAGES, Maxmem -
413 dmat->common.lowaddr >= ptoa((vm_paddr_t)Maxmem) &&
503 CTR4(KTR_BUSDMA, "lowaddr= %d Maxmem= %d, boundary= %d, "
505 ptoa((vm_paddr_t)Maxmem),
/freebsd-10.1-release/sys/mips/mips/
H A Dmachdep.c113 long Maxmem = 0; variable
H A Dpmap.c527 Maxmem = atop(phys_avail[i - 1]);
540 printf("Maxmem is 0x%0jx\n", ptoa((uintmax_t)Maxmem));
/freebsd-10.1-release/sys/powerpc/booke/
H A Dmachdep.c173 long Maxmem = 0; variable
H A Dpmap.c1248 Maxmem = powerpc_btop(phys_avail[i + 1]);
1250 debugf("Maxmem = 0x%08lx\n", Maxmem);
/freebsd-10.1-release/sys/powerpc/aim/
H A Dmachdep.c162 long Maxmem = 0; variable
H A Dmmu_oea.c931 Maxmem = powerpc_btop(phys_avail[i + 1]);
H A Dmmu_oea64.c880 Maxmem = powerpc_btop(phys_avail[i + 1]);
/freebsd-10.1-release/sys/x86/iommu/
H A Dintel_ctx.c296 ctx1->end = ptoa(Maxmem);
/freebsd-10.1-release/sys/sparc64/sparc64/
H A Dmachdep.c127 long Maxmem; variable
H A Dpmap.c602 Maxmem = sparc64_btop(phys_avail[i + 1]);
/freebsd-10.1-release/sys/dev/agp/
H A Dagp_i810.c1447 if (ptoa((vm_paddr_t)Maxmem) >

Completed in 300 milliseconds