• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/arch/ia64/kernel/

Lines Matching defs:to

117 copy_siginfo_to_user (siginfo_t __user *to, siginfo_t *from)
119 if (!access_ok(VERIFY_WRITE, to, sizeof(siginfo_t)))
122 if (__copy_to_user(to, from, sizeof(siginfo_t)))
131 * to avoid security leaks, but must copy the generic 3 ints plus the
134 err = __put_user(from->si_signo, &to->si_signo);
135 err |= __put_user(from->si_errno, &to->si_errno);
136 err |= __put_user((short)from->si_code, &to->si_code);
139 err |= __put_user(from->si_flags, &to->si_flags);
140 err |= __put_user(from->si_isr, &to->si_isr);
142 err |= __put_user(from->si_addr, &to->si_addr);
143 err |= __put_user(from->si_imm, &to->si_imm);
146 err |= __put_user(from->si_tid, &to->si_tid);
147 err |= __put_user(from->si_overrun, &to->si_overrun);
148 err |= __put_user(from->si_ptr, &to->si_ptr);
152 err |= __put_user(from->si_uid, &to->si_uid);
153 err |= __put_user(from->si_pid, &to->si_pid);
154 err |= __put_user(from->si_ptr, &to->si_ptr);
157 err |= __put_user(from->si_utime, &to->si_utime);
158 err |= __put_user(from->si_stime, &to->si_stime);
159 err |= __put_user(from->si_status, &to->si_status);
161 err |= __put_user(from->si_uid, &to->si_uid);
162 err |= __put_user(from->si_pid, &to->si_pid);
181 * When we return to the previously executing context, r8 and r10 have already
190 * strace expects to be notified after sigreturn returns even though the
191 * context to which we return may not be in the middle of a syscall.
220 * It is more difficult to avoid calling this function than to
292 /* Copy scratch regs to sigcontext if the signal didn't interrupt a syscall. */
323 * here than having to debug a nasty race if and when
325 * no longer safe to modify sa_handler without holding the
356 * We need to check for the register stack being on the signal stack
372 err |= __put_user(0, &frame->sc.sc_loadrs); /* initialize to zero */
391 * Force the interruption function mask to zero. This has no effect when a
393 * ignored), but it has the desirable effect of making it possible to deliver a
418 /* send signal to IA-32 process */
422 /* send signal to IA-64 process */
436 * Note that `init' is a special process: it doesn't get signals it doesn't want to
450 * In the ia64_leave_kernel code path, we want the common case to go fast, which
464 * need to push through a forced SIGSEGV.
471 * and the debugger may have modified the state (e.g., to arrange for an
472 * inferior call), thus it's important to check for restarting _after_
484 * A system calls has to be restarted only if one of the error codes
486 * isn't -1 then r8 doesn't hold an error code and we don't need to
519 * Whee! Actually deliver the signal. If the delivery failed, we need to
520 * continue to iterate in this loop so we can deliver the SIGSEGV...
547 * pt_regs so all we need to do here is adjust ip so that
557 /* if there's no signal to deliver, we just put the saved sigmask