Home
last modified time | relevance | path

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

/f-stack/freebsd/i386/i386/
H A Dinitcpu.c833 if(Maxmem > 0) in enable_K5_wt_alloc()
834 msr = Maxmem / 16; in enable_K5_wt_alloc()
878 if (Maxmem > 0) in enable_K6_wt_alloc()
879 size = ((Maxmem >> 8) + 3) >> 2; in enable_K6_wt_alloc()
928 if (Maxmem > 0) in enable_K6_2_wt_alloc()
929 size = ((Maxmem >> 8) + 3) >> 2; in enable_K6_2_wt_alloc()
H A Dmachdep.c191 long Maxmem = 0; variable
273 memsize = ptoa((uintmax_t)Maxmem);
1978 Maxmem = atop(physmap[physmap_idx + 1]); in getmemsize()
1981 Maxmem = MAXMEM / 4; in getmemsize()
1985 Maxmem = atop(physmem_tunable); in getmemsize()
1992 Maxmem = atop(physmap[physmap_idx + 1]); in getmemsize()
2006 if (atop(physmap[physmap_idx + 1]) != Maxmem && in getmemsize()
2014 if (atop(physmap[physmap_idx + 1]) < Maxmem) in getmemsize()
2015 physmap[physmap_idx + 1] = ptoa((vm_paddr_t)Maxmem); in getmemsize()
2044 end = ptoa((vm_paddr_t)Maxmem); in getmemsize()
[all …]
/f-stack/freebsd/arm/include/
H A Dmd_var.h38 extern long Maxmem;
/f-stack/freebsd/arm64/include/
H A Dmd_var.h36 extern long Maxmem;
/f-stack/freebsd/mips/include/
H A Dmd_var.h44 extern long Maxmem;
/f-stack/freebsd/amd64/vmm/
H A Dvmm_mem.c123 return (ptoa(Maxmem)); in vmm_mem_maxaddr()
/f-stack/freebsd/kern/
H A Dsubr_physmem.c88 long Maxmem; variable
415 Maxmem = atop(phys_avail[nextidx - 1]); in physmem_init_kernel_globals()
/f-stack/freebsd/x86/include/
H A Dx86_var.h39 extern long Maxmem;
/f-stack/freebsd/amd64/amd64/
H A Dmachdep.c212 long Maxmem = 0; variable
280 memsize = ptoa((uintmax_t)Maxmem);
1265 Maxmem = atop(physmap[physmap_idx + 1]); in getmemsize()
1268 Maxmem = MAXMEM / 4; in getmemsize()
1272 Maxmem = atop(physmem_tunable); in getmemsize()
1290 if (Maxmem > atop(physmap[physmap_idx + 1])) in getmemsize()
1291 Maxmem = atop(physmap[physmap_idx + 1]); in getmemsize()
1293 if (atop(physmap[physmap_idx + 1]) != Maxmem && in getmemsize()
1295 printf("Physical memory use set to %ldK\n", Maxmem * 4); in getmemsize()
1350 end = ptoa((vm_paddr_t)Maxmem); in getmemsize()
[all …]
H A Dmp_machdep.c127 return (start + AP_BOOTPT_SZ <= GiB(4) && atop(end) < Maxmem); in is_mpboot_good()
H A Dpmap.c1620 ndmpdp = howmany(ptoa(Maxmem), NBPDP); in create_pagetables()
1630 Maxmem = atop(NDMPML4E * NBPML4); in create_pagetables()
1641 ndm1g = ptoa(Maxmem) >> PDPSHIFT; in create_pagetables()
/f-stack/freebsd/x86/x86/
H A Dbusdma_bounce.c60 #define MAX_BPAGES (Maxmem > atop(0x100000000ULL) ? 8192 : 512)
209 if (newtag->common.lowaddr < ptoa((vm_paddr_t)Maxmem) || in bounce_bus_dma_tag_create()
345 maxpages = MIN(MAX_BPAGES, Maxmem - in bounce_bus_dmamap_create()
451 dmat->common.lowaddr >= ptoa((vm_paddr_t)Maxmem) && in bounce_bus_dmamem_alloc()
568 ptoa((vm_paddr_t)Maxmem), in _bus_dmamap_count_pages()
607 ptoa((vm_paddr_t)Maxmem), in _bus_dmamap_count_ma()
/f-stack/freebsd/arm64/arm64/
H A Dbusdma_bounce.c294 if (newtag->common.lowaddr < ptoa((vm_paddr_t)Maxmem) || in bounce_bus_dma_tag_create()
453 maxpages = MIN(MAX_BPAGES, Maxmem - in bounce_bus_dmamap_create()
592 dmat->common.lowaddr >= ptoa((vm_paddr_t)Maxmem) && in bounce_bus_dmamem_alloc()
704 ptoa((vm_paddr_t)Maxmem), in _bus_dmamap_count_pages()
/f-stack/freebsd/mips/mips/
H A Dmachdep.c116 long Maxmem = 0; variable
H A Dpmap.c537 Maxmem = atop(phys_avail[i - 1]); in pmap_bootstrap()
550 printf("Maxmem is 0x%0jx\n", ptoa((uintmax_t)Maxmem)); in pmap_bootstrap()
/f-stack/freebsd/x86/iommu/
H A Dintel_ctx.c406 domain->iodom.end = id_mapped ? ptoa(Maxmem) : BUS_SPACE_MAXADDR; in dmar_domain_alloc()