/external/strace/xlat/ |
msgctl_flags.in | 4 IPC_STAT 2
|
shmctl_flags.in | 4 IPC_STAT 2
|
semctl_flags.in | 4 IPC_STAT 2
|
msgctl_flags.h | 20 #if defined(IPC_STAT) || (defined(HAVE_DECL_IPC_STAT) && HAVE_DECL_IPC_STAT) 22 static_assert((IPC_STAT) == (2), "IPC_STAT != 2"); 25 # define IPC_STAT 2 71 XLAT(IPC_STAT),
|
shmctl_flags.h | 20 #if defined(IPC_STAT) || (defined(HAVE_DECL_IPC_STAT) && HAVE_DECL_IPC_STAT) 22 static_assert((IPC_STAT) == (2), "IPC_STAT != 2"); 25 # define IPC_STAT 2 85 XLAT(IPC_STAT),
|
semctl_flags.h | 20 #if defined(IPC_STAT) || (defined(HAVE_DECL_IPC_STAT) && HAVE_DECL_IPC_STAT) 22 static_assert((IPC_STAT) == (2), "IPC_STAT != 2"); 25 # define IPC_STAT 2 118 XLAT(IPC_STAT),
|
/external/ltp/testcases/open_posix_testsuite/conformance/definitions/sys/shm_h/ |
12-1-buildonly.c | 17 * IPC_STAT 46 #ifndef IPC_STAT 47 #error IPC_STAT not defined
|
/external/ltp/testcases/kernel/syscalls/ipc/msgctl/ |
msgctl02.c | 50 SAFE_MSGCTL(msg_id, IPC_STAT, &buf); 70 SAFE_MSGCTL(msg_id, IPC_STAT, &orig_buf);
|
msgctl03.c | 42 TEST(msgctl(msg_q, IPC_STAT, &buf)); 44 tst_res(TPASS | TTERRNO, "msgctl(IPC_STAT)"); 47 "msgctl(IPC_STAT) returned %li", TST_RET);
|
msgctl04.c | 46 {&msg_id1, IPC_STAT, &q_buf, EACCES}, 47 /* EFAULT - the structure address is invalid - IPC_STAT */ 48 {&msg_id2, IPC_STAT, (struct msqid_ds *)-1, EFAULT}, 53 /* EINVAL - the queue id is invalid - IPC_STAT */ 54 {&bad_q, IPC_STAT, &q_buf, EINVAL},
|
/bionic/tests/ |
sys_msg_test.cpp | 37 if (msgctl(-1, IPC_STAT, nullptr) == -1 && errno == ENOSYS) { 50 ASSERT_EQ(0, msgctl(id, IPC_STAT, &ds)); 62 ASSERT_EQ(0, msgctl(id, IPC_STAT, &ds)); 78 ASSERT_EQ(-1, msgctl(-1, IPC_STAT, nullptr));
|
sys_shm_test.cpp | 36 if (shmctl(-1, IPC_STAT, nullptr) == -1 && errno == ENOSYS) { 49 ASSERT_EQ(0, shmctl(id, IPC_STAT, &ds)); 71 ASSERT_EQ(-1, shmctl(-1, IPC_STAT, nullptr));
|
/external/ltp/testcases/kernel/syscalls/ipc/shmctl/ |
shmctl02.c | 79 &shm_id_1, IPC_STAT, &buf, EACCES}, 83 /* EFAULT - IPC_STAT & buf isn't valid */ 85 &shm_id_2, IPC_STAT, (struct shmid_ds *)-1, EFAULT}, 88 &shm_id_3, IPC_STAT, &buf, EINVAL},
|
shmctl01.c | 24 * shmctl01 - test the IPC_STAT, IPC_SET and IPC_RMID commands as 70 /* Setup, cleanup and check routines for IPC_STAT */ 102 {&shm_id_1, IPC_STAT, &buf, func_istat, stat_setup}, 109 {&shm_id_1, IPC_STAT, &buf, func_istat, stat_setup}, 209 * stat_setup() - Set up for the IPC_STAT command with shmctl(). 276 * func_istat() - check the functionality of the IPC_STAT command with shmctl() 377 if (shmctl(shm_id_1, IPC_STAT, &buf) == -1) { 417 if (shmctl(shm_id_1, IPC_STAT, &buf) == -1) { 430 if (shmctl(shm_id_1, IPC_STAT, &buf) == -1) { 448 if (shmctl(shm_id_1, IPC_STAT, &buf) != -1 [all...] |
/bionic/tests/headers/posix/ |
sys_ipc_h.c | 58 MACRO(IPC_STAT);
|
/external/compiler-rt/test/asan/TestCases/Linux/ |
shmctl.cc | 16 int res = shmctl(id, IPC_STAT, &ds);
|
/external/strace/ |
ipc_msgctl.c | 63 case IPC_STAT: 73 if (cmd != IPC_STAT) {
|
ipc_shmctl.c | 63 case IPC_STAT: 73 if (cmd != IPC_STAT) {
|
/bionic/libc/kernel/uapi/linux/ |
ipc.h | 40 #define IPC_STAT 2
|
/external/kernel-headers/original/uapi/linux/ |
ipc.h | 41 #define IPC_STAT 2 /* get ipc_perm options */
|
/external/ltp/testcases/kernel/mem/hugetlb/hugeshmctl/ |
hugeshmctl01.c | 18 * hugeshmctl01 - test the IPC_STAT, IPC_SET and IPC_RMID commands as 79 {IPC_STAT, func_stat, stat_setup}, 80 {IPC_STAT, func_stat, stat_setup}, 135 * stat_setup() - Set up for the IPC_STAT command with shmctl(). 184 * func_stat() - check the functionality of the IPC_STAT command with shmctl() 274 if (shmctl(shm_id_1, IPC_STAT, &buf) == -1) { 298 if (shmctl(shm_id_1, IPC_STAT, &buf) != -1)
|
hugeshmctl02.c | 61 /* EFAULT - IPC_STAT & buf isn't valid */ 62 {&shm_id_2, IPC_STAT, (struct shmid_ds *)-1, EFAULT}, 64 {&shm_id_3, IPC_STAT, &buf, EINVAL},
|
/external/ltp/testcases/kernel/syscalls/ipc/msgsnd/ |
msgsnd01.c | 49 SAFE_MSGCTL(queue_id, IPC_STAT, &qs_buf);
|
/external/ltp/testcases/kernel/mem/hugetlb/hugeshmget/ |
hugeshmget01.c | 43 if (shmctl(shm_id_1, IPC_STAT, &buf) == -1) { 44 tst_res(TFAIL | TERRNO, "shmctl(IPC_STAT)");
|
/external/ltp/testcases/kernel/syscalls/ipc/semctl/ |
semctl02.c | 30 * call semctl() attempting an IPC_STAT command 87 TEST(semctl(sem_id_1, 0, IPC_STAT, un_arg));
|