Home
last modified time | relevance | path

Searched refs:IPC_STAT (Results 1 – 25 of 59) sorted by relevance

123

/external/ltp/testcases/kernel/syscalls/ipc/shmctl/
Dshmctl01.c101 {&shm_id_1, IPC_STAT, &buf, func_istat, stat_setup},
108 {&shm_id_1, IPC_STAT, &buf, func_istat, stat_setup},
378 if (shmctl(shm_id_1, IPC_STAT, &buf) == -1) { in func_set()
418 if (shmctl(shm_id_1, IPC_STAT, &buf) == -1) { in func_lock()
431 if (shmctl(shm_id_1, IPC_STAT, &buf) == -1) { in func_unlock()
449 if (shmctl(shm_id_1, IPC_STAT, &buf) != -1) in func_rmid()
Dshmctl02.c79 &shm_id_1, IPC_STAT, &buf, EACCES},
85 &shm_id_2, IPC_STAT, (struct shmid_ds *)-1, EFAULT},
88 &shm_id_3, IPC_STAT, &buf, EINVAL},
/external/ltp/testcases/kernel/syscalls/ipc/msgctl/
Dmsgctl04.c83 &msg_q_1, IPC_STAT, &q_buf, EACCES},
86 &msg_q_2, IPC_STAT, (struct msqid_ds *)-1, EFAULT},
95 &bad_q, IPC_STAT, &q_buf, EINVAL},
Dmsgctl02.c96 if ((msgctl(msg_q_1, IPC_STAT, &qs_buf) == -1)) { in main()
155 if ((msgctl(msg_q_1, IPC_STAT, &qs_buf)) == -1) { in setup()
Dmsgctl06.c79 TEST(msgctl(msqid, IPC_STAT, &buf)); in main()
135 if ((status = msgctl(msqid, IPC_STAT, &buf)) != -1) { in cleanup()
Dmsgctl03.c89 if ((msgctl(msg_q_1, IPC_STAT, &qs_buf) == -1)) { in main()
Dmsgctl01.c88 TEST(msgctl(msg_q_1, IPC_STAT, &qs_buf)); in main()
Dmsgctl13.c77 TEST(msgctl(msg_q, IPC_STAT, &buf)); in msgctl_verify()
/external/ltp/testcases/open_posix_testsuite/conformance/definitions/sys/shm_h/
D12-1-buildonly.c46 #ifndef IPC_STAT
47 #error IPC_STAT not defined
/external/strace/xlat/
Dmsgctl_flags.h25 #if defined(IPC_STAT) || (defined(HAVE_DECL_IPC_STAT) && HAVE_DECL_IPC_STAT)
26 XLAT(IPC_STAT),
Dshmctl_flags.h25 #if defined(IPC_STAT) || (defined(HAVE_DECL_IPC_STAT) && HAVE_DECL_IPC_STAT)
26 XLAT(IPC_STAT),
Dsemctl_flags.h23 #if defined(IPC_STAT) || (defined(HAVE_DECL_IPC_STAT) && HAVE_DECL_IPC_STAT)
24 XLAT(IPC_STAT),
Dmsgctl_flags.in3 IPC_STAT
Dshmctl_flags.in3 IPC_STAT
Dsemctl_flags.in3 IPC_STAT
/external/ltp/testcases/kernel/mem/hugetlb/hugeshmctl/
Dhugeshmctl01.c106 IPC_STAT, func_stat, stat_setup}, {
107 IPC_STAT, func_stat, stat_setup}, {
349 if (shmctl(shm_id_1, IPC_STAT, &buf) == -1) { in func_set()
373 if (shmctl(shm_id_1, IPC_STAT, &buf) != -1) in func_rmid()
Dhugeshmctl02.c87 &shm_id_2, IPC_STAT, (struct shmid_ds *)-1, EFAULT},
90 &shm_id_3, IPC_STAT, &buf, EINVAL},
/external/strace/
Dipc_shmctl.c63 case IPC_STAT: in print_shmid_ds()
73 if (cmd != IPC_STAT) { in print_shmid_ds()
Dipc_msgctl.c63 case IPC_STAT: in print_msqid_ds()
73 if (cmd != IPC_STAT) { in print_msqid_ds()
/external/strace/tests-m32/
Dipc_shm.c91 rc = shmctl(bogus_id, IPC_STAT, bogus_addr); in main()
95 if (shmctl(id, IPC_STAT, &ds)) in main()
/external/strace/tests-mx32/
Dipc_shm.c91 rc = shmctl(bogus_id, IPC_STAT, bogus_addr); in main()
95 if (shmctl(id, IPC_STAT, &ds)) in main()
/external/strace/tests/
Dipc_shm.c91 rc = shmctl(bogus_id, IPC_STAT, bogus_addr); in main()
95 if (shmctl(id, IPC_STAT, &ds)) in main()
/external/compiler-rt/test/asan/TestCases/Linux/
Dshmctl.cc16 int res = shmctl(id, IPC_STAT, &ds); in main()
/external/valgrind/memcheck/tests/solaris/
Dshmat.c23 int ret = shmctl(shmid, IPC_STAT, &stats); in main()
/external/kernel-headers/original/uapi/linux/
Dipc.h40 #define IPC_STAT 2 /* get ipc_perm options */ macro

123