Home
last modified time | relevance | path

Searched refs:uss (Results 1 – 25 of 37) sorted by relevance

12

/linux-2.6.39/arch/tile/kernel/
Dcompat_signal.c262 stack_t uss, uoss; in compat_sys_sigaltstack() local
269 memset(&uss, 0, sizeof(stack_t)); in compat_sys_sigaltstack()
272 __get_user(uss.ss_flags, &uss_ptr->ss_flags) || in compat_sys_sigaltstack()
273 __get_user(uss.ss_size, &uss_ptr->ss_size)) in compat_sys_sigaltstack()
275 uss.ss_sp = compat_ptr(ptr); in compat_sys_sigaltstack()
279 ret = do_sigaltstack(uss_ptr ? (stack_t __user __force *)&uss : NULL, in compat_sys_sigaltstack()
Dsignal.c43 SYSCALL_DEFINE3(sigaltstack, const stack_t __user *, uss, in SYSCALL_DEFINE3() argument
46 return do_sigaltstack(uss, uoss, regs->sp); in SYSCALL_DEFINE3()
/linux-2.6.39/arch/s390/kernel/
Dcompat_signal.c260 sys32_sigaltstack(const stack_t32 __user *uss, stack_t32 __user *uoss) in sys32_sigaltstack() argument
268 if (uss) { in sys32_sigaltstack()
269 if (!access_ok(VERIFY_READ, uss, sizeof(*uss))) in sys32_sigaltstack()
271 err |= __get_user(ss_sp, &uss->ss_sp); in sys32_sigaltstack()
272 err |= __get_user(kss.ss_size, &uss->ss_size); in sys32_sigaltstack()
273 err |= __get_user(kss.ss_flags, &uss->ss_flags); in sys32_sigaltstack()
280 ret = do_sigaltstack((stack_t __force __user *) (uss ? &kss : NULL), in sys32_sigaltstack()
Dentry.h50 long sys_sigaltstack(const stack_t __user *uss, stack_t __user *uoss);
Dsignal.c105 SYSCALL_DEFINE2(sigaltstack, const stack_t __user *, uss, in SYSCALL_DEFINE2() argument
109 return do_sigaltstack(uss, uoss, regs->gprs[15]); in SYSCALL_DEFINE2()
/linux-2.6.39/drivers/s390/scsi/
Dzfcp_dbf.c120 rec->u.uss.status_type = srb->status_type; in zfcp_dbf_hba_fsf_uss()
121 rec->u.uss.status_subtype = srb->status_subtype; in zfcp_dbf_hba_fsf_uss()
122 rec->u.uss.d_id = ntoh24(srb->d_id); in zfcp_dbf_hba_fsf_uss()
123 rec->u.uss.lun = srb->fcp_lun; in zfcp_dbf_hba_fsf_uss()
124 memcpy(&rec->u.uss.queue_designator, &srb->queue_designator, in zfcp_dbf_hba_fsf_uss()
125 sizeof(rec->u.uss.queue_designator)); in zfcp_dbf_hba_fsf_uss()
Dzfcp_dbf.h180 struct zfcp_dbf_hba_uss uss; member
/linux-2.6.39/arch/x86/ia32/
Dia32_signal.c147 stack_t uss, uoss; in sys32_sigaltstack() local
154 memset(&uss, 0, sizeof(stack_t)); in sys32_sigaltstack()
160 get_user_ex(uss.ss_flags, &uss_ptr->ss_flags); in sys32_sigaltstack()
161 get_user_ex(uss.ss_size, &uss_ptr->ss_size); in sys32_sigaltstack()
166 uss.ss_sp = compat_ptr(ptr); in sys32_sigaltstack()
170 ret = do_sigaltstack(uss_ptr ? &uss : NULL, &uoss, regs->sp); in sys32_sigaltstack()
/linux-2.6.39/arch/mips/kernel/
Dsignal32.c377 const stack32_t __user *uss = (const stack32_t __user *) regs.regs[4]; in sys32_sigaltstack() local
385 if (uss) { in sys32_sigaltstack()
386 if (!access_ok(VERIFY_READ, uss, sizeof(*uss))) in sys32_sigaltstack()
388 err |= __get_user(sp, &uss->ss_sp); in sys32_sigaltstack()
390 err |= __get_user(kss.ss_size, &uss->ss_size); in sys32_sigaltstack()
391 err |= __get_user(kss.ss_flags, &uss->ss_flags); in sys32_sigaltstack()
397 ret = do_sigaltstack(uss ? (stack_t __user *)&kss : NULL, in sys32_sigaltstack()
/linux-2.6.39/arch/um/kernel/
Dsignal.c179 long sys_sigaltstack(const stack_t __user *uss, stack_t __user *uoss) in sys_sigaltstack() argument
181 return do_sigaltstack(uss, uoss, PT_REGS_SP(&current->thread.regs)); in sys_sigaltstack()
/linux-2.6.39/arch/powerpc/kernel/
Dsignal.c205 long sys_sigaltstack(const stack_t __user *uss, stack_t __user *uoss, in sys_sigaltstack() argument
209 return do_sigaltstack(uss, uoss, regs->gpr[1]); in sys_sigaltstack()
Dsignal_32.c786 stack_t uss, uoss; in compat_sys_sigaltstack() local
801 __get_user(uss.ss_flags, &newstack->ss_flags) || in compat_sys_sigaltstack()
802 __get_user(uss.ss_size, &newstack->ss_size)) in compat_sys_sigaltstack()
804 uss.ss_sp = compat_ptr(ss_sp); in compat_sys_sigaltstack()
811 newstack ? (stack_t __user *) &uss : NULL, in compat_sys_sigaltstack()
/linux-2.6.39/arch/powerpc/include/asm/
Dsyscalls.h43 asmlinkage long sys_sigaltstack(const stack_t __user *uss,
/linux-2.6.39/arch/sh/include/asm/
Dsyscalls_32.h31 asmlinkage int sys_sigaltstack(const stack_t __user *uss, stack_t __user *uoss,
/linux-2.6.39/arch/avr32/kernel/
Dsignal.c27 asmlinkage int sys_sigaltstack(const stack_t __user *uss, stack_t __user *uoss, in sys_sigaltstack() argument
30 return do_sigaltstack(uss, uoss, regs->sp); in sys_sigaltstack()
/linux-2.6.39/arch/sparc/kernel/
Dsignal32.c912 stack_t uss, uoss; in do_sys32_sigaltstack() local
920 __get_user(uss.ss_flags, &uss32->ss_flags) || in do_sys32_sigaltstack()
921 __get_user(uss.ss_size, &uss32->ss_size))) in do_sys32_sigaltstack()
923 uss.ss_sp = compat_ptr(u_ss_sp); in do_sys32_sigaltstack()
926 ret = do_sigaltstack(ussa ? (stack_t __user *) &uss : NULL, in do_sys32_sigaltstack()
/linux-2.6.39/arch/score/kernel/
Dsignal.c140 const stack_t __user *uss = (const stack_t __user *) regs->regs[4]; in score_sigaltstack() local
144 return do_sigaltstack(uss, uoss, usp); in score_sigaltstack()
/linux-2.6.39/arch/m32r/kernel/
Dsignal.c34 sys_sigaltstack(const stack_t __user *uss, stack_t __user *uoss, in sys_sigaltstack() argument
38 return do_sigaltstack(uss, uoss, regs->spu); in sys_sigaltstack()
/linux-2.6.39/arch/blackfin/kernel/
Dsignal.c43 asmlinkage int sys_sigaltstack(const stack_t __user *uss, stack_t __user *uoss) in sys_sigaltstack() argument
45 return do_sigaltstack(uss, uoss, rdusp()); in sys_sigaltstack()
/linux-2.6.39/arch/microblaze/kernel/
Dsignal.c48 sys_sigaltstack(const stack_t __user *uss, stack_t __user *uoss, in sys_sigaltstack() argument
51 return do_sigaltstack(uss, uoss, regs->r1); in sys_sigaltstack()
/linux-2.6.39/arch/cris/arch-v10/kernel/
Dsignal.c96 int sys_sigaltstack(const stack_t *uss, stack_t __user *uoss) in sys_sigaltstack() argument
98 return do_sigaltstack(uss, uoss, rdusp()); in sys_sigaltstack()
/linux-2.6.39/arch/xtensa/kernel/
Dsignal.c467 asmlinkage long xtensa_sigaltstack(const stack_t __user *uss, in xtensa_sigaltstack() argument
472 return do_sigaltstack(uss, uoss, regs->areg[1]); in xtensa_sigaltstack()
/linux-2.6.39/arch/cris/arch-v32/kernel/
Dsignal.c114 sys_sigaltstack(const stack_t __user *uss, stack_t __user *uoss) in sys_sigaltstack() argument
116 return do_sigaltstack(uss, uoss, rdusp()); in sys_sigaltstack()
/linux-2.6.39/arch/frv/kernel/
Dsignal.c89 int sys_sigaltstack(const stack_t __user *uss, stack_t __user *uoss) in sys_sigaltstack() argument
91 return do_sigaltstack(uss, uoss, __frame->sp); in sys_sigaltstack()
/linux-2.6.39/kernel/
Dsignal.c2571 do_sigaltstack (const stack_t __user *uss, stack_t __user *uoss, unsigned long sp) in do_sigaltstack() argument
2580 if (uss) { in do_sigaltstack()
2586 if (!access_ok(VERIFY_READ, uss, sizeof(*uss))) in do_sigaltstack()
2588 error = __get_user(ss_sp, &uss->ss_sp) | in do_sigaltstack()
2589 __get_user(ss_flags, &uss->ss_flags) | in do_sigaltstack()
2590 __get_user(ss_size, &uss->ss_size); in do_sigaltstack()

12