Home
last modified time | relevance | path

Searched refs:IPC_EXCL (Results 1 – 25 of 90) sorted by relevance

1234

/external/ltp/testcases/kernel/syscalls/ipc/msgget/
Dmsgget02.c73 EEXIST, 0, IPC_CREAT | IPC_EXCL}, {
75 ENOENT, 1, IPC_EXCL}
158 if ((msg_q_1 = msgget(msgkey, IPC_CREAT | IPC_EXCL)) == -1) { in setup()
/external/ltp/testcases/kernel/syscalls/ipc/shmget/
Dshmget02.c74 &shmkey2, 0, IPC_CREAT | IPC_EXCL | SHM_RW, EINVAL},
82 &shmkey, SHM_SIZE, IPC_CREAT | IPC_EXCL | SHM_RW, EEXIST},
157 if ((shm_id_1 = shmget(shmkey, SHM_SIZE, IPC_CREAT | IPC_EXCL | in setup()
Dshmget03.c87 TEST(shmget(IPC_PRIVATE, SHM_SIZE, IPC_CREAT | IPC_EXCL in main()
138 IPC_EXCL | SHM_RW)) != -1) { in setup()
/external/ltp/testcases/kernel/mem/hugetlb/hugeshmget/
Dhugeshmget03.c96 SHM_HUGETLB | IPC_CREAT | IPC_EXCL | SHM_RW)); in main()
135 SHM_HUGETLB | IPC_CREAT | IPC_EXCL | SHM_RW); in setup()
144 SHM_HUGETLB | IPC_CREAT | IPC_EXCL | SHM_RW); in setup()
Dhugeshmget02.c80 &shmkey2, 0, SHM_HUGETLB | IPC_CREAT | IPC_EXCL | SHM_RW, EINVAL},
86 &shmkey, 1, SHM_HUGETLB | IPC_CREAT | IPC_EXCL | SHM_RW, EEXIST},
154 shm_id_1 = shmget(shmkey, shm_size, IPC_CREAT | IPC_EXCL | SHM_RW); in setup()
/external/strace/xlat/
Dresource_flags.h9 #if defined(IPC_EXCL) || (defined(HAVE_DECL_IPC_EXCL) && HAVE_DECL_IPC_EXCL)
10 XLAT(IPC_EXCL),
Dshm_resource_flags.h14 #if defined(IPC_EXCL) || (defined(HAVE_DECL_IPC_EXCL) && HAVE_DECL_IPC_EXCL)
15 XLAT(IPC_EXCL),
/external/ltp/testcases/open_posix_testsuite/conformance/definitions/sys/shm_h/
D12-1-buildonly.c26 #ifndef IPC_EXCL
27 #error IPC_EXCL not defined
/external/ltp/testcases/kernel/syscalls/ipc/semget/
Dsemget02.c74 IPC_CREAT | IPC_EXCL, EEXIST}
149 if ((sem_id_1 = semget(semkey, PSEMS, IPC_CREAT | IPC_EXCL)) == -1) { in setup()
Dsemget05.c94 TEST(semget(IPC_PRIVATE, PSEMS, IPC_CREAT | IPC_EXCL | SEM_RA)); in main()
127 while ((sem_q = semget(IPC_PRIVATE, PSEMS, IPC_CREAT | IPC_EXCL)) != -1) { in setup()
/external/strace/tests-mx32/
Dipc_sem.c80 IPC_EXCL & bogus_flags ? "IPC_EXCL\\|" : "", in main()
82 bogus_flags & ~(0777 | IPC_CREAT | IPC_EXCL | IPC_NOWAIT), in main()
Dipc_shm.c76 IPC_EXCL & bogus_flags ? "IPC_EXCL\\|" : "", in main()
78 bogus_flags & ~(0777 | IPC_CREAT | IPC_EXCL | SHM_HUGETLB), in main()
Dipc_msg.c85 IPC_EXCL & bogus_flags ? "IPC_EXCL\\|" : "", in main()
87 bogus_flags & ~(0777 | IPC_CREAT | IPC_EXCL | IPC_NOWAIT), in main()
/external/strace/tests-m32/
Dipc_sem.c80 IPC_EXCL & bogus_flags ? "IPC_EXCL\\|" : "", in main()
82 bogus_flags & ~(0777 | IPC_CREAT | IPC_EXCL | IPC_NOWAIT), in main()
Dipc_shm.c76 IPC_EXCL & bogus_flags ? "IPC_EXCL\\|" : "", in main()
78 bogus_flags & ~(0777 | IPC_CREAT | IPC_EXCL | SHM_HUGETLB), in main()
Dipc_msg.c85 IPC_EXCL & bogus_flags ? "IPC_EXCL\\|" : "", in main()
87 bogus_flags & ~(0777 | IPC_CREAT | IPC_EXCL | IPC_NOWAIT), in main()
/external/strace/tests/
Dipc_sem.c80 IPC_EXCL & bogus_flags ? "IPC_EXCL\\|" : "", in main()
82 bogus_flags & ~(0777 | IPC_CREAT | IPC_EXCL | IPC_NOWAIT), in main()
Dipc_shm.c76 IPC_EXCL & bogus_flags ? "IPC_EXCL\\|" : "", in main()
78 bogus_flags & ~(0777 | IPC_CREAT | IPC_EXCL | SHM_HUGETLB), in main()
Dipc_msg.c85 IPC_EXCL & bogus_flags ? "IPC_EXCL\\|" : "", in main()
87 bogus_flags & ~(0777 | IPC_CREAT | IPC_EXCL | IPC_NOWAIT), in main()
/external/ltp/testcases/kernel/syscalls/ipc/msgrcv/
Dmsgrcv02.c172 if ((msg_q_1 = msgget(msgkey, IPC_CREAT | IPC_EXCL | MSG_RW)) == -1) { in setup()
185 if ((msg_q_2 = msgget(msgkey2, IPC_CREAT | IPC_EXCL)) == -1) { in setup()
/external/ltp/testcases/kernel/mem/hugetlb/hugeshmctl/
Dhugeshmctl02.c147 shm_id_1 = shmget(shmkey, shm_size, SHM_HUGETLB | IPC_CREAT | IPC_EXCL); in setup()
153 SHM_HUGETLB | IPC_CREAT | IPC_EXCL | SHM_RW); in setup()
/external/ltp/testcases/kernel/syscalls/ipc/msgctl/
Dmsgctl04.c175 if ((msg_q_1 = msgget(msgkey, IPC_CREAT | IPC_EXCL)) == -1) { in setup()
182 msgget(msgkey2, IPC_CREAT | IPC_EXCL | MSG_RD | MSG_WR)) == -1) { in setup()
/external/ltp/testcases/kernel/syscalls/ipc/shmctl/
Dshmctl02.c185 if ((shm_id_1 = shmget(shmkey, SHM_SIZE, IPC_CREAT | IPC_EXCL)) == -1) { in setup()
194 if ((shm_id_2 = shmget(shmkey2, SHM_SIZE, IPC_CREAT | IPC_EXCL | in setup()
/external/ltp/testcases/kernel/syscalls/ipc/shmat/
Dshmat02.c168 shm_id_2 = shmget(shmkey, INT_SIZE, SHM_RW | IPC_CREAT | IPC_EXCL); in setup()
176 shm_id_3 = shmget(shmkey2, INT_SIZE, IPC_CREAT | IPC_EXCL); in setup()
/external/ltp/testcases/kernel/containers/sysvipc/
Dsemtest_2ns.c99 id1 = semget(MY_KEY, 1, IPC_CREAT | IPC_EXCL | 0666); in check_sem1()
139 id2 = semget(MY_KEY, 1, IPC_CREAT | IPC_EXCL | 0666); in check_sem2()

1234