Home
last modified time | relevance | path

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

123

/external/strace/xlat/
Dmsgctl_flags.h20 #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),
Dshmctl_flags.h20 #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),
Dsemctl_flags.h20 #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),
Dmsgctl_flags.in4 IPC_STAT 2
Dshmctl_flags.in4 IPC_STAT 2
Dsemctl_flags.in4 IPC_STAT 2
/external/ltp/testcases/kernel/syscalls/ipc/shmctl/
Dshmctl01.c102 {&shm_id_1, IPC_STAT, &buf, func_istat, stat_setup},
109 {&shm_id_1, IPC_STAT, &buf, func_istat, stat_setup},
377 if (shmctl(shm_id_1, IPC_STAT, &buf) == -1) { in func_set()
417 if (shmctl(shm_id_1, IPC_STAT, &buf) == -1) { in func_lock()
430 if (shmctl(shm_id_1, IPC_STAT, &buf) == -1) { in func_unlock()
448 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/syzkaller/sys/netbsd/
Dipc.txt23 msgctl$IPC_STAT(msqid ipc_msq, cmd const[IPC_STAT], buf buffer[out])
31 semctl$IPC_STAT(semid ipc_sem, semnum const[0], cmd const[IPC_STAT], arg buffer[out])
49 shmctl$IPC_STAT(shmid ipc_shm, cmd const[IPC_STAT], buf buffer[out])
Dipc_amd64.const13 IPC_STAT = 2
/external/ltp/testcases/kernel/mem/hugetlb/hugeshmctl/
Dhugeshmctl01.c79 {IPC_STAT, func_stat, stat_setup},
80 {IPC_STAT, func_stat, stat_setup},
274 if (shmctl(shm_id_1, IPC_STAT, &buf) == -1) { in func_set()
298 if (shmctl(shm_id_1, IPC_STAT, &buf) != -1) in func_rmid()
Dhugeshmctl02.c62 {&shm_id_2, IPC_STAT, (struct shmid_ds *)-1, EFAULT},
64 {&shm_id_3, IPC_STAT, &buf, EINVAL},
/external/ltp/testcases/kernel/syscalls/ipc/msgctl/
Dmsgctl04.c46 {&msg_id1, IPC_STAT, &q_buf, EACCES},
48 {&msg_id2, IPC_STAT, (struct msqid_ds *)-1, EFAULT},
54 {&bad_q, IPC_STAT, &q_buf, EINVAL},
Dmsgctl02.c50 SAFE_MSGCTL(msg_id, IPC_STAT, &buf); in verify_msgctl()
70 SAFE_MSGCTL(msg_id, IPC_STAT, &orig_buf); in setup()
Dmsgctl03.c42 TEST(msgctl(msg_q, IPC_STAT, &buf)); in verify_msgctl()
/external/syzkaller/sys/freebsd/
Dipc.txt23 msgctl$IPC_STAT(msqid ipc_msq, cmd const[IPC_STAT], buf buffer[out])
32 semctl$IPC_STAT(semid ipc_sem, semnum const[0], cmd const[IPC_STAT], arg buffer[out])
53 shmctl$IPC_STAT(shmid ipc_shm, cmd const[IPC_STAT], buf buffer[out])
Dipc_amd64.const14 IPC_STAT = 2
/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/syzkaller/sys/linux/
Dipc.txt20 msgctl$IPC_STAT(msqid ipc_msq, cmd const[IPC_STAT], buf buffer[out])
32 semctl$IPC_STAT(semid ipc_sem, semnum const[0], cmd const[IPC_STAT], arg buffer[out])
53 shmctl$IPC_STAT(shmid ipc_shm, cmd const[IPC_STAT], buf buffer[out])
/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-mx32/
Dipc_shm.c179 rc = shmctl(bogus_id, IPC_STAT, bogus_addr); in main()
184 if (shmctl(id, IPC_STAT, &ds)) in main()
/external/strace/tests-m32/
Dipc_shm.c179 rc = shmctl(bogus_id, IPC_STAT, bogus_addr); in main()
184 if (shmctl(id, IPC_STAT, &ds)) in main()
/external/strace/tests/
Dipc_shm.c179 rc = shmctl(bogus_id, IPC_STAT, bogus_addr); in main()
184 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()

123