Home
last modified time | relevance | path

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

1234

/external/ltp/testcases/kernel/syscalls/ipc/msgget/
Dmsgget02.c51 {&msgkey, IPC_CREAT | IPC_EXCL, EEXIST, 0},
53 {&msgkey1, IPC_EXCL, ENOENT, 0},
100 queue_id = SAFE_MSGGET(msgkey, IPC_CREAT | IPC_EXCL); in setup()
Dmsgget03.c41 TEST(msgget(msgkey + maxmsgs, IPC_CREAT | IPC_EXCL)); in verify_msgget()
66 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()
85 SHM_HUGETLB | IPC_CREAT | IPC_EXCL | SHM_RW); in setup()
94 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},
101 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()
/external/ltp/testcases/kernel/mem/hugetlb/hugeshmctl/
Dhugeshmctl02.c107 shm_id_1 = shmget(shmkey, shm_size, SHM_HUGETLB | IPC_CREAT | IPC_EXCL); in setup()
113 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.c93 msg_id1 = SAFE_MSGGET(msgkey1, IPC_CREAT | IPC_EXCL); in setup()
94 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/syzkaller/sys/netbsd/
Dipc.txt56 msgget_flags = IPC_CREAT, IPC_EXCL, S_IRUSR, S_IWUSR, S_IXUSR, S_IRGRP, S_IWGRP, S_IXGRP, S_IROTH, …
60 semget_flags = IPC_CREAT, IPC_EXCL, S_IRUSR, S_IWUSR, S_IXUSR, S_IRGRP, S_IWGRP, S_IXGRP, S_IROTH, …
63 shmget_flags = IPC_CREAT, IPC_EXCL, S_IRUSR, S_IWUSR, S_IXUSR, S_IRGRP, S_IWGRP, S_IXGRP, S_IROTH, …
Dipc_amd64.const8 IPC_EXCL = 1024
/external/syzkaller/sys/freebsd/
Dipc.txt63 msgget_flags = IPC_CREAT, IPC_EXCL, S_IRUSR, S_IWUSR, S_IXUSR, S_IRGRP, S_IWGRP, S_IXGRP, S_IROTH, …
67 semget_flags = IPC_CREAT, IPC_EXCL, S_IRUSR, S_IWUSR, S_IXUSR, S_IRGRP, S_IWGRP, S_IXGRP, S_IROTH, …
70 shmget_flags = IPC_CREAT, IPC_EXCL, S_IRUSR, S_IWUSR, S_IXUSR, S_IRGRP, S_IWGRP, S_IXGRP, S_IROTH, …
/external/linux-kselftest/tools/testing/selftests/ipc/
Dmsgque.c52 id = msgget(msgque->key, msgque->mode | IPC_CREAT | IPC_EXCL); in restore_queue()
209 msgque.msq_id = msgget(msgque.key, IPC_CREAT | IPC_EXCL | 0666); in main()
/external/syzkaller/sys/linux/
Dipc.txt63 msgget_flags = IPC_CREAT, IPC_EXCL, S_IRUSR, S_IWUSR, S_IXUSR, S_IRGRP, S_IWGRP, S_IXGRP, S_IROTH, …
67 semget_flags = IPC_CREAT, IPC_EXCL, S_IRUSR, S_IWUSR, S_IXUSR, S_IRGRP, S_IWGRP, S_IXGRP, S_IROTH, …
70 shmget_flags = IPC_CREAT, IPC_EXCL, SHM_HUGETLB, SHM_HUGE_2MB, SHM_HUGE_1GB, SHM_NORESERVE, S_IRUSR…

1234