Searched refs:shm_id_2 (Results 1 – 3 of 3) sorted by relevance
/third_party/ltp/testcases/kernel/mem/hugetlb/hugeshmctl/ |
D | hugeshmctl02.c | 34 static int shm_id_2 = -1; variable 45 {&shm_id_2, IPC_SET, (struct shmid_ds *)-1, EFAULT}, 47 {&shm_id_2, IPC_STAT, (struct shmid_ds *)-1, EFAULT}, 51 {&shm_id_2, -1, &buf, EINVAL}, 122 shm_id_2 = shmget(shmkey + 1, shm_size, in setup() 124 if (shm_id_2 == -1) in setup() 131 rm_shm(shm_id_2); in cleanup()
|
/third_party/ltp/testcases/kernel/mem/hugetlb/hugeshmat/ |
D | hugeshmat02.c | 39 static int shm_id_2 = -1; variable 50 {&shm_id_2, (void *)NADDR, EINVAL} 88 shm_id_2 = shmget(shmkey++, shm_size, in setup() 90 if (shm_id_2 == -1) in setup() 96 rm_shm(shm_id_2); in cleanup()
|
/third_party/ltp/testcases/kernel/mem/hugetlb/hugeshmget/ |
D | hugeshmget02.c | 41 int shm_id_2 = -1; in test_hugeshmget() local 44 shm_id_2 = shmget(*(tcases[i].skey), 0, 0); in test_hugeshmget() 45 if (shm_id_2 != -1) in test_hugeshmget() 46 shmctl(shm_id_2, IPC_RMID, NULL); in test_hugeshmget()
|