Searched refs:GB (Results 1 – 8 of 8) sorted by relevance
9 #define GB (1ULL * 1024 * 1024 * 1024) macro28 res = mmap(NULL, 1 * GB, PROT_NONE, MAP_PRIVATE | MAP_ANON, 0, 0); in verify_jumbo_va()
208 #define GB (1024*MB) macro213 #define K64_MAXMEM (2048*GB)
38 #define DEST_COPY_AREA (4*GB - HIB_MAP_SIZE) /*4GB - 2*2m */
731 sane_size, (uint32_t) (KERNEL_MAXMEM / GB)); in i386_vm_init()790 max_valid_low_ppnum = (2 * GB) / PAGE_SIZE; in i386_vm_init()793 max_valid_dma_address = (uint64_t)4 * (uint64_t)GB; in i386_vm_init()
146 uint64_t physmap_max = 4 * GB;309 highest_physaddr = kernelBootArgs->PhysicalMemorySize + 4 * GB; in physmap_init()
459 #define NPHYSMAP (MAX(((physmap_max - physmap_base) / GB), 4))511 return a < (NPHYSMAP * GB); in physmap_enclosed()
462 if (sane_size <= 8 * GB) { in pmap_scale_shift()463 scale = (uint32_t)(sane_size / (2 * GB)); in pmap_scale_shift()464 } else if (sane_size <= 32 * GB) { in pmap_scale_shift()465 scale = 4 + (uint32_t)((sane_size - (8 * GB)) / (4 * GB)); in pmap_scale_shift()467 scale = 10 + (uint32_t)MIN(4, ((sane_size - (32 * GB)) / (8 * GB))); in pmap_scale_shift()
121 …ys be accurate down to a page level. On our larger memory systems (8 and 16GB iPads in particular)…