Searched refs:__current_pid (Results 1 - 3 of 3) sorted by relevance

/xnu-2422.115.4/libsyscall/custom/
H A D__getpid.s34 .private_extern __current_pid
36 __current_pid: label
46 #define __current_pid (%ecx) define
53 * If __current_pid is > 0, return it, else make syscall.
54 * If __current_pid is 0, cache result of syscall.
59 movl __current_pid, %eax
69 cmpxchgl %edx, __current_pid
76 .private_extern __current_pid
77 __current_pid: label
81 * If __current_pid i
[all...]
H A D__vfork.s43 #define GET_CURRENT_PID PICIFY(__current_pid)
45 NON_LAZY_STUB(__current_pid)
46 #define __current_pid (%edx) define
52 * If __current_pid >= 0, we want to put a -1 in there
58 movl __current_pid, %eax
65 cmpxchgl %ecx, __current_pid
73 incl __current_pid
86 incl __current_pid
92 * If __current_pid >= 0, we want to put a -1 in there
97 movq __current_pid
[all...]
H A D__fork.s69 REG_TO_EXTERN(%eax, __current_pid);
96 PICIFY(__current_pid)

Completed in 20 milliseconds