Searched refs:TH_OPT_VMPRIV (Results 1 - 10 of 10) sorted by relevance

/darwin-on-arm/xnu/osfmk/kern/
H A Dthread.c1399 *prev_state = (thread->options & TH_OPT_VMPRIV) != 0;
1402 if (!(thread->options & TH_OPT_VMPRIV))
1404 thread->options |= TH_OPT_VMPRIV;
1407 if (thread->options & TH_OPT_VMPRIV)
1409 thread->options &= ~TH_OPT_VMPRIV;
H A Dthread.h147 #define TH_OPT_VMPRIV 0x04 /* may allocate reserved memory */ macro
H A Dthread_call.c1321 self->options |= TH_OPT_VMPRIV;
H A Dwait_queue.c1202 || (thread->options & TH_OPT_VMPRIV)
H A Dzalloc.c1255 current_thread()->options |= TH_OPT_VMPRIV;
/darwin-on-arm/xnu/osfmk/i386/
H A Dpmap_common.c295 current_thread()->options |= TH_OPT_VMPRIV;
/darwin-on-arm/xnu/osfmk/vm/
H A Dbsd_vm.c324 current_thread()->options |= TH_OPT_VMPRIV;
H A Dvm_pageout.c2712 && (self->options & TH_OPT_VMPRIV))
2713 self->options &= ~TH_OPT_VMPRIV;
2953 self->options |= TH_OPT_VMPRIV;
2976 self->options |= TH_OPT_VMPRIV;
H A Dvm_resident.c1871 !(current_thread()->options & TH_OPT_VMPRIV)) {
2124 int is_privileged = current_thread()->options & TH_OPT_VMPRIV;
H A Dvm_fault.c529 if (thread->options & TH_OPT_VMPRIV)

Completed in 74 milliseconds