Home
last modified time | relevance | path

Searched refs:IPC_CREAT (Results 1 – 25 of 160) sorted by relevance

1234567

/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()
137 while ((shm_id_1 = shmget(IPC_PRIVATE, SHM_SIZE, IPC_CREAT | 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/tests/
Dipc_msg.c76 static const int bogus_flags = 0xface1e55 & ~IPC_CREAT; in main()
84 IPC_CREAT & bogus_flags ? "IPC_CREAT\\|" : "", in main()
87 bogus_flags & ~(0777 | IPC_CREAT | IPC_EXCL | IPC_NOWAIT), in main()
Dipc_sem.c79 IPC_CREAT & bogus_flags ? "IPC_CREAT\\|" : "", in main()
82 bogus_flags & ~(0777 | IPC_CREAT | IPC_EXCL | IPC_NOWAIT), in main()
/external/strace/tests-m32/
Dipc_msg.c76 static const int bogus_flags = 0xface1e55 & ~IPC_CREAT; in main()
84 IPC_CREAT & bogus_flags ? "IPC_CREAT\\|" : "", in main()
87 bogus_flags & ~(0777 | IPC_CREAT | IPC_EXCL | IPC_NOWAIT), in main()
Dipc_sem.c79 IPC_CREAT & bogus_flags ? "IPC_CREAT\\|" : "", in main()
82 bogus_flags & ~(0777 | IPC_CREAT | IPC_EXCL | IPC_NOWAIT), in main()
/external/strace/tests-mx32/
Dipc_msg.c76 static const int bogus_flags = 0xface1e55 & ~IPC_CREAT; in main()
84 IPC_CREAT & bogus_flags ? "IPC_CREAT\\|" : "", in main()
87 bogus_flags & ~(0777 | IPC_CREAT | IPC_EXCL | IPC_NOWAIT), in main()
Dipc_sem.c79 IPC_CREAT & bogus_flags ? "IPC_CREAT\\|" : "", in main()
82 bogus_flags & ~(0777 | IPC_CREAT | IPC_EXCL | IPC_NOWAIT), in main()
/external/strace/xlat/
Dresource_flags.h6 #if defined(IPC_CREAT) || (defined(HAVE_DECL_IPC_CREAT) && HAVE_DECL_IPC_CREAT)
7 XLAT(IPC_CREAT),
Dshm_resource_flags.h11 #if defined(IPC_CREAT) || (defined(HAVE_DECL_IPC_CREAT) && HAVE_DECL_IPC_CREAT)
12 XLAT(IPC_CREAT),
/external/ltp/testcases/open_posix_testsuite/conformance/definitions/sys/shm_h/
D12-1-buildonly.c22 #ifndef IPC_CREAT
23 #error IPC_CREAT not defined
/external/ltp/testcases/kernel/mem/shmt/
Dshmt05.c73 if ((shmid = shmget(key[0], SIZE, IPC_CREAT | 0666)) < 0) { in main()
91 if ((shmid1 = shmget(key[1], SIZE, IPC_CREAT | 0666)) < 0) { in main()
/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/syscalls/ipc/msgget/
Dmsgget02.c73 EEXIST, 0, IPC_CREAT | IPC_EXCL}, {
158 if ((msg_q_1 = msgget(msgkey, IPC_CREAT | IPC_EXCL)) == -1) { 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/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/containers/sysvipc/
Dshm_comm.c65 id = shmget(TESTKEY, SHMSIZE, IPC_CREAT); in chld1_shm()
98 id = shmget(TESTKEY, SHMSIZE, IPC_CREAT); in chld2_shm()
Dshmem_2nstest.c72 id1 = shmget(TESTKEY, 100, IPC_CREAT); in check_shmem1()
98 id2 = shmget(TESTKEY, 100, IPC_CREAT); in check_shmem2()
/external/autotest/client/tests/synctest/src/
Dsynctest.c53 shm_id = shmget(IPC_PRIVATE, 10, IPC_CREAT | IPC_EXCL | 0600); in main()
82 sem_id = semget(IPC_PRIVATE, 1, IPC_CREAT); in main()
/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()

1234567