Searched refs:sane_size (Results 1 - 16 of 16) sorted by relevance
/darwin-on-arm/xnu/osfmk/vm/ |
H A D | vm_init.c | 153 zsize = sane_size >> 2; /* Get target zone size as 1/4 of physical memory */ 161 if (zsize > sane_size >> 1) 162 zsize = sane_size >> 1; /* Clamp to half of RAM max */
|
H A D | vm_fault.c | 210 vm_hard_throttle_threshold = sane_size * (35 - MIN((int)(sane_size / (1024*1024*1024)), 25)) / 100;
|
/darwin-on-arm/xnu/osfmk/i386/ |
H A D | i386_vm_init.c | 97 uint64_t sane_size = 0; /* Memory size for defaults calculations */ variable 367 sane_size += region_bytes; 371 * sane_size should reflect the total amount of physical 388 sane_size += region_bytes; 392 sane_size += region_bytes; 396 sane_size += region_bytes; 400 sane_size += region_bytes; 582 mem_actual = sane_size; 589 sane_size = (sane_size [all...] |
H A D | pmap_common.c | 229 pv_hashed_low_water_mark = MAX(PV_HASHED_LOW_WATER_MARK_DEFAULT, ((uint32_t)(sane_size >> 30)) * 2000); 232 pv_hashed_kern_low_water_mark = MAX(PV_HASHED_KERN_LOW_WATER_MARK_DEFAULT, ((uint32_t)(sane_size >> 30)) * 1000);
|
/darwin-on-arm/xnu/bsd/dev/ |
H A D | unix_startup.c | 110 max_nbuf_headers = atop_kernel(sane_size / 50); /* Get 2% of ram, but no more than we can map */ 118 nbuf_hashelements = atop_kernel(sane_size / 50); 190 desiredvnodes = (sane_size/65536) + 1024; 271 if (sane_size > (64 * 1024 * 1024) || ncl != 0) { 278 nmbclusters = mbuf_default_ncl(serverperfmode, sane_size);
|
/darwin-on-arm/xnu/osfmk/arm64/ |
H A D | arm64_vm_init.c | 59 * sane_size, max_mem and mem_size are controlled by arm_vm_init 61 * At the moment, sane_size is forced to the size of memory 64 uint64_t sane_size = 0; variable
|
/darwin-on-arm/xnu/osfmk/kern/ |
H A D | startup.c | 550 if ((serverperfmode != 0) && ((uint64_t)sane_size >= (uint64_t)(16 * 1024 * 1024 *1024ULL))) { 551 scale = (int)((uint64_t)sane_size / (uint64_t)(8 * 1024 * 1024 *1024ULL)); 556 } else if ((uint64_t)sane_size >= (uint64_t)(3 * 1024 * 1024 *1024ULL))
|
H A D | kalloc.c | 349 kalloc_map_size = (vm_size_t)(sane_size >> 5);
|
/darwin-on-arm/xnu/osfmk/mach/ |
H A D | vm_param.h | 237 extern uint64_t sane_size; /* Memory size to use for defaults calculations */
|
/darwin-on-arm/xnu/osfmk/arm/ |
H A D | arm_vm_init.c | 70 * sane_size, max_mem and mem_size are controlled by arm_vm_init 72 * At the moment, sane_size is forced to the size of memory 75 uint64_t sane_size = 0; variable 327 max_mem = mem_size = sane_size = gMemSize;
|
/darwin-on-arm/xnu/bsd/dev/dtrace/ |
H A D | fasttrap.c | 2451 fasttrap_max = (sane_size >> 28) * 100000;
|
H A D | dtrace.c | 11392 if (size > (sane_size / 8) / (int)NCPU) /* As in kdbg_set_nkdbufs(), roughly. */
|
/darwin-on-arm/xnu/bsd/kern/ |
H A D | kdebug.c | 1728 unsigned int max_entries = (sane_size/2) / sizeof(kd_buf);
|
H A D | kern_proc.c | 3029 memory_threshold = (sane_size * STARTING_PERCENTAGE) / 100; /* resident threshold in bytes */
|
/darwin-on-arm/xnu/bsd/vfs/ |
H A D | vfs_bio.c | 4504 blsize_t MAXNBUF; /* initialize to (sane_size / PAGE_SIZE) */ 4622 MAXNBUF = (sane_size / PAGE_SIZE); 4626 nbuftarget = (sane_size >> 5) / PAGE_SIZE;
|
/darwin-on-arm/xnu/bsd/nfs/ |
H A D | nfs_bio.c | 156 /* size nfsbufmax to cover at most half sane_size (w/default buf size) */ 157 nfsbufmax = (sane_size >> PAGE_SHIFT) / (2 * (NFS_RWSIZE >> PAGE_SHIFT));
|
Completed in 201 milliseconds