/external/strace/xlat/ |
resource_flags.h | 15 #if defined(IPC_EXCL) || (defined(HAVE_DECL_IPC_EXCL) && HAVE_DECL_IPC_EXCL) 16 XLAT(IPC_EXCL),
|
shm_resource_flags.h | 20 #if defined(IPC_EXCL) || (defined(HAVE_DECL_IPC_EXCL) && HAVE_DECL_IPC_EXCL) 21 XLAT(IPC_EXCL),
|
/external/ltp/testcases/open_posix_testsuite/conformance/definitions/sys/shm_h/ |
12-1-buildonly.c | 12 * IPC_EXCL 26 #ifndef IPC_EXCL 27 #error IPC_EXCL not defined
|
/external/ltp/testcases/kernel/mem/hugetlb/hugeshmget/ |
hugeshmget03.c | 51 SHM_HUGETLB | IPC_CREAT | IPC_EXCL | SHM_RW)); 85 SHM_HUGETLB | IPC_CREAT | IPC_EXCL | SHM_RW); 94 SHM_HUGETLB | IPC_CREAT | IPC_EXCL | SHM_RW);
|
hugeshmget02.c | 47 {&shmkey2, 0, SHM_HUGETLB | IPC_CREAT | IPC_EXCL | SHM_RW, EINVAL}, 50 /* EEXIST - the segment exists and IPC_CREAT | IPC_EXCL is given */ 51 {&shmkey, 1, SHM_HUGETLB | IPC_CREAT | IPC_EXCL | SHM_RW, EEXIST}, 101 SHM_HUGETLB | IPC_CREAT | IPC_EXCL | SHM_RW);
|
/external/ltp/testcases/kernel/syscalls/ipc/msgget/ |
msgget02.c | 21 * specified both IPC_CREAT and IPC_EXCL. 51 {&msgkey, IPC_CREAT | IPC_EXCL, EEXIST, 0}, 53 {&msgkey1, IPC_EXCL, ENOENT, 0}, 100 queue_id = SAFE_MSGGET(msgkey, IPC_CREAT | IPC_EXCL);
|
msgget03.c | 41 TEST(msgget(msgkey + maxmsgs, IPC_CREAT | IPC_EXCL)); 66 res = msgget(msgkey + num, IPC_CREAT | IPC_EXCL);
|
/external/ltp/testcases/kernel/syscalls/ipc/shmget/ |
shmget02.c | 74 &shmkey2, 0, IPC_CREAT | IPC_EXCL | SHM_RW, EINVAL}, 76 // {&shmkey2, -1, IPC_CREAT | IPC_EXCL | SHM_RW, EINVAL}, 80 /* EEXIST - the segment exists and IPC_CREAT | IPC_EXCL is given */ 82 &shmkey, SHM_SIZE, IPC_CREAT | IPC_EXCL | SHM_RW, EEXIST}, 157 if ((shm_id_1 = shmget(shmkey, SHM_SIZE, IPC_CREAT | IPC_EXCL |
|
shmget03.c | 87 TEST(shmget(IPC_PRIVATE, SHM_SIZE, IPC_CREAT | IPC_EXCL 138 IPC_EXCL | SHM_RW)) != -1) {
|
shmget04.c | 136 if ((shm_id_1 = shmget(shmkey, SHM_SIZE, IPC_CREAT | IPC_EXCL)) == -1) {
|
/bionic/tests/headers/posix/ |
sys_ipc_h.c | 51 MACRO(IPC_EXCL);
|
/external/ltp/testcases/kernel/syscalls/ipc/semget/ |
semget02.c | 72 /* IPC_CREAT and IPC_EXCL */ 74 IPC_CREAT | IPC_EXCL, EEXIST} 149 if ((sem_id_1 = semget(semkey, PSEMS, IPC_CREAT | IPC_EXCL)) == -1) {
|
semget05.c | 94 TEST(semget(IPC_PRIVATE, PSEMS, IPC_CREAT | IPC_EXCL | SEM_RA)); 127 while ((sem_q = semget(IPC_PRIVATE, PSEMS, IPC_CREAT | IPC_EXCL)) != -1) {
|
semget06.c | 84 IPC_CREAT | IPC_EXCL | SEM_RA));
|
/bionic/libc/kernel/uapi/linux/ |
ipc.h | 34 #define IPC_EXCL 00002000
|
/external/kernel-headers/original/uapi/linux/ |
ipc.h | 26 #define IPC_EXCL 00002000 /* fail if key exists */
|
/external/ltp/testcases/kernel/syscalls/ipc/msgctl/ |
msgctl02.c | 68 msg_id = SAFE_MSGGET(msgkey, IPC_CREAT | IPC_EXCL | MSG_RW | 0660);
|
msgctl04.c | 93 msg_id1 = SAFE_MSGGET(msgkey1, IPC_CREAT | IPC_EXCL); 94 msg_id2 = SAFE_MSGGET(msgkey2, IPC_CREAT | IPC_EXCL | MSG_RD | MSG_WR);
|
/external/ltp/testcases/kernel/syscalls/ipc/msgsnd/ |
msgsnd01.c | 63 queue_id = SAFE_MSGGET(msgkey, IPC_CREAT | IPC_EXCL | MSG_RW);
|
/external/ltp/testcases/kernel/syscalls/ipc/semop/ |
semop03.c | 142 semget(semkey, PSEMS, IPC_CREAT | IPC_EXCL | SEM_RA)) == -1) {
|
semop02.c | 111 sem_id_1 = semget(semkey, PSEMS, IPC_CREAT | IPC_EXCL | SEM_RA); 121 sem_id_2 = semget(semkey2, PSEMS, IPC_CREAT | IPC_EXCL);
|
/external/ltp/testcases/kernel/mem/hugetlb/hugeshmctl/ |
hugeshmctl02.c | 107 shm_id_1 = shmget(shmkey, shm_size, SHM_HUGETLB | IPC_CREAT | IPC_EXCL); 113 SHM_HUGETLB | IPC_CREAT | IPC_EXCL | SHM_RW);
|
/external/ltp/testcases/kernel/syscalls/ipc/msgrcv/ |
msgrcv02.c | 172 if ((msg_q_1 = msgget(msgkey, IPC_CREAT | IPC_EXCL | MSG_RW)) == -1) { 185 if ((msg_q_2 = msgget(msgkey2, IPC_CREAT | IPC_EXCL)) == -1) {
|
/external/ltp/testcases/kernel/syscalls/ipc/shmctl/ |
shmctl02.c | 185 if ((shm_id_1 = shmget(shmkey, SHM_SIZE, IPC_CREAT | IPC_EXCL)) == -1) { 194 if ((shm_id_2 = shmget(shmkey2, SHM_SIZE, IPC_CREAT | IPC_EXCL |
|
/external/ltp/testcases/kernel/containers/sysvipc/ |
semtest_2ns.c | 99 id1 = semget(MY_KEY, 1, IPC_CREAT | IPC_EXCL | 0666); 139 id2 = semget(MY_KEY, 1, IPC_CREAT | IPC_EXCL | 0666);
|