Lines Matching refs:ds
37 struct shmid_ds ds; in main() local
44 if (shmctl(id, IPC_STAT, &ds)) in main()
50 id, (unsigned) ds.shm_perm.uid, (unsigned) ds.shm_perm.gid, in main()
51 (unsigned) ds.shm_perm.mode, (unsigned) ds.shm_perm.__key, in main()
52 (unsigned) ds.shm_perm.cuid, (unsigned) ds.shm_perm.cgid, in main()
53 (unsigned) ds.shm_segsz, (unsigned) ds.shm_cpid, in main()
54 (unsigned) ds.shm_lpid, (unsigned) ds.shm_nattch, in main()
55 (unsigned) ds.shm_atime, (unsigned) ds.shm_dtime, in main()
56 (unsigned) ds. shm_ctime); in main()
58 int max = shmctl(0, SHM_INFO, &ds); in main()
61 printf("shmctl\\(0, (IPC_64\\|)?SHM_INFO, %p\\) += %d\n", &ds, max); in main()
63 rc = shmctl(id, SHM_STAT, &ds); in main()
71 printf("shmctl\\(%d, (IPC_64\\|)?SHM_STAT, %p\\) += -1 EINVAL \\(Invalid argument\\)\n", id, &ds); in main()
73 printf("shmctl\\(%d, (IPC_64\\|)?SHM_STAT, %p\\) += %d\n", id, &ds, id); in main()