Home
last modified time | relevance | path

Searched refs:threshold_mb (Results 1 – 2 of 2) sorted by relevance

/xnu-11215/tests/memorystatus/
H A Dmemorystatus_experiment_factors.c51 uint32_t threshold_mb, expected_threshold_pages, threshold_pages; variable
55 &threshold_mb, &threshold_size, NULL, 0);
58 NULL, 0, &threshold_mb, threshold_size);
69 &threshold_mb, &threshold_size, NULL, 0);
72 NULL, 0, &threshold_mb, threshold_size);
83 &threshold_mb, &threshold_size, NULL, 0);
86 NULL, 0, &threshold_mb, threshold_size);
115 uint32_t threshold_mb, expected_threshold_pages, threshold_pages; variable
116 size_t threshold_size = sizeof(threshold_mb);
123 threshold_mb = 128;
[all …]
/xnu-11215/bsd/kern/
H A Dkern_memorystatus.c1231 uint32_t threshold_mb; variable
1235 threshold_mb = ptoa_32(os_atomic_load((uint32_t *)arg1, relaxed)) >> 20;
1237 error = sysctl_handle_int(oidp, &threshold_mb, 0, req);
1242 if (threshold_mb > UINT32_MAX >> 20) {
1247 uint32_t new_threshold_pages = atop_32(threshold_mb << 20);
1263 "page shortage threshold to %u MiB\n", threshold_mb);
1266 "shortage threshold to %u MiB\n", threshold_mb);
1269 " threshold to %u MiB\n", threshold_mb);
1272 " offset to %u MiB\n", threshold_mb);
1275 " offset to %u MiB\n", threshold_mb);