Lines Matching refs:err2

464 …int err2 = copy_to_user (&usp->sem_perm, &s.sem_perm, sizeof(struct ipc64_perm) + 2*sizeof(time_t)…  in do_sys32_semctl()  local
465 err2 |= __put_user (s.sem_nsems, &usp->sem_nsems); in do_sys32_semctl()
466 if (err2) err = -EFAULT; in do_sys32_semctl()
492 int err2 = put_user (s.sem_perm.key, &usp->sem_perm.key); in do_sys32_semctl() local
493 err2 |= __put_user (high2lowuid(s.sem_perm.uid), &usp->sem_perm.uid); in do_sys32_semctl()
494 err2 |= __put_user (high2lowgid(s.sem_perm.gid), &usp->sem_perm.gid); in do_sys32_semctl()
495 err2 |= __put_user (high2lowuid(s.sem_perm.cuid), &usp->sem_perm.cuid); in do_sys32_semctl()
496 err2 |= __put_user (high2lowgid(s.sem_perm.cgid), &usp->sem_perm.cgid); in do_sys32_semctl()
497 err2 |= __put_user (s.sem_perm.mode, &usp->sem_perm.mode); in do_sys32_semctl()
498 err2 |= __put_user (s.sem_perm.seq, &usp->sem_perm.seq); in do_sys32_semctl()
499 err2 |= __put_user (s.sem_otime, &usp->sem_otime); in do_sys32_semctl()
500 err2 |= __put_user (s.sem_ctime, &usp->sem_ctime); in do_sys32_semctl()
501 err2 |= __put_user (s.sem_nsems, &usp->sem_nsems); in do_sys32_semctl()
502 if (err2) err = -EFAULT; in do_sys32_semctl()
609 … int err2 = copy_to_user(&up->msg_perm, &m.msg_perm, sizeof(struct ipc64_perm) + 3*sizeof(time_t)); in do_sys32_msgctl() local
610 err2 |= __put_user (m.msg_cbytes, &up->msg_cbytes); in do_sys32_msgctl()
611 err2 |= __put_user (m.msg_qnum, &up->msg_qnum); in do_sys32_msgctl()
612 err2 |= __put_user (m.msg_qbytes, &up->msg_qbytes); in do_sys32_msgctl()
613 err2 |= __put_user (m.msg_lspid, &up->msg_lspid); in do_sys32_msgctl()
614 err2 |= __put_user (m.msg_lrpid, &up->msg_lrpid); in do_sys32_msgctl()
615 if (err2) in do_sys32_msgctl()
637 int err2 = put_user (m.msg_perm.key, &up->msg_perm.key); in do_sys32_msgctl() local
638 err2 |= __put_user (high2lowuid(m.msg_perm.uid), &up->msg_perm.uid); in do_sys32_msgctl()
639 err2 |= __put_user (high2lowgid(m.msg_perm.gid), &up->msg_perm.gid); in do_sys32_msgctl()
640 err2 |= __put_user (high2lowuid(m.msg_perm.cuid), &up->msg_perm.cuid); in do_sys32_msgctl()
641 err2 |= __put_user (high2lowgid(m.msg_perm.cgid), &up->msg_perm.cgid); in do_sys32_msgctl()
642 err2 |= __put_user (m.msg_perm.mode, &up->msg_perm.mode); in do_sys32_msgctl()
643 err2 |= __put_user (m.msg_perm.seq, &up->msg_perm.seq); in do_sys32_msgctl()
644 err2 |= __put_user (m.msg_stime, &up->msg_stime); in do_sys32_msgctl()
645 err2 |= __put_user (m.msg_rtime, &up->msg_rtime); in do_sys32_msgctl()
646 err2 |= __put_user (m.msg_ctime, &up->msg_ctime); in do_sys32_msgctl()
647 err2 |= __put_user (m.msg_cbytes, &up->msg_cbytes); in do_sys32_msgctl()
648 err2 |= __put_user (m.msg_qnum, &up->msg_qnum); in do_sys32_msgctl()
649 err2 |= __put_user (m.msg_qbytes, &up->msg_qbytes); in do_sys32_msgctl()
650 err2 |= __put_user (m.msg_lspid, &up->msg_lspid); in do_sys32_msgctl()
651 err2 |= __put_user (m.msg_lrpid, &up->msg_lrpid); in do_sys32_msgctl()
652 if (err2) in do_sys32_msgctl()
709 …int err2 = copy_to_user (&up->shm_perm, &s.shm_perm, sizeof(struct ipc64_perm) + 3*sizeof(time_t)); in do_sys32_shmctl() local
710 err2 |= __put_user (s.shm_segsz, &up->shm_segsz); in do_sys32_shmctl()
711 err2 |= __put_user (s.shm_nattch, &up->shm_nattch); in do_sys32_shmctl()
712 err2 |= __put_user (s.shm_cpid, &up->shm_cpid); in do_sys32_shmctl()
713 err2 |= __put_user (s.shm_lpid, &up->shm_lpid); in do_sys32_shmctl()
714 if (err2) in do_sys32_shmctl()
745 int err2 = put_user (kp->used_ids, &uip->used_ids); in do_sys32_shmctl() local
746 err2 |= __put_user (kp->shm_tot, &uip->shm_tot); in do_sys32_shmctl()
747 err2 |= __put_user (kp->shm_rss, &uip->shm_rss); in do_sys32_shmctl()
748 err2 |= __put_user (kp->shm_swp, &uip->shm_swp); in do_sys32_shmctl()
749 err2 |= __put_user (kp->swap_attempts, &uip->swap_attempts); in do_sys32_shmctl()
750 err2 |= __put_user (kp->swap_successes, &uip->swap_successes); in do_sys32_shmctl()
751 if (err2) in do_sys32_shmctl()
755 int err2 = put_user (s.shm_perm.key, &up->shm_perm.key); in do_sys32_shmctl() local
756 err2 |= __put_user (high2lowuid(s.shm_perm.uid), &up->shm_perm.uid); in do_sys32_shmctl()
757 err2 |= __put_user (high2lowuid(s.shm_perm.gid), &up->shm_perm.gid); in do_sys32_shmctl()
758 err2 |= __put_user (high2lowuid(s.shm_perm.cuid), &up->shm_perm.cuid); in do_sys32_shmctl()
759 err2 |= __put_user (high2lowuid(s.shm_perm.cgid), &up->shm_perm.cgid); in do_sys32_shmctl()
760 err2 |= __put_user (s.shm_perm.mode, &up->shm_perm.mode); in do_sys32_shmctl()
761 err2 |= __put_user (s.shm_perm.seq, &up->shm_perm.seq); in do_sys32_shmctl()
762 err2 |= __put_user (s.shm_atime, &up->shm_atime); in do_sys32_shmctl()
763 err2 |= __put_user (s.shm_dtime, &up->shm_dtime); in do_sys32_shmctl()
764 err2 |= __put_user (s.shm_ctime, &up->shm_ctime); in do_sys32_shmctl()
765 err2 |= __put_user (s.shm_segsz, &up->shm_segsz); in do_sys32_shmctl()
766 err2 |= __put_user (s.shm_nattch, &up->shm_nattch); in do_sys32_shmctl()
767 err2 |= __put_user (s.shm_cpid, &up->shm_cpid); in do_sys32_shmctl()
768 err2 |= __put_user (s.shm_lpid, &up->shm_lpid); in do_sys32_shmctl()
769 if (err2) in do_sys32_shmctl()