/arch/s390/kernel/ |
D | crash_dump.c | 61 struct save_area *sa; in save_area_alloc() local 63 sa = (void *) memblock_phys_alloc(sizeof(*sa), 8); in save_area_alloc() 64 if (!sa) in save_area_alloc() 68 list_add(&sa->list, &dump_save_areas); in save_area_alloc() 70 list_add_tail(&sa->list, &dump_save_areas); in save_area_alloc() 71 return sa; in save_area_alloc() 85 void __init save_area_add_regs(struct save_area *sa, void *regs) in save_area_add_regs() argument 90 memcpy(&sa->psw, &lc->psw_save_area, sizeof(sa->psw)); in save_area_add_regs() 91 memcpy(&sa->ctrs, &lc->cregs_save_area, sizeof(sa->ctrs)); in save_area_add_regs() 92 memcpy(&sa->gprs, &lc->gpregs_save_area, sizeof(sa->gprs)); in save_area_add_regs() [all …]
|
D | signal.c | 279 if (ka->sa.sa_flags & SA_ONSTACK) { in get_sigframe() 335 if (ka->sa.sa_flags & SA_RESTORER) { in setup_frame() 336 restorer = (unsigned long) ka->sa.sa_restorer; in setup_frame() 352 regs->psw.addr = (unsigned long) ka->sa.sa_handler; in setup_frame() 398 if (ksig->ka.sa.sa_flags & SA_RESTORER) { in setup_rt_frame() 399 restorer = (unsigned long) ksig->ka.sa.sa_restorer; in setup_rt_frame() 430 regs->psw.addr = (unsigned long) ksig->ka.sa.sa_handler; in setup_rt_frame() 445 if (ksig->ka.sa.sa_flags & SA_SIGINFO) in handle_signal() 486 if (!(ksig.ka.sa.sa_flags & SA_RESTART)) { in do_signal()
|
D | compat_signal.c | 245 if (ka->sa.sa_flags & SA_ONSTACK) { in get_sigframe() 302 if (ksig->ka.sa.sa_flags & SA_RESTORER) { in setup_frame32() 304 ksig->ka.sa.sa_restorer | PSW32_ADDR_AMODE; in setup_frame32() 320 regs->psw.addr = (__force __u64) ksig->ka.sa.sa_handler; in setup_frame32() 369 if (ksig->ka.sa.sa_flags & SA_RESTORER) { in setup_rt_frame32() 371 ksig->ka.sa.sa_restorer | PSW32_ADDR_AMODE; in setup_rt_frame32() 402 regs->psw.addr = (__u64 __force) ksig->ka.sa.sa_handler; in setup_rt_frame32() 421 if (ksig->ka.sa.sa_flags & SA_SIGINFO) in handle_signal32()
|
/arch/m68k/ifpsp060/ |
D | README | 32 fpsp.sa Full FP Kernel Module - hex image 36 pfpsp.sa Partial FP Kernel Module - hex image 39 fplsp.sa FP Library Module - hex image 43 isp.sa Integer Unimplemented Kernel Module - hex image 47 ilsp.sa Integer Unimplemented Library Module - hex image 51 fskeleton.s Sample Call-outs needed by fpsp.sa and pfpsp.sa 53 iskeleton.s Sample Call-outs needed by isp.sa 55 os.s Sample Call-outs needed by fpsp.sa, pfpsp.sa, and isp.sa 57 ftest.sa Simple test program to test that {p}fpsp.sa 61 itest.sa Simple test program to test that isp.sa was [all …]
|
D | TEST.DOC | 32 The files itest.sa and ftest.sa contain simple tests to check 37 The release files itest.sa and ftest.sa are essentially 75 is NOT INCLUDED in {i,f}test.sa (an example "Call-out" section is provided at 84 sit adjacent to the {i,f}test.sa image in memory. Since itest.sa and ftest.sa 88 to access the test routines. Since the {i,f}test.sa hex files contain 96 itest.sa data and execute something similar to: 171 Again, itest.sa and ftest.sa are simple tests and do not thoroughly 201 # ftest.sa starts here; start of "Entry-point" section.
|
D | MISC | 32 fpsp.sa 102 pfpsp.sa 147 fplsp.sa 170 isp.sa 185 ilsp.sa
|
/arch/mips/kernel/ |
D | signal32.c | 52 new_ka.sa.sa_handler = (void __user *)(s64)handler; 53 err |= __get_user(new_ka.sa.sa_flags, &act->sa_flags); 58 siginitset(&new_ka.sa.sa_mask, mask); 66 err |= __put_user(old_ka.sa.sa_flags, &oact->sa_flags); 67 err |= __put_user((u32)(u64)old_ka.sa.sa_handler, 69 err |= __put_user(old_ka.sa.sa_mask.sig[0], oact->sa_mask.sig);
|
/arch/x86/um/os-Linux/ |
D | task_size.c | 70 struct sigaction sa, old; in os_get_top_address() local 90 sa.sa_handler = segfault; in os_get_top_address() 91 sigemptyset(&sa.sa_mask); in os_get_top_address() 92 sa.sa_flags = SA_NODEFER; in os_get_top_address() 93 if (sigaction(SIGSEGV, &sa, &old)) { in os_get_top_address()
|
/arch/x86/kernel/ |
D | signal.c | 255 if (ka->sa.sa_flags & SA_ONSTACK) { in get_sigframe() 261 !(ka->sa.sa_flags & SA_RESTORER) && in get_sigframe() 262 ka->sa.sa_restorer) { in get_sigframe() 264 sp = (unsigned long) ka->sa.sa_restorer; in get_sigframe() 342 if (ksig->ka.sa.sa_flags & SA_RESTORER) in __setup_frame() 343 restorer = ksig->ka.sa.sa_restorer; in __setup_frame() 362 regs->ip = (unsigned long)ksig->ka.sa.sa_handler; in __setup_frame() 404 if (ksig->ka.sa.sa_flags & SA_RESTORER) in __setup_rt_frame() 405 restorer = ksig->ka.sa.sa_restorer; in __setup_rt_frame() 428 regs->ip = (unsigned long)ksig->ka.sa.sa_handler; in __setup_rt_frame() [all …]
|
D | signal_compat.c | 170 oact->sa.sa_flags &= ~(SA_IA32_ABI | SA_X32_ABI); in sigaction_compat_abi() 176 act->sa.sa_flags &= ~(SA_IA32_ABI | SA_X32_ABI); in sigaction_compat_abi() 179 act->sa.sa_flags |= SA_IA32_ABI; in sigaction_compat_abi() 181 act->sa.sa_flags |= SA_X32_ABI; in sigaction_compat_abi()
|
/arch/mips/include/asm/ |
D | pgtable-bits.h | 202 int sa; in pte_to_entrylo() local 204 sa = 31 - _PAGE_NO_READ_SHIFT; in pte_to_entrylo() 206 sa = 63 - _PAGE_NO_READ_SHIFT; in pte_to_entrylo() 214 ((pte_val & (_PAGE_NO_EXEC | _PAGE_NO_READ)) << sa); in pte_to_entrylo()
|
D | signal.h | 19 ((ka)->sa.sa_flags & SA_SIGINFO)) 24 ((ka)->sa.sa_flags & SA_SIGINFO) : 1) )
|
/arch/sparc/kernel/ |
D | sys_sparc32.c | 167 new_ka.sa.sa_handler = compat_ptr(u_handler); in COMPAT_SYSCALL_DEFINE5() 168 ret |= get_compat_sigset(&new_ka.sa.sa_mask, &act->sa_mask); in COMPAT_SYSCALL_DEFINE5() 169 ret |= get_user(new_ka.sa.sa_flags, &act->sa_flags); in COMPAT_SYSCALL_DEFINE5() 171 new_ka.sa.sa_restorer = compat_ptr(u_restorer); in COMPAT_SYSCALL_DEFINE5() 179 ret = put_user(ptr_to_compat(old_ka.sa.sa_handler), &oact->sa_handler); in COMPAT_SYSCALL_DEFINE5() 180 ret |= put_compat_sigset(&oact->sa_mask, &old_ka.sa.sa_mask, in COMPAT_SYSCALL_DEFINE5() 182 ret |= put_user(old_ka.sa.sa_flags, &oact->sa_flags); in COMPAT_SYSCALL_DEFINE5() 183 ret |= put_user(ptr_to_compat(old_ka.sa.sa_restorer), &oact->sa_restorer); in COMPAT_SYSCALL_DEFINE5()
|
/arch/sh/kernel/ |
D | signal_32.c | 254 if (ka->sa.sa_flags & SA_ONSTACK) { in get_sigframe() 286 if (ksig->ka.sa.sa_flags & SA_RESTORER) { in setup_frame() 287 regs->pr = (unsigned long) ksig->ka.sa.sa_restorer; in setup_frame() 317 (struct fdpic_func_descriptor __user *)ksig->ka.sa.sa_handler; in setup_frame() 322 regs->pc = (unsigned long)ksig->ka.sa.sa_handler; in setup_frame() 356 if (ksig->ka.sa.sa_flags & SA_RESTORER) { in setup_rt_frame() 357 regs->pr = (unsigned long) ksig->ka.sa.sa_restorer; in setup_rt_frame() 387 (struct fdpic_func_descriptor __user *)ksig->ka.sa.sa_handler; in setup_rt_frame() 392 regs->pc = (unsigned long)ksig->ka.sa.sa_handler; in setup_rt_frame() 405 struct sigaction *sa) in handle_syscall_restart() argument [all …]
|
D | signal_64.c | 44 handle_syscall_restart(struct pt_regs *regs, struct sigaction *sa) in handle_syscall_restart() argument 59 if (!(sa->sa_flags & SA_RESTART)) in handle_syscall_restart() 93 handle_syscall_restart(regs, &ksig.ka.sa); in do_signal() 365 if ((ka->sa.sa_flags & SA_ONSTACK) != 0 && ! sas_ss_flags(sp)) in get_sigframe() 401 if (ksig->ka.sa.sa_flags & SA_RESTORER) { in setup_frame() 406 ksig->ka->sa.sa_restorer | 0x1); in setup_frame() 449 regs->pc = neff_sign_extend((unsigned long)ksig->ka.sa.sa_handler); in setup_frame() 493 if (ksig->ka.sa.sa_flags & SA_RESTORER) { in setup_rt_frame() 498 ksig->ka.sa.sa_restorer | 0x1); in setup_rt_frame() 530 regs->pc = neff_sign_extend((unsigned long)ksig->ka.sa.sa_handler); in setup_rt_frame() [all …]
|
/arch/x86/ia32/ |
D | ia32_signal.c | 231 if (ksig->ka.sa.sa_flags & SA_ONSTACK) in get_sigframe() 235 !(ksig->ka.sa.sa_flags & SA_RESTORER) && in get_sigframe() 236 ksig->ka.sa.sa_restorer) in get_sigframe() 237 sp = (unsigned long) ksig->ka.sa.sa_restorer; in get_sigframe() 288 if (ksig->ka.sa.sa_flags & SA_RESTORER) { in ia32_setup_frame() 289 restorer = ksig->ka.sa.sa_restorer; in ia32_setup_frame() 314 regs->ip = (unsigned long) ksig->ka.sa.sa_handler; in ia32_setup_frame() 369 if (ksig->ka.sa.sa_flags & SA_RESTORER) in ia32_setup_rt_frame() 370 restorer = ksig->ka.sa.sa_restorer; in ia32_setup_rt_frame() 393 regs->ip = (unsigned long) ksig->ka.sa.sa_handler; in ia32_setup_rt_frame()
|
/arch/um/kernel/ |
D | signal.c | 69 if (!(ksig->ka.sa.sa_flags & SA_RESTART)) { in handle_signal() 82 if ((ksig->ka.sa.sa_flags & SA_ONSTACK) && (sas_ss_flags(sp) == 0)) in handle_signal() 86 if (!(ksig->ka.sa.sa_flags & SA_SIGINFO)) in handle_signal()
|
/arch/alpha/kernel/ |
D | signal.c | 69 __get_user(new_ka.sa.sa_handler, &act->sa_handler) || in SYSCALL_DEFINE3() 70 __get_user(new_ka.sa.sa_flags, &act->sa_flags) || in SYSCALL_DEFINE3() 73 siginitset(&new_ka.sa.sa_mask, mask); in SYSCALL_DEFINE3() 81 __put_user(old_ka.sa.sa_handler, &oact->sa_handler) || in SYSCALL_DEFINE3() 82 __put_user(old_ka.sa.sa_flags, &oact->sa_flags) || in SYSCALL_DEFINE3() 83 __put_user(old_ka.sa.sa_mask.sig[0], &oact->sa_mask)) in SYSCALL_DEFINE3() 103 if (copy_from_user(&new_ka.sa, act, sizeof(*act))) in SYSCALL_DEFINE5() 110 if (copy_to_user(oact, &old_ka.sa, sizeof(*oact))) in SYSCALL_DEFINE5() 359 regs->r27 = regs->pc = (unsigned long) ksig->ka.sa.sa_handler; in setup_frame() 413 regs->r27 = regs->pc = (unsigned long) ksig->ka.sa.sa_handler; in setup_rt_frame() [all …]
|
/arch/powerpc/platforms/4xx/ |
D | pci.c | 300 u32 sa; in ppc4xx_configure_pci_PTMs() local 303 sa = (0xffffffffu << ilog2(size)) | 1; in ppc4xx_configure_pci_PTMs() 304 sa |= 0x1; in ppc4xx_configure_pci_PTMs() 308 writel(sa, reg + PCIL0_PTM1MS); in ppc4xx_configure_pci_PTMs() 417 u32 lah, lal, pciah, pcial, sa; in ppc4xx_setup_one_pcix_POM() local 431 sa = (0xffffffffu << ilog2(size)) | 0x1; in ppc4xx_setup_one_pcix_POM() 439 writel(sa, reg + PCIX0_POM0SA); in ppc4xx_setup_one_pcix_POM() 445 writel(sa, reg + PCIX0_POM1SA); in ppc4xx_setup_one_pcix_POM() 501 u32 sa; in ppc4xx_configure_pcix_PIMs() local 508 sa = (0xffffffffu << ilog2(size)) | 1; in ppc4xx_configure_pcix_PIMs() [all …]
|
/arch/h8300/kernel/ |
D | signal.c | 171 if (ksig->ka.sa.sa_flags & SA_SIGINFO) in setup_rt_frame() 185 if (ksig->ka.sa.sa_flags & SA_RESTORER) in setup_rt_frame() 186 ret = (unsigned char *)(ksig->ka.sa.sa_restorer); in setup_rt_frame() 201 regs->pc = (unsigned long)ksig->ka.sa.sa_handler; in setup_rt_frame() 227 if (!(ka->sa.sa_flags & SA_RESTART)) { in handle_restart()
|
/arch/parisc/include/asm/ |
D | assembly.h | 119 .macro shlw r, sa, t 120 zdep \r, 31-(\sa), 32-(\sa), \t 124 .macro shld r, sa, t 125 depd,z \r, 63-(\sa), 64-(\sa), \t 129 .macro shr r, sa, t 130 extru \r, 31-(\sa), 32-(\sa), \t 134 .macro shrd r, sa, t 135 extrd,u \r, 63-(\sa), 64-(\sa), \t
|
/arch/x86/um/ |
D | signal.c | 374 if (ksig->ka.sa.sa_flags & SA_RESTORER) in setup_signal_stack_sc() 375 restorer = ksig->ka.sa.sa_restorer; in setup_signal_stack_sc() 399 PT_REGS_IP(regs) = (unsigned long) ksig->ka.sa.sa_handler; in setup_signal_stack_sc() 419 if (ksig->ka.sa.sa_flags & SA_RESTORER) in setup_signal_stack_si() 420 restorer = ksig->ka.sa.sa_restorer; in setup_signal_stack_si() 445 PT_REGS_IP(regs) = (unsigned long) ksig->ka.sa.sa_handler; in setup_signal_stack_si() 503 if (ksig->ka.sa.sa_flags & SA_SIGINFO) { in setup_signal_stack_si() 532 if (ksig->ka.sa.sa_flags & SA_RESTORER) in setup_signal_stack_si() 533 err |= __put_user((void *)ksig->ka.sa.sa_restorer, in setup_signal_stack_si() 553 PT_REGS_IP(regs) = (unsigned long) ksig->ka.sa.sa_handler; in setup_signal_stack_si()
|
/arch/arm/kernel/ |
D | signal.c | 365 unsigned long handler = (unsigned long)ksig->ka.sa.sa_handler; in setup_return() 386 if (ksig->ka.sa.sa_flags & SA_THIRTYTWO) in setup_return() 417 if (ksig->ka.sa.sa_flags & SA_RESTORER) { in setup_return() 418 retcode = (unsigned long)ksig->ka.sa.sa_restorer; in setup_return() 428 if (ksig->ka.sa.sa_flags & SA_SIGINFO) in setup_return() 439 if (ksig->ka.sa.sa_flags & SA_SIGINFO) in setup_return() 556 if (ksig->ka.sa.sa_flags & SA_SIGINFO) in handle_signal() 625 && !(ksig.ka.sa.sa_flags & SA_RESTART))) { in do_signal()
|
/arch/xtensa/kernel/ |
D | signal.c | 343 if ((ksig->ka.sa.sa_flags & SA_ONSTACK) != 0 && sas_ss_flags(sp) == 0) { in setup_frame() 356 if (ksig->ka.sa.sa_flags & SA_SIGINFO) { in setup_frame() 368 if (ksig->ka.sa.sa_flags & SA_RESTORER) { in setup_frame() 369 ra = (unsigned long)ksig->ka.sa.sa_restorer; in setup_frame() 390 start_thread(regs, (unsigned long) ksig->ka.sa.sa_handler, in setup_frame() 447 if (!(ksig.ka.sa.sa_flags & SA_RESTART)) { in do_signal()
|
/arch/arc/kernel/ |
D | signal.c | 251 if (unlikely(ksig->ka.sa.sa_flags & SA_SIGINFO)) { in setup_rt_frame() 276 regs->ret = (unsigned long)ksig->ka.sa.sa_handler; in setup_rt_frame() 282 if(!(ksig->ka.sa.sa_flags & SA_RESTORER)) in setup_rt_frame() 285 regs->blink = (unsigned long)ksig->ka.sa.sa_restorer; in setup_rt_frame() 320 if (!(ka->sa.sa_flags & SA_RESTART)) { in arc_restart_syscall()
|