Lines Matching refs:ds
128 struct shmid_ds ds; in main() local
184 if (shmctl(id, IPC_STAT, &ds)) in main()
191 (unsigned) ds.shm_perm.uid, (unsigned) ds.shm_perm.gid, in main()
192 (unsigned) ds.shm_perm.mode, (unsigned) ds.shm_perm.__key, in main()
193 (unsigned) ds.shm_perm.cuid, (unsigned) ds.shm_perm.cgid, in main()
194 (unsigned) ds.shm_segsz, (unsigned) ds.shm_cpid, in main()
195 (unsigned) ds.shm_lpid, (unsigned) ds.shm_nattch, in main()
196 (unsigned) ds.shm_atime, (unsigned) ds.shm_dtime, in main()
197 (unsigned) ds. shm_ctime); in main()
199 if (shmctl(id, IPC_SET, &ds)) in main()
204 (unsigned) ds.shm_perm.uid, (unsigned) ds.shm_perm.gid, in main()
205 (unsigned) ds.shm_perm.mode); in main()
207 rc = shmctl(0, SHM_INFO, &ds); in main()
209 str_ipc_64, str_shm_info, &ds, sprintrc_grep(rc)); in main()
211 rc = shmctl(id, SHM_STAT, &ds); in main()
213 id, str_ipc_64, str_shm_stat, &ds, sprintrc_grep(rc)); in main()
215 rc = shmctl(id, SHM_STAT_ANY, &ds); in main()
217 id, str_ipc_64, str_shm_stat_any, &ds, sprintrc_grep(rc)); in main()