/arch/s390/kernel/ |
D | crash_dump.c | 63 struct save_area *sa; in save_area_alloc() local 65 sa = memblock_alloc(sizeof(*sa), 8); in save_area_alloc() 66 if (!sa) in save_area_alloc() 70 list_add(&sa->list, &dump_save_areas); in save_area_alloc() 72 list_add_tail(&sa->list, &dump_save_areas); in save_area_alloc() 73 return sa; in save_area_alloc() 87 void __init save_area_add_regs(struct save_area *sa, void *regs) in save_area_add_regs() argument 92 memcpy(&sa->psw, &lc->psw_save_area, sizeof(sa->psw)); in save_area_add_regs() 93 memcpy(&sa->ctrs, &lc->cregs_save_area, sizeof(sa->ctrs)); in save_area_add_regs() 94 memcpy(&sa->gprs, &lc->gpregs_save_area, sizeof(sa->gprs)); in save_area_add_regs() [all …]
|
D | signal.c | 280 if (ka->sa.sa_flags & SA_ONSTACK) { in get_sigframe() 336 if (ka->sa.sa_flags & SA_RESTORER) in setup_frame() 337 restorer = (unsigned long) ka->sa.sa_restorer; in setup_frame() 348 regs->psw.addr = (unsigned long) ka->sa.sa_handler; in setup_frame() 394 if (ksig->ka.sa.sa_flags & SA_RESTORER) in setup_rt_frame() 395 restorer = (unsigned long) ksig->ka.sa.sa_restorer; in setup_rt_frame() 422 regs->psw.addr = (unsigned long) ksig->ka.sa.sa_handler; in setup_rt_frame() 437 if (ksig->ka.sa.sa_flags & SA_SIGINFO) in handle_signal() 479 if (!(ksig.ka.sa.sa_flags & SA_RESTART)) { in arch_do_signal_or_restart()
|
D | compat_signal.c | 246 if (ka->sa.sa_flags & SA_ONSTACK) { in get_sigframe() 303 if (ksig->ka.sa.sa_flags & SA_RESTORER) { in setup_frame32() 305 ksig->ka.sa.sa_restorer | PSW32_ADDR_AMODE; in setup_frame32() 317 regs->psw.addr = (__force __u64) ksig->ka.sa.sa_handler; in setup_frame32() 366 if (ksig->ka.sa.sa_flags & SA_RESTORER) { in setup_rt_frame32() 368 ksig->ka.sa.sa_restorer | PSW32_ADDR_AMODE; in setup_rt_frame32() 396 regs->psw.addr = (__u64 __force) ksig->ka.sa.sa_handler; in setup_rt_frame32() 415 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);
|
D | signal.c | 607 err |= __get_user(new_ka.sa.sa_handler, &act->sa_handler); in SYSCALL_DEFINE3() 608 err |= __get_user(new_ka.sa.sa_flags, &act->sa_flags); in SYSCALL_DEFINE3() 613 siginitset(&new_ka.sa.sa_mask, mask); in SYSCALL_DEFINE3() 621 err |= __put_user(old_ka.sa.sa_flags, &oact->sa_flags); in SYSCALL_DEFINE3() 622 err |= __put_user(old_ka.sa.sa_handler, &oact->sa_handler); in SYSCALL_DEFINE3() 623 err |= __put_user(old_ka.sa.sa_mask.sig[0], oact->sa_mask.sig); in SYSCALL_DEFINE3() 743 regs->cp0_epc = regs->regs[25] = (unsigned long) ksig->ka.sa.sa_handler; in setup_frame() 792 regs->cp0_epc = regs->regs[25] = (unsigned long) ksig->ka.sa.sa_handler; in setup_rt_frame() 837 if (!(ksig->ka.sa.sa_flags & SA_RESTART)) { in handle_signal()
|
/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 | 48 ksig->ka.sa.sa_flags & SA_IA32_ABI; in is_ia32_compat_frame() 59 ksig->ka.sa.sa_flags & SA_X32_ABI; in is_x32_frame() 92 if (ka->sa.sa_flags & SA_ONSTACK) { in get_sigframe() 105 !(ka->sa.sa_flags & SA_RESTORER) && in get_sigframe() 106 ka->sa.sa_restorer) { in get_sigframe() 108 sp = (unsigned long) ka->sa.sa_restorer; in get_sigframe() 215 if (ksig->ka.sa.sa_flags & SA_SIGINFO) in setup_rt_frame() 245 if (!(ksig->ka.sa.sa_flags & SA_RESTART)) { in handle_signal()
|
D | signal_64.c | 172 if (!(ksig->ka.sa.sa_flags & SA_RESTORER)) in x64_setup_rt_frame() 188 unsafe_put_user(ksig->ka.sa.sa_restorer, &frame->pretcode, Efault); in x64_setup_rt_frame() 193 if (ksig->ka.sa.sa_flags & SA_SIGINFO) { in x64_setup_rt_frame() 210 regs->ip = (unsigned long) ksig->ka.sa.sa_handler; in x64_setup_rt_frame() 311 if (!(ksig->ka.sa.sa_flags & SA_RESTORER)) in x32_setup_rt_frame() 326 restorer = ksig->ka.sa.sa_restorer; in x32_setup_rt_frame() 332 if (ksig->ka.sa.sa_flags & SA_SIGINFO) { in x32_setup_rt_frame() 339 regs->ip = (unsigned long) ksig->ka.sa.sa_handler; in x32_setup_rt_frame() 398 act->sa.sa_flags |= SA_IA32_ABI; in sigaction_compat_abi() 400 act->sa.sa_flags |= SA_X32_ABI; in sigaction_compat_abi()
|
/arch/sparc/kernel/ |
D | sys_sparc32.c | 166 new_ka.sa.sa_handler = compat_ptr(u_handler); in COMPAT_SYSCALL_DEFINE5() 167 ret |= get_compat_sigset(&new_ka.sa.sa_mask, &act->sa_mask); in COMPAT_SYSCALL_DEFINE5() 168 ret |= get_user(new_ka.sa.sa_flags, &act->sa_flags); in COMPAT_SYSCALL_DEFINE5() 170 new_ka.sa.sa_restorer = compat_ptr(u_restorer); in COMPAT_SYSCALL_DEFINE5() 178 ret = put_user(ptr_to_compat(old_ka.sa.sa_handler), &oact->sa_handler); in COMPAT_SYSCALL_DEFINE5() 179 ret |= put_compat_sigset(&oact->sa_mask, &old_ka.sa.sa_mask, in COMPAT_SYSCALL_DEFINE5() 181 ret |= put_user(old_ka.sa.sa_flags, &oact->sa_flags); in COMPAT_SYSCALL_DEFINE5() 182 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 | 256 if (ka->sa.sa_flags & SA_ONSTACK) { in get_sigframe() 288 if (ksig->ka.sa.sa_flags & SA_RESTORER) { in setup_frame() 289 regs->pr = (unsigned long) ksig->ka.sa.sa_restorer; in setup_frame() 319 (struct fdpic_func_descriptor __user *)ksig->ka.sa.sa_handler; in setup_frame() 324 regs->pc = (unsigned long)ksig->ka.sa.sa_handler; in setup_frame() 358 if (ksig->ka.sa.sa_flags & SA_RESTORER) { in setup_rt_frame() 359 regs->pr = (unsigned long) ksig->ka.sa.sa_restorer; in setup_rt_frame() 389 (struct fdpic_func_descriptor __user *)ksig->ka.sa.sa_handler; in setup_rt_frame() 394 regs->pc = (unsigned long)ksig->ka.sa.sa_handler; in setup_rt_frame() 407 struct sigaction *sa) in handle_syscall_restart() argument [all …]
|
/arch/mips/include/asm/ |
D | pgtable-bits.h | 218 int sa; in pte_to_entrylo() local 220 sa = 31 - _PAGE_NO_READ_SHIFT; in pte_to_entrylo() 222 sa = 63 - _PAGE_NO_READ_SHIFT; in pte_to_entrylo() 230 ((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/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() 360 regs->r27 = regs->pc = (unsigned long) ksig->ka.sa.sa_handler; in setup_frame() 414 regs->r27 = regs->pc = (unsigned long) ksig->ka.sa.sa_handler; in setup_rt_frame() [all …]
|
/arch/powerpc/platforms/4xx/ |
D | pci.c | 301 u32 sa; in ppc4xx_configure_pci_PTMs() local 304 sa = (0xffffffffu << ilog2(size)) | 1; in ppc4xx_configure_pci_PTMs() 305 sa |= 0x1; in ppc4xx_configure_pci_PTMs() 309 writel(sa, reg + PCIL0_PTM1MS); in ppc4xx_configure_pci_PTMs() 418 u32 lah, lal, pciah, pcial, sa; in ppc4xx_setup_one_pcix_POM() local 432 sa = (0xffffffffu << ilog2(size)) | 0x1; in ppc4xx_setup_one_pcix_POM() 440 writel(sa, reg + PCIX0_POM0SA); in ppc4xx_setup_one_pcix_POM() 446 writel(sa, reg + PCIX0_POM1SA); in ppc4xx_setup_one_pcix_POM() 502 u32 sa; in ppc4xx_configure_pcix_PIMs() local 509 sa = (0xffffffffu << ilog2(size)) | 1; in ppc4xx_configure_pcix_PIMs() [all …]
|
/arch/xtensa/kernel/ |
D | signal.c | 348 unsigned long handler = (unsigned long)ksig->ka.sa.sa_handler; in setup_frame() 364 if ((ksig->ka.sa.sa_flags & SA_ONSTACK) != 0 && sas_ss_flags(sp) == 0) { in setup_frame() 377 if (ksig->ka.sa.sa_flags & SA_SIGINFO) { in setup_frame() 389 if (ksig->ka.sa.sa_flags & SA_RESTORER) { in setup_frame() 392 (unsigned long __user *)ksig->ka.sa.sa_restorer; in setup_frame() 396 ra = (unsigned long)ksig->ka.sa.sa_restorer; in setup_frame() 475 if (!(ksig.ka.sa.sa_flags & SA_RESTART)) { in do_signal()
|
/arch/x86/um/ |
D | signal.c | 375 if (ksig->ka.sa.sa_flags & SA_RESTORER) in setup_signal_stack_sc() 376 restorer = ksig->ka.sa.sa_restorer; in setup_signal_stack_sc() 400 PT_REGS_IP(regs) = (unsigned long) ksig->ka.sa.sa_handler; in setup_signal_stack_sc() 420 if (ksig->ka.sa.sa_flags & SA_RESTORER) in setup_signal_stack_si() 421 restorer = ksig->ka.sa.sa_restorer; in setup_signal_stack_si() 446 PT_REGS_IP(regs) = (unsigned long) ksig->ka.sa.sa_handler; in setup_signal_stack_si() 504 if (ksig->ka.sa.sa_flags & SA_SIGINFO) { in setup_signal_stack_si() 533 if (ksig->ka.sa.sa_flags & SA_RESTORER) in setup_signal_stack_si() 534 err |= __put_user((void *)ksig->ka.sa.sa_restorer, in setup_signal_stack_si() 554 PT_REGS_IP(regs) = (unsigned long) ksig->ka.sa.sa_handler; in setup_signal_stack_si()
|
/arch/parisc/include/asm/ |
D | assembly.h | 135 .macro shlw r, sa, t 136 zdep \r, 31-(\sa), 32-(\sa), \t 140 .macro shld r, sa, t 141 depd,z \r, 63-(\sa), 64-(\sa), \t 145 .macro shr r, sa, t 146 extru \r, 31-(\sa), 32-(\sa), \t 150 .macro shrd r, sa, t 151 extrd,u \r, 63-(\sa), 64-(\sa), \t
|
/arch/arm/kernel/ |
D | signal.c | 324 unsigned long handler = (unsigned long)ksig->ka.sa.sa_handler; in setup_return() 345 if (ksig->ka.sa.sa_flags & SA_THIRTYTWO) in setup_return() 376 if (ksig->ka.sa.sa_flags & SA_RESTORER) { in setup_return() 377 retcode = (unsigned long)ksig->ka.sa.sa_restorer; in setup_return() 387 if (ksig->ka.sa.sa_flags & SA_SIGINFO) in setup_return() 398 if (ksig->ka.sa.sa_flags & SA_SIGINFO) in setup_return() 515 if (ksig->ka.sa.sa_flags & SA_SIGINFO) in handle_signal() 584 && !(ksig.ka.sa.sa_flags & SA_RESTART))) { in do_signal()
|
/arch/arc/kernel/ |
D | signal.c | 295 if (unlikely(ksig->ka.sa.sa_flags & SA_SIGINFO)) { in setup_rt_frame() 320 regs->ret = (unsigned long)ksig->ka.sa.sa_handler; in setup_rt_frame() 326 if(!(ksig->ka.sa.sa_flags & SA_RESTORER)) in setup_rt_frame() 329 regs->blink = (unsigned long)ksig->ka.sa.sa_restorer; in setup_rt_frame() 364 if (!(ka->sa.sa_flags & SA_RESTART)) { in arc_restart_syscall()
|
/arch/um/os-Linux/skas/ |
D | process.c | 274 struct sigaction sa; in userspace_tramp() local 281 sigemptyset(&sa.sa_mask); in userspace_tramp() 282 sa.sa_flags = SA_ONSTACK | SA_NODEFER | SA_SIGINFO; in userspace_tramp() 283 sa.sa_sigaction = (void *) v; in userspace_tramp() 284 sa.sa_restorer = NULL; in userspace_tramp() 285 if (sigaction(SIGSEGV, &sa, NULL) < 0) { in userspace_tramp()
|
/arch/m68k/fpsp040/ |
D | smovecr.S | 2 | smovecr.sa 3.1 12/10/90
|