Searched refs:old_value (Results 1 - 5 of 5) sorted by relevance

/xnu-2422.115.4/bsd/dev/i386/
H A Dsysctl.c250 int new_value = 0, old_value = 0, changed = 0, error; local
255 old_value = nstime / NSEC_PER_SEC;
258 error = sysctl_io_number(req, old_value, sizeof(int), &new_value, &changed);
938 int new_value = 0, old_value = 0, changed = 0, error; local
940 old_value = ml_timer_get_user_idle_level();
942 error = sysctl_io_number(req, old_value, sizeof(int), &new_value, &changed);
/xnu-2422.115.4/bsd/kern/
H A Dkern_sysctl.c2835 int new_value, old_value, changed; local
2841 old_value = KERN_RAGE_THREAD;
2843 old_value = KERN_RAGE_PROC;
2845 old_value = 0;
2847 error = sysctl_io_number(req, old_value, sizeof(int), &new_value, &changed);
2883 int new_value, old_value; local
2892 old_value = 0;
2894 if ((error = sysctl_io_number(req, old_value, sizeof(old_value), &new_value, NULL)) != 0)
2921 int new_value, old_value, change local
3013 int old_value=0, new_value=0, error=0; local
[all...]
H A Dkern_credential.c4630 int old_value; local
4634 old_value = OSAddAtomicLong(1, (long*)&cred->cr_ref);
4636 if (old_value < 1)
4681 int old_value; local
4687 old_value = OSAddAtomicLong(-1, (long*)&(*credp)->cr_ref);
4690 if (old_value == 0)
4692 if (old_value == 1)
4703 * If the old_value is 2, then we have just released the last external
4706 if (old_value < 3) {
/xnu-2422.115.4/osfmk/vm/
H A Dvm_shared_region.c1707 uint32_t old_value; local
1710 old_value = *ptr_to_slide;
1712 if (is_64 && *ptr_to_slide < old_value) {
1720 i, j, b, slide, old_value, *ptr_to_slide);
H A Dvm_user.c1301 vm_toggle_entry_reuse(int toggle, int *old_value) argument
1305 if(toggle == VM_TOGGLE_GETVALUE && old_value != NULL){
1306 *old_value = map->disable_vmentry_reuse;

Completed in 47 milliseconds