Home
last modified time | relevance | path

Searched refs:P_LP64 (Results 1 – 11 of 11) sorted by relevance

/xnu-11215/bsd/dev/dtrace/scripts/
H A Ddarwin.d194 inline int P_LP64 = 0x00000004; /* Process is LP64 */ variable
195 #pragma D binding "1.0" P_LP64
225 pr_dmodel = (P->p_flag & P_LP64) ? PR_MODEL_LP64 : PR_MODEL_ILP32;
/xnu-11215/bsd/kern/
H A Dkern_fork.c705 const int parent_64bit_addr = parent_proc->p_flag & P_LP64; in cloneproc()
726 OSBitOrAtomic(P_LP64, (UInt32 *)&child_proc->p_flag); in cloneproc()
729 OSBitAndAtomic(~((uint32_t)P_LP64), (UInt32 *)&child_proc->p_flag); in cloneproc()
1041 …child_proc->p_flag = (parent_proc->p_flag & (P_LP64 | P_TRANSLATED | P_DISABLE_ASLR | P_DELAYIDLES… in forkproc()
1043 …child_proc->p_flag = (parent_proc->p_flag & (P_LP64 | P_TRANSLATED | P_DISABLE_ASLR | P_SUGID | P_… in forkproc()
H A Dbsd_init.c530 kernproc->p_flag = P_SYSTEM | P_LP64; in bsd_init()
H A Dproc_info.c720 if ((p->p_flag & P_LP64) == P_LP64) { in proc_pidbsdinfo()
828 if ((p->p_flag & P_LP64) == P_LP64) { in proc_pidshortbsdinfo()
H A Dkern_exit.c590 pflags = p->p_flag & (P_LP64 | P_SUGID | P_TRANSLATED); in populate_corpse_crashinfo()
1195 unsigned int pflags = p->p_flag & (P_LP64 | P_SUGID | P_TRANSLATED); in current_thread_collect_backtrace_info()
H A Dkern_event.c9668 bool proc_is_64bit = !!(p->p_flag & P_LP64);
9682 if (!(p->p_flag & P_LP64)) {
9715 bool proc_is_64bit = !!(p->p_flag & P_LP64);
9723 if (!(p->p_flag & P_LP64)) {
H A Dkern_exec.c881 OSBitOrAtomic(P_LP64, &p->p_flag); in activate_exec_state()
884 OSBitAndAtomic(~((uint32_t)P_LP64), &p->p_flag); in activate_exec_state()
H A Dkern_proc.c2046 if (p && (p->p_flag & P_LP64)) { in IS_64BIT_PROCESS()
/xnu-11215/bsd/sys/
H A Dproc.h169 #define P_LP64 0x00000004 /* Process is LP64 */ macro
/xnu-11215/tests/
H A Dbacktracing_tests.c140 k64 = kp.kp_proc.p_flag & P_LP64; in is_kernel_64_bit()
/xnu-11215/bsd/dev/i386/
H A Dfasttrap_isa.c262 unsigned int p_model = (p->p_flag & P_LP64) ? DATAMODEL_LP64 : DATAMODEL_ILP32; in fasttrap_tracepoint_init()