• Home
  • Raw
  • Download

Lines Matching refs:from

3345 int copy_siginfo_to_user(siginfo_t __user *to, const kernel_siginfo_t *from)  in copy_siginfo_to_user()  argument
3348 if (copy_to_user(to, from , sizeof(struct kernel_siginfo))) in copy_siginfo_to_user()
3356 const siginfo_t __user *from) in post_copy_siginfo_from_user() argument
3359 char __user *expansion = si_expansion(from); in post_copy_siginfo_from_user()
3379 const siginfo_t __user *from) in __copy_siginfo_from_user() argument
3381 if (copy_from_user(to, from, sizeof(struct kernel_siginfo))) in __copy_siginfo_from_user()
3384 return post_copy_siginfo_from_user(to, from); in __copy_siginfo_from_user()
3387 int copy_siginfo_from_user(kernel_siginfo_t *to, const siginfo_t __user *from) in copy_siginfo_from_user() argument
3389 if (copy_from_user(to, from, sizeof(struct kernel_siginfo))) in copy_siginfo_from_user()
3391 return post_copy_siginfo_from_user(to, from); in copy_siginfo_from_user()
3406 const struct kernel_siginfo *from) in copy_siginfo_to_external32() argument
3410 to->si_signo = from->si_signo; in copy_siginfo_to_external32()
3411 to->si_errno = from->si_errno; in copy_siginfo_to_external32()
3412 to->si_code = from->si_code; in copy_siginfo_to_external32()
3413 switch(siginfo_layout(from->si_signo, from->si_code)) { in copy_siginfo_to_external32()
3415 to->si_pid = from->si_pid; in copy_siginfo_to_external32()
3416 to->si_uid = from->si_uid; in copy_siginfo_to_external32()
3419 to->si_tid = from->si_tid; in copy_siginfo_to_external32()
3420 to->si_overrun = from->si_overrun; in copy_siginfo_to_external32()
3421 to->si_int = from->si_int; in copy_siginfo_to_external32()
3424 to->si_band = from->si_band; in copy_siginfo_to_external32()
3425 to->si_fd = from->si_fd; in copy_siginfo_to_external32()
3428 to->si_addr = ptr_to_compat(from->si_addr); in copy_siginfo_to_external32()
3431 to->si_addr = ptr_to_compat(from->si_addr); in copy_siginfo_to_external32()
3432 to->si_trapno = from->si_trapno; in copy_siginfo_to_external32()
3435 to->si_addr = ptr_to_compat(from->si_addr); in copy_siginfo_to_external32()
3436 to->si_addr_lsb = from->si_addr_lsb; in copy_siginfo_to_external32()
3439 to->si_addr = ptr_to_compat(from->si_addr); in copy_siginfo_to_external32()
3440 to->si_lower = ptr_to_compat(from->si_lower); in copy_siginfo_to_external32()
3441 to->si_upper = ptr_to_compat(from->si_upper); in copy_siginfo_to_external32()
3444 to->si_addr = ptr_to_compat(from->si_addr); in copy_siginfo_to_external32()
3445 to->si_pkey = from->si_pkey; in copy_siginfo_to_external32()
3448 to->si_addr = ptr_to_compat(from->si_addr); in copy_siginfo_to_external32()
3449 to->si_perf_data = from->si_perf_data; in copy_siginfo_to_external32()
3450 to->si_perf_type = from->si_perf_type; in copy_siginfo_to_external32()
3451 to->si_perf_flags = from->si_perf_flags; in copy_siginfo_to_external32()
3454 to->si_pid = from->si_pid; in copy_siginfo_to_external32()
3455 to->si_uid = from->si_uid; in copy_siginfo_to_external32()
3456 to->si_status = from->si_status; in copy_siginfo_to_external32()
3457 to->si_utime = from->si_utime; in copy_siginfo_to_external32()
3458 to->si_stime = from->si_stime; in copy_siginfo_to_external32()
3461 to->si_pid = from->si_pid; in copy_siginfo_to_external32()
3462 to->si_uid = from->si_uid; in copy_siginfo_to_external32()
3463 to->si_int = from->si_int; in copy_siginfo_to_external32()
3466 to->si_call_addr = ptr_to_compat(from->si_call_addr); in copy_siginfo_to_external32()
3467 to->si_syscall = from->si_syscall; in copy_siginfo_to_external32()
3468 to->si_arch = from->si_arch; in copy_siginfo_to_external32()
3474 const struct kernel_siginfo *from) in __copy_siginfo_to_user32() argument
3478 copy_siginfo_to_external32(&new, from); in __copy_siginfo_to_user32()
3485 const struct compat_siginfo *from) in post_copy_siginfo_from_user32() argument
3488 to->si_signo = from->si_signo; in post_copy_siginfo_from_user32()
3489 to->si_errno = from->si_errno; in post_copy_siginfo_from_user32()
3490 to->si_code = from->si_code; in post_copy_siginfo_from_user32()
3491 switch(siginfo_layout(from->si_signo, from->si_code)) { in post_copy_siginfo_from_user32()
3493 to->si_pid = from->si_pid; in post_copy_siginfo_from_user32()
3494 to->si_uid = from->si_uid; in post_copy_siginfo_from_user32()
3497 to->si_tid = from->si_tid; in post_copy_siginfo_from_user32()
3498 to->si_overrun = from->si_overrun; in post_copy_siginfo_from_user32()
3499 to->si_int = from->si_int; in post_copy_siginfo_from_user32()
3502 to->si_band = from->si_band; in post_copy_siginfo_from_user32()
3503 to->si_fd = from->si_fd; in post_copy_siginfo_from_user32()
3506 to->si_addr = compat_ptr(from->si_addr); in post_copy_siginfo_from_user32()
3509 to->si_addr = compat_ptr(from->si_addr); in post_copy_siginfo_from_user32()
3510 to->si_trapno = from->si_trapno; in post_copy_siginfo_from_user32()
3513 to->si_addr = compat_ptr(from->si_addr); in post_copy_siginfo_from_user32()
3514 to->si_addr_lsb = from->si_addr_lsb; in post_copy_siginfo_from_user32()
3517 to->si_addr = compat_ptr(from->si_addr); in post_copy_siginfo_from_user32()
3518 to->si_lower = compat_ptr(from->si_lower); in post_copy_siginfo_from_user32()
3519 to->si_upper = compat_ptr(from->si_upper); in post_copy_siginfo_from_user32()
3522 to->si_addr = compat_ptr(from->si_addr); in post_copy_siginfo_from_user32()
3523 to->si_pkey = from->si_pkey; in post_copy_siginfo_from_user32()
3526 to->si_addr = compat_ptr(from->si_addr); in post_copy_siginfo_from_user32()
3527 to->si_perf_data = from->si_perf_data; in post_copy_siginfo_from_user32()
3528 to->si_perf_type = from->si_perf_type; in post_copy_siginfo_from_user32()
3529 to->si_perf_flags = from->si_perf_flags; in post_copy_siginfo_from_user32()
3532 to->si_pid = from->si_pid; in post_copy_siginfo_from_user32()
3533 to->si_uid = from->si_uid; in post_copy_siginfo_from_user32()
3534 to->si_status = from->si_status; in post_copy_siginfo_from_user32()
3537 to->si_utime = from->_sifields._sigchld_x32._utime; in post_copy_siginfo_from_user32()
3538 to->si_stime = from->_sifields._sigchld_x32._stime; in post_copy_siginfo_from_user32()
3542 to->si_utime = from->si_utime; in post_copy_siginfo_from_user32()
3543 to->si_stime = from->si_stime; in post_copy_siginfo_from_user32()
3547 to->si_pid = from->si_pid; in post_copy_siginfo_from_user32()
3548 to->si_uid = from->si_uid; in post_copy_siginfo_from_user32()
3549 to->si_int = from->si_int; in post_copy_siginfo_from_user32()
3552 to->si_call_addr = compat_ptr(from->si_call_addr); in post_copy_siginfo_from_user32()
3553 to->si_syscall = from->si_syscall; in post_copy_siginfo_from_user32()
3554 to->si_arch = from->si_arch; in post_copy_siginfo_from_user32()
3563 struct compat_siginfo from; in __copy_siginfo_from_user32() local
3565 if (copy_from_user(&from, ufrom, sizeof(struct compat_siginfo))) in __copy_siginfo_from_user32()
3568 from.si_signo = signo; in __copy_siginfo_from_user32()
3569 return post_copy_siginfo_from_user32(to, &from); in __copy_siginfo_from_user32()
3575 struct compat_siginfo from; in copy_siginfo_from_user32() local
3577 if (copy_from_user(&from, ufrom, sizeof(struct compat_siginfo))) in copy_siginfo_from_user32()
3580 return post_copy_siginfo_from_user32(to, &from); in copy_siginfo_from_user32()