Lines Matching refs:err2

2209 	int err = 0, err2;  in semctl32()  local
2256 err2 = __put_user(s.sem_perm.key, &usp64->sem_perm.key); in semctl32()
2257 err2 |= __put_user(s.sem_perm.uid, &usp64->sem_perm.uid); in semctl32()
2258 err2 |= __put_user(s.sem_perm.gid, &usp64->sem_perm.gid); in semctl32()
2259 err2 |= __put_user(s.sem_perm.cuid, &usp64->sem_perm.cuid); in semctl32()
2260 err2 |= __put_user(s.sem_perm.cgid, &usp64->sem_perm.cgid); in semctl32()
2261 err2 |= __put_user(s.sem_perm.mode, &usp64->sem_perm.mode); in semctl32()
2262 err2 |= __put_user(s.sem_perm.seq, &usp64->sem_perm.seq); in semctl32()
2263 err2 |= __put_user(s.sem_otime, &usp64->sem_otime); in semctl32()
2264 err2 |= __put_user(s.sem_ctime, &usp64->sem_ctime); in semctl32()
2265 err2 |= __put_user(s.sem_nsems, &usp64->sem_nsems); in semctl32()
2273 err2 = __put_user(s.sem_perm.key, &usp32->sem_perm.key); in semctl32()
2274 err2 |= __put_user(s.sem_perm.uid, &usp32->sem_perm.uid); in semctl32()
2275 err2 |= __put_user(s.sem_perm.gid, &usp32->sem_perm.gid); in semctl32()
2276 err2 |= __put_user(s.sem_perm.cuid, &usp32->sem_perm.cuid); in semctl32()
2277 err2 |= __put_user(s.sem_perm.cgid, &usp32->sem_perm.cgid); in semctl32()
2278 err2 |= __put_user(s.sem_perm.mode, &usp32->sem_perm.mode); in semctl32()
2279 err2 |= __put_user(s.sem_perm.seq, &usp32->sem_perm.seq); in semctl32()
2280 err2 |= __put_user(s.sem_otime, &usp32->sem_otime); in semctl32()
2281 err2 |= __put_user(s.sem_ctime, &usp32->sem_ctime); in semctl32()
2282 err2 |= __put_user(s.sem_nsems, &usp32->sem_nsems); in semctl32()
2284 if (err2) in semctl32()
2357 int err = -EINVAL, err2; in msgctl32() local
2404 err2 = __put_user(m64.msg_perm.key, &up64->msg_perm.key); in msgctl32()
2405 err2 |= __put_user(m64.msg_perm.uid, &up64->msg_perm.uid); in msgctl32()
2406 err2 |= __put_user(m64.msg_perm.gid, &up64->msg_perm.gid); in msgctl32()
2407 err2 |= __put_user(m64.msg_perm.cuid, &up64->msg_perm.cuid); in msgctl32()
2408 err2 |= __put_user(m64.msg_perm.cgid, &up64->msg_perm.cgid); in msgctl32()
2409 err2 |= __put_user(m64.msg_perm.mode, &up64->msg_perm.mode); in msgctl32()
2410 err2 |= __put_user(m64.msg_perm.seq, &up64->msg_perm.seq); in msgctl32()
2411 err2 |= __put_user(m64.msg_stime, &up64->msg_stime); in msgctl32()
2412 err2 |= __put_user(m64.msg_rtime, &up64->msg_rtime); in msgctl32()
2413 err2 |= __put_user(m64.msg_ctime, &up64->msg_ctime); in msgctl32()
2414 err2 |= __put_user(m64.msg_cbytes, &up64->msg_cbytes); in msgctl32()
2415 err2 |= __put_user(m64.msg_qnum, &up64->msg_qnum); in msgctl32()
2416 err2 |= __put_user(m64.msg_qbytes, &up64->msg_qbytes); in msgctl32()
2417 err2 |= __put_user(m64.msg_lspid, &up64->msg_lspid); in msgctl32()
2418 err2 |= __put_user(m64.msg_lrpid, &up64->msg_lrpid); in msgctl32()
2419 if (err2) in msgctl32()
2426 err2 = __put_user(m64.msg_perm.key, &up32->msg_perm.key); in msgctl32()
2427 err2 |= __put_user(m64.msg_perm.uid, &up32->msg_perm.uid); in msgctl32()
2428 err2 |= __put_user(m64.msg_perm.gid, &up32->msg_perm.gid); in msgctl32()
2429 err2 |= __put_user(m64.msg_perm.cuid, &up32->msg_perm.cuid); in msgctl32()
2430 err2 |= __put_user(m64.msg_perm.cgid, &up32->msg_perm.cgid); in msgctl32()
2431 err2 |= __put_user(m64.msg_perm.mode, &up32->msg_perm.mode); in msgctl32()
2432 err2 |= __put_user(m64.msg_perm.seq, &up32->msg_perm.seq); in msgctl32()
2433 err2 |= __put_user(m64.msg_stime, &up32->msg_stime); in msgctl32()
2434 err2 |= __put_user(m64.msg_rtime, &up32->msg_rtime); in msgctl32()
2435 err2 |= __put_user(m64.msg_ctime, &up32->msg_ctime); in msgctl32()
2436 err2 |= __put_user(m64.msg_cbytes, &up32->msg_cbytes); in msgctl32()
2437 err2 |= __put_user(m64.msg_qnum, &up32->msg_qnum); in msgctl32()
2438 err2 |= __put_user(m64.msg_qbytes, &up32->msg_qbytes); in msgctl32()
2439 err2 |= __put_user(m64.msg_lspid, &up32->msg_lspid); in msgctl32()
2440 err2 |= __put_user(m64.msg_lrpid, &up32->msg_lrpid); in msgctl32()
2441 if (err2) in msgctl32()
2467 int err = -EFAULT, err2; in shmctl32() local
2492 err2 = __put_user(smi.shmmax, &usi64->shmmax); in shmctl32()
2493 err2 |= __put_user(smi.shmmin, &usi64->shmmin); in shmctl32()
2494 err2 |= __put_user(smi.shmmni, &usi64->shmmni); in shmctl32()
2495 err2 |= __put_user(smi.shmseg, &usi64->shmseg); in shmctl32()
2496 err2 |= __put_user(smi.shmall, &usi64->shmall); in shmctl32()
2502 err2 = __put_user(smi.shmmax, &usi32->shmmax); in shmctl32()
2503 err2 |= __put_user(smi.shmmin, &usi32->shmmin); in shmctl32()
2504 err2 |= __put_user(smi.shmmni, &usi32->shmmni); in shmctl32()
2505 err2 |= __put_user(smi.shmseg, &usi32->shmseg); in shmctl32()
2506 err2 |= __put_user(smi.shmall, &usi32->shmall); in shmctl32()
2508 if (err2) in shmctl32()
2549 err2 = __put_user(s64.shm_perm.key, &up64->shm_perm.key); in shmctl32()
2550 err2 |= __put_user(s64.shm_perm.uid, &up64->shm_perm.uid); in shmctl32()
2551 err2 |= __put_user(s64.shm_perm.gid, &up64->shm_perm.gid); in shmctl32()
2552 err2 |= __put_user(s64.shm_perm.cuid, &up64->shm_perm.cuid); in shmctl32()
2553 err2 |= __put_user(s64.shm_perm.cgid, &up64->shm_perm.cgid); in shmctl32()
2554 err2 |= __put_user(s64.shm_perm.mode, &up64->shm_perm.mode); in shmctl32()
2555 err2 |= __put_user(s64.shm_perm.seq, &up64->shm_perm.seq); in shmctl32()
2556 err2 |= __put_user(s64.shm_atime, &up64->shm_atime); in shmctl32()
2557 err2 |= __put_user(s64.shm_dtime, &up64->shm_dtime); in shmctl32()
2558 err2 |= __put_user(s64.shm_ctime, &up64->shm_ctime); in shmctl32()
2559 err2 |= __put_user(s64.shm_segsz, &up64->shm_segsz); in shmctl32()
2560 err2 |= __put_user(s64.shm_nattch, &up64->shm_nattch); in shmctl32()
2561 err2 |= __put_user(s64.shm_cpid, &up64->shm_cpid); in shmctl32()
2562 err2 |= __put_user(s64.shm_lpid, &up64->shm_lpid); in shmctl32()
2568 err2 = __put_user(s64.shm_perm.key, &up32->shm_perm.key); in shmctl32()
2569 err2 |= __put_user(s64.shm_perm.uid, &up32->shm_perm.uid); in shmctl32()
2570 err2 |= __put_user(s64.shm_perm.gid, &up32->shm_perm.gid); in shmctl32()
2571 err2 |= __put_user(s64.shm_perm.cuid, &up32->shm_perm.cuid); in shmctl32()
2572 err2 |= __put_user(s64.shm_perm.cgid, &up32->shm_perm.cgid); in shmctl32()
2573 err2 |= __put_user(s64.shm_perm.mode, &up32->shm_perm.mode); in shmctl32()
2574 err2 |= __put_user(s64.shm_perm.seq, &up32->shm_perm.seq); in shmctl32()
2575 err2 |= __put_user(s64.shm_atime, &up32->shm_atime); in shmctl32()
2576 err2 |= __put_user(s64.shm_dtime, &up32->shm_dtime); in shmctl32()
2577 err2 |= __put_user(s64.shm_ctime, &up32->shm_ctime); in shmctl32()
2578 err2 |= __put_user(s64.shm_segsz, &up32->shm_segsz); in shmctl32()
2579 err2 |= __put_user(s64.shm_nattch, &up32->shm_nattch); in shmctl32()
2580 err2 |= __put_user(s64.shm_cpid, &up32->shm_cpid); in shmctl32()
2581 err2 |= __put_user(s64.shm_lpid, &up32->shm_lpid); in shmctl32()
2583 if (err2) in shmctl32()
2599 err2 = __put_user(si.used_ids, &uip->used_ids); in shmctl32()
2600 err2 |= __put_user(si.shm_tot, &uip->shm_tot); in shmctl32()
2601 err2 |= __put_user(si.shm_rss, &uip->shm_rss); in shmctl32()
2602 err2 |= __put_user(si.shm_swp, &uip->shm_swp); in shmctl32()
2603 err2 |= __put_user(si.swap_attempts, &uip->swap_attempts); in shmctl32()
2604 err2 |= __put_user(si.swap_successes, &uip->swap_successes); in shmctl32()
2605 if (err2) in shmctl32()