Home
last modified time | relevance | path

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

1234

/external/ltp/testcases/kernel/syscalls/ipc/msgget/
Dmsgget02.c39 {&msgkey, IPC_CREAT | IPC_EXCL, EEXIST, 0},
41 {&msgkey1, IPC_EXCL, ENOENT, 0},
88 queue_id = SAFE_MSGGET(msgkey, IPC_CREAT | IPC_EXCL); in setup()
Dmsgget03.c29 TEST(msgget(msgkey + maxmsgs, IPC_CREAT | IPC_EXCL)); in verify_msgget()
54 res = msgget(msgkey + num, IPC_CREAT | IPC_EXCL); in setup()
/external/ltp/testcases/kernel/mem/hugetlb/hugeshmget/
Dhugeshmget03.c51 SHM_HUGETLB | IPC_CREAT | IPC_EXCL | SHM_RW)); in test_hugeshmget()
86 SHM_HUGETLB | IPC_CREAT | IPC_EXCL | SHM_RW); in setup()
95 SHM_HUGETLB | IPC_CREAT | IPC_EXCL | SHM_RW); in setup()
Dhugeshmget02.c47 {&shmkey2, 0, SHM_HUGETLB | IPC_CREAT | IPC_EXCL | SHM_RW, EINVAL},
51 {&shmkey, 1, SHM_HUGETLB | IPC_CREAT | IPC_EXCL | SHM_RW, EEXIST},
102 SHM_HUGETLB | IPC_CREAT | IPC_EXCL | SHM_RW); 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/strace/xlat/
Dresource_flags.h15 #if defined(IPC_EXCL) || (defined(HAVE_DECL_IPC_EXCL) && HAVE_DECL_IPC_EXCL)
16 XLAT(IPC_EXCL),
Dshm_resource_flags.h20 #if defined(IPC_EXCL) || (defined(HAVE_DECL_IPC_EXCL) && HAVE_DECL_IPC_EXCL)
21 XLAT(IPC_EXCL),
Dresource_flags.in2 IPC_EXCL
Dshm_resource_flags.in2 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()
Dsemget06.c84 IPC_CREAT | IPC_EXCL | SEM_RA)); in main()
/external/ltp/testcases/kernel/mem/hugetlb/hugeshmctl/
Dhugeshmctl02.c108 shm_id_1 = shmget(shmkey, shm_size, SHM_HUGETLB | IPC_CREAT | IPC_EXCL); in setup()
114 SHM_HUGETLB | IPC_CREAT | IPC_EXCL | SHM_RW); in setup()
/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/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/msgctl/
Dmsgctl04.c80 msg_id1 = SAFE_MSGGET(msgkey1, IPC_CREAT | IPC_EXCL); in setup()
81 msg_id2 = SAFE_MSGGET(msgkey2, IPC_CREAT | IPC_EXCL | MSG_RD | MSG_WR); in setup()
/external/ltp/testcases/kernel/syscalls/ipc/semop/
Dsemop02.c111 sem_id_1 = semget(semkey, PSEMS, IPC_CREAT | IPC_EXCL | SEM_RA); in setup()
121 sem_id_2 = semget(semkey2, PSEMS, IPC_CREAT | IPC_EXCL); in setup()
Dsemop05.c179 IPC_EXCL | SEM_RA)) == -1) { in main()
269 semget(semkey, PSEMS, IPC_CREAT | IPC_EXCL | SEM_RA)) == -1) { 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()
/external/kernel-headers/original/uapi/linux/
Dipc.h26 #define IPC_EXCL 00002000 /* fail if key exists */ macro
/external/linux-kselftest/tools/testing/selftests/ipc/
Dmsgque.c53 id = msgget(msgque->key, msgque->mode | IPC_CREAT | IPC_EXCL); in restore_queue()
210 msgque.msq_id = msgget(msgque.key, IPC_CREAT | IPC_EXCL | 0666); in main()
/external/ltp/testcases/kernel/syscalls/ipc/msgsnd/
Dmsgsnd01.c51 queue_id = SAFE_MSGGET(msgkey, IPC_CREAT | IPC_EXCL | MSG_RW); in setup()
Dmsgsnd06.c49 queue_id = SAFE_MSGGET(msgkey, IPC_CREAT | IPC_EXCL | MSG_RW); in do_test()

1234