Searched refs:P_AFFINITY (Results 1 - 4 of 4) sorted by relevance

/macosx-10.5.8/xnu-1228.15.4/bsd/sys/
H A Dproc.h185 #define P_AFFINITY 0x00010000 /* xxx */ macro
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/
H A Dkern_sysctl.c424 (cur_proc->p_flag & P_AFFINITY) ? 1 : 0);
427 OSBitAndAtomic(~((uint32_t)P_AFFINITY), (UInt32 *)&cur_proc->p_flag);
429 OSBitOrAtomic(P_AFFINITY, (UInt32 *)&cur_proc->p_flag);
2530 cpu_type_t oldcputype = (cur_proc->p_flag & P_AFFINITY) ? CPU_TYPE_POWERPC : CPU_TYPE_I386;
2540 OSBitAndAtomic(~((uint32_t)P_AFFINITY), (UInt32 *)&cur_proc->p_flag);
2542 OSBitOrAtomic(P_AFFINITY, (UInt32 *)&cur_proc->p_flag);
H A Dkern_exec.c654 (p->p_flag & P_AFFINITY));
1099 OSBitAndAtomic(~((uint32_t)P_AFFINITY), (UInt32 *)&p->p_flag);
H A Dkern_fork.c962 child->p_flag = (parent->p_flag & (P_LP64 | P_TRANSLATED | P_AFFINITY));

Completed in 44 milliseconds