Lines Matching refs:old
1638 struct shmid_ds_old old; in freebsd7_shmctl() local
1653 if ((error = copyin(uap->buf, &old, sizeof(old)))) in freebsd7_shmctl()
1655 ipcperm_old2new(&old.shm_perm, &buf.shm_perm); in freebsd7_shmctl()
1656 CP(old, buf, shm_segsz); in freebsd7_shmctl()
1657 CP(old, buf, shm_lpid); in freebsd7_shmctl()
1658 CP(old, buf, shm_cpid); in freebsd7_shmctl()
1659 CP(old, buf, shm_nattch); in freebsd7_shmctl()
1660 CP(old, buf, shm_atime); in freebsd7_shmctl()
1661 CP(old, buf, shm_dtime); in freebsd7_shmctl()
1662 CP(old, buf, shm_ctime); in freebsd7_shmctl()
1672 memset(&old, 0, sizeof(old)); in freebsd7_shmctl()
1673 ipcperm_new2old(&buf.shm_perm, &old.shm_perm); in freebsd7_shmctl()
1675 old.shm_segsz = INT_MAX; in freebsd7_shmctl()
1677 CP(buf, old, shm_segsz); in freebsd7_shmctl()
1678 CP(buf, old, shm_lpid); in freebsd7_shmctl()
1679 CP(buf, old, shm_cpid); in freebsd7_shmctl()
1681 old.shm_nattch = SHRT_MAX; in freebsd7_shmctl()
1683 CP(buf, old, shm_nattch); in freebsd7_shmctl()
1684 CP(buf, old, shm_atime); in freebsd7_shmctl()
1685 CP(buf, old, shm_dtime); in freebsd7_shmctl()
1686 CP(buf, old, shm_ctime); in freebsd7_shmctl()
1687 old.shm_internal = NULL; in freebsd7_shmctl()
1688 error = copyout(&old, uap->buf, sizeof(old)); in freebsd7_shmctl()