Lines Matching refs:shmid
91 static int shmid = -1; variable
96 {"m", &shmid, NULL},
149 if (shmid != -1) { in overcommit()
154 shmid = shmget(key, (long)(length / 2 * hugepagesize), in overcommit()
156 if (shmid == -1) in overcommit()
201 if (shmid != -1) { in overcommit()
202 tst_resm(TINFO, "shmid: 0x%x", shmid); in overcommit()
203 shmaddr = shmat(shmid, ADDR, SHMAT_FLAGS); in overcommit()
241 if (shmid != -1) { in overcommit()
286 if (shmid != -1) { in cleanup()
288 shmctl(shmid, IPC_RMID, NULL); in cleanup()
312 if (shmid != -1) { in setup()