Lines Matching defs:old
1313 struct shmid_ds_old old;
1328 if ((error = copyin(uap->buf, &old, sizeof(old))))
1330 ipcperm_old2new(&old.shm_perm, &buf.shm_perm);
1331 CP(old, buf, shm_segsz);
1332 CP(old, buf, shm_lpid);
1333 CP(old, buf, shm_cpid);
1334 CP(old, buf, shm_nattch);
1335 CP(old, buf, shm_atime);
1336 CP(old, buf, shm_dtime);
1337 CP(old, buf, shm_ctime);
1347 ipcperm_new2old(&buf.shm_perm, &old.shm_perm);
1349 old.shm_segsz = INT_MAX;
1351 CP(buf, old, shm_segsz);
1352 CP(buf, old, shm_lpid);
1353 CP(buf, old, shm_cpid);
1355 old.shm_nattch = SHRT_MAX;
1357 CP(buf, old, shm_nattch);
1358 CP(buf, old, shm_atime);
1359 CP(buf, old, shm_dtime);
1360 CP(buf, old, shm_ctime);
1361 old.shm_internal = NULL;
1362 error = copyout(&old, uap->buf, sizeof(old));