Home
last modified time | relevance | path

Searched refs:stat_addr (Results 1 – 15 of 15) sorted by relevance

/linux-2.4.37.9/kernel/
Dexit.c491 asmlinkage long sys_wait4(pid_t pid,unsigned int * stat_addr, int options, struct rusage * ru) in sys_wait4() argument
536 if (!retval && stat_addr) in sys_wait4()
537 retval = put_user((p->exit_code << 8) | 0x7f, stat_addr); in sys_wait4()
548 if (!retval && stat_addr) in sys_wait4()
549 retval = put_user(p->exit_code, stat_addr); in sys_wait4()
595 asmlinkage long sys_waitpid(pid_t pid,unsigned int * stat_addr, int options) in sys_waitpid() argument
597 return sys_wait4(pid, stat_addr, options, NULL); in sys_waitpid()
/linux-2.4.37.9/arch/x86_64/ia32/
Dsys_ia32.c1265 extern asmlinkage long sys_wait4(pid_t pid,unsigned int * stat_addr,
1269 sys32_wait4(__kernel_pid_t32 pid, unsigned int *stat_addr, int options, in sys32_wait4() argument
1273 return sys_wait4(pid, stat_addr, options, NULL); in sys32_wait4()
1281 ret = sys_wait4(pid, stat_addr ? &status : NULL, options, &r); in sys32_wait4()
1284 if (stat_addr && put_user (status, stat_addr)) in sys32_wait4()
1291 sys32_waitpid(__kernel_pid_t32 pid, unsigned int *stat_addr, int options) in sys32_waitpid() argument
1293 return sys32_wait4(pid, stat_addr, options, NULL); in sys32_waitpid()
/linux-2.4.37.9/arch/sparc64/kernel/
Dsys_sunos32.c813 u32 stat_addr, int options, u32 ru);
815 asmlinkage int sunos_wait4(__kernel_pid_t32 pid, u32 stat_addr, int options, u32 ru) in sunos_wait4() argument
820 stat_addr, options, ru); in sunos_wait4()
Dsys_sparc32.c1920 asmlinkage int sys32_wait4(__kernel_pid_t32 pid, unsigned int *stat_addr, int options, struct rusag… in sys32_wait4() argument
1923 return sys_wait4(pid, stat_addr, options, NULL); in sys32_wait4()
1931 ret = sys_wait4(pid, stat_addr ? &status : NULL, options, &r); in sys32_wait4()
1934 if (stat_addr && put_user (status, stat_addr)) in sys32_wait4()
/linux-2.4.37.9/arch/ppc64/kernel/
Dsys_ppc32.c4201 extern asmlinkage long sys_wait4(pid_t pid, unsigned int * stat_addr, int options, struct rusage * …
4208 asmlinkage long sys32_wait4(u32 pid, unsigned int * stat_addr, u32 options, struct rusage * ru) in sys32_wait4() argument
4213 return sys_wait4((int)pid, stat_addr, options, NULL); in sys32_wait4()
4221 ret = sys_wait4((int)pid, stat_addr ? &status : NULL, options, &r); in sys32_wait4()
4224 if (stat_addr && put_user (status, stat_addr)) in sys32_wait4()
4232 extern asmlinkage long sys_waitpid(pid_t pid, unsigned int * stat_addr, int options);
4239 asmlinkage long sys32_waitpid(u32 pid, unsigned int * stat_addr, u32 options) in sys32_waitpid() argument
4241 return sys_waitpid((int)pid, stat_addr, (int)options); in sys32_waitpid()
Dsignal.c79 extern long sys_wait4(pid_t pid, unsigned int *stat_addr,
Dsignal32.c117 extern asmlinkage long sys_wait4(pid_t pid,unsigned int * stat_addr, int options, struct rusage * r…
/linux-2.4.37.9/arch/sparc/kernel/
Dsys_sunos.c845 asmlinkage int sunos_wait4(pid_t pid, unsigned int *stat_addr, int options, struct rusage *ru) in sunos_wait4() argument
849 ret = sys_wait4((pid ? pid : -1), stat_addr, options, ru); in sunos_wait4()
/linux-2.4.37.9/arch/mips64/kernel/
Dlinux32.c672 sys32_wait4(__kernel_pid_t32 pid, unsigned int * stat_addr, int options, in sys32_wait4() argument
676 return sys_wait4(pid, stat_addr, options, NULL); in sys32_wait4()
684 ret = sys_wait4(pid, stat_addr ? &status : NULL, options, &r); in sys32_wait4()
687 if (stat_addr && put_user (status, stat_addr)) in sys32_wait4()
694 sys32_waitpid(__kernel_pid_t32 pid, unsigned int *stat_addr, int options) in sys32_waitpid() argument
696 return sys32_wait4(pid, stat_addr, options, NULL); in sys32_waitpid()
/linux-2.4.37.9/arch/parisc/kernel/
Dsys_parisc32.c786 sys32_wait4(__kernel_pid_t32 pid, unsigned int * stat_addr, int options, in sys32_wait4() argument
790 return sys_wait4(pid, stat_addr, options, NULL); in sys32_wait4()
796 KERNEL_SYSCALL(ret, sys_wait4, pid, stat_addr ? &status : NULL, options, &r); in sys32_wait4()
798 if (stat_addr && put_user(status, stat_addr)) in sys32_wait4()
/linux-2.4.37.9/arch/ia64/ia32/
Dsys_ia32.c2724 sys32_wait4 (int pid, unsigned int *stat_addr, int options, struct rusage32 *ru) in sys32_wait4() argument
2727 return sys_wait4(pid, stat_addr, options, NULL); in sys32_wait4()
2735 ret = sys_wait4(pid, stat_addr ? &status : NULL, options, &r); in sys32_wait4()
2739 if (stat_addr && put_user(status, stat_addr)) in sys32_wait4()
2746 sys32_waitpid (int pid, unsigned int *stat_addr, int options) in sys32_waitpid() argument
2748 return sys32_wait4(pid, stat_addr, options, NULL); in sys32_waitpid()
/linux-2.4.37.9/include/linux/
Dsched.h617 asmlinkage long sys_wait4(pid_t pid,unsigned int * stat_addr, int options, struct rusage * ru);
/linux-2.4.37.9/arch/s390x/kernel/
Dlinux32.c1844 asmlinkage int sys32_wait4(__kernel_pid_t32 pid, unsigned int *stat_addr, int options, struct rusag… in sys32_wait4() argument
1847 return sys_wait4(pid, stat_addr, options, NULL); in sys32_wait4()
1855 ret = sys_wait4(pid, stat_addr ? &status : NULL, options, &r); in sys32_wait4()
1858 if (stat_addr && put_user (status, stat_addr)) in sys32_wait4()
/linux-2.4.37.9/include/asm-mips64/
Dunistd.h1028 static inline _syscall4(pid_t,wait4,pid_t,pid,int *,stat_addr,int,options,struct rusage *,ru) in _syscall0()
/linux-2.4.37.9/include/asm-mips/
Dunistd.h1028 static inline _syscall4(pid_t,wait4,pid_t,pid,int *,stat_addr,int,options,struct rusage *,ru) in _syscall0()