Home
last modified time | relevance | path

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

1234

/third_party/ltp/testcases/kernel/syscalls/ipc/shmget/
Dshmget02.c56 {&shmkey1, SHM_SIZE, IPC_EXCL, 0, 0, ENOENT},
57 {&shmkey, SHM_SIZE, IPC_CREAT | IPC_EXCL, 0, 0, EEXIST},
58 {&shmkey1, SHMMIN - 1, IPC_CREAT | IPC_EXCL, 0, 0, EINVAL},
59 {&shmkey1, SHMMAX + 1, IPC_CREAT | IPC_EXCL, 0, 0, EINVAL},
60 {&shmkey, SHM_SIZE * 2, IPC_EXCL, 0, 0, EINVAL},
124 shm_id = SAFE_SHMGET(shmkey, SHM_SIZE, IPC_CREAT | IPC_EXCL); in setup()
Dshmget03.c30 TST_EXP_FAIL2(shmget(shmkey + maxshms, SHM_SIZE, IPC_CREAT | IPC_EXCL | SHM_RW), ENOSPC, in verify_shmget()
31 "shmget(%i, %i, %i)", shmkey + maxshms, SHM_SIZE, IPC_CREAT | IPC_EXCL | SHM_RW); in verify_shmget()
46 res = shmget(shmkey + num, SHM_SIZE, IPC_CREAT | IPC_EXCL | SHM_RW); in setup()
/third_party/ltp/testcases/kernel/syscalls/ipc/msgget/
Dmsgget03.c30 TST_EXP_FAIL2(msgget(msgkey + maxmsgs, IPC_CREAT | IPC_EXCL), ENOSPC, in verify_msgget()
31 "msgget(%i, %i)", msgkey + maxmsgs, IPC_CREAT | IPC_EXCL); in verify_msgget()
49 res = msgget(msgkey + num, IPC_CREAT | IPC_EXCL); in setup()
Dmsgget02.c42 {&msgkey, IPC_CREAT | IPC_EXCL, EEXIST, 0},
44 {&msgkey1, IPC_EXCL, ENOENT, 0},
80 queue_id = SAFE_MSGGET(msgkey, IPC_CREAT | IPC_EXCL); in setup()
/third_party/ltp/testcases/kernel/mem/hugetlb/hugeshmget/
Dhugeshmget03.c33 SHM_HUGETLB | IPC_CREAT | IPC_EXCL | SHM_RW)); in test_hugeshmget()
64 SHM_HUGETLB | IPC_CREAT | IPC_EXCL | SHM_RW); in setup()
73 SHM_HUGETLB | IPC_CREAT | IPC_EXCL | SHM_RW); in setup()
Dhugeshmget02.c29 {&shmkey2, 0, SHM_HUGETLB | IPC_CREAT | IPC_EXCL | SHM_RW, EINVAL},
33 {&shmkey, 1, SHM_HUGETLB | IPC_CREAT | IPC_EXCL | SHM_RW, EEXIST},
81 SHM_HUGETLB | IPC_CREAT | IPC_EXCL | SHM_RW); in setup()
/third_party/ltp/testcases/open_posix_testsuite/conformance/definitions/sys/shm_h/
D12-1-buildonly.c26 #ifndef IPC_EXCL
27 #error IPC_EXCL not defined
/third_party/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()
/third_party/ltp/testcases/kernel/mem/hugetlb/hugeshmctl/
Dhugeshmctl02.c85 shm_id_1 = shmget(shmkey, shm_size, SHM_HUGETLB | IPC_CREAT | IPC_EXCL); in setup()
91 SHM_HUGETLB | IPC_CREAT | IPC_EXCL | SHM_RW); in setup()
/third_party/ltp/testcases/kernel/syscalls/ipc/semop/
Dsemop03.c79 sem_id = semget(semkey, PSEMS, IPC_CREAT | IPC_EXCL | SEM_RA); in setup()
125 sem_id = semget(semkey, PSEMS, IPC_CREAT | IPC_EXCL | SEM_RA); in run()
Dsemop02.c90 valid_sem_id = semget(semkey, PSEMS, IPC_CREAT | IPC_EXCL | SEM_RA); in setup()
96 noperm_sem_id = semget(semkey, PSEMS, IPC_CREAT | IPC_EXCL); in setup()
/third_party/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()
/third_party/ltp/testcases/kernel/syscalls/ipc/msgctl/
Dmsgctl04.c100 msg_id1 = SAFE_MSGGET(msgkey1, IPC_CREAT | IPC_EXCL); in setup()
101 msg_id2 = SAFE_MSGGET(msgkey2, IPC_CREAT | IPC_EXCL | MSG_RD | MSG_WR); in setup()
/third_party/ltp/testcases/kernel/syscalls/ipc/shmctl/
Dshmctl02.c119 shm_id1 = SAFE_SHMGET(shmkey1, SHM_SIZE, IPC_CREAT | IPC_EXCL); in setup()
120 shm_id2 = SAFE_SHMGET(shmkey2, SHM_SIZE, IPC_CREAT | IPC_EXCL | SHM_RW); in setup()
/third_party/musl/libc-test/src/functional/
Dipc_sem.c46 T(semid = semget(k, 1, IPC_CREAT|IPC_EXCL|0666)); in inc()
53 if (semget(k, 1, IPC_CREAT|IPC_EXCL|0666) != -1 || errno != EEXIST) in inc()
Dipc_shm.c41 T(shmid = shmget(k, 100, IPC_CREAT|IPC_EXCL|0666)); in set()
48 if (shmget(k, 100, IPC_CREAT|IPC_EXCL|0666) != -1 || errno != EEXIST) in set()
Dipc_msg.c44 T(qid = msgget(k, IPC_CREAT|IPC_EXCL|0666)); in snd()
51 if (msgget(k, IPC_CREAT|IPC_EXCL|0666) != -1 || errno != EEXIST) in snd()
/third_party/ltp/testcases/kernel/syscalls/ipc/msgrcv/
Dmsgrcv07.c52 queue_id = SAFE_MSGGET(msgkey, IPC_CREAT | IPC_EXCL | MSG_RW); in prepare_queue()
84 queue_id = SAFE_MSGGET(msgkey, IPC_CREAT | IPC_EXCL | MSG_RW); in test_msg_noerror()
/third_party/musl/porting/liteos_a_newlib/kernel/include/sys/
Dipc.h22 #define IPC_EXCL 02000 macro
/third_party/musl/porting/uniproton/kernel/include/sys/
Dipc.h28 #define IPC_EXCL 02000 macro
/third_party/musl/porting/liteos_m/kernel/include/sys/
Dipc.h28 #define IPC_EXCL 02000 macro
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
Dipc.h28 #define IPC_EXCL 02000 macro
/third_party/musl/ndk_musl_include/sys/
Dipc.h28 #define IPC_EXCL 02000 macro
/third_party/musl/include/sys/
Dipc.h28 #define IPC_EXCL 02000 macro

1234