/third_party/ltp/testcases/kernel/syscalls/ipc/shmctl/ |
H A D | shmctl02.c | 18 * * EFAULT - IPC_STAT & buf isn't valid 63 {&shm_id1, IPC_STAT, &buf, EACCES}, 65 {&shm_id2, IPC_STAT, (struct shmid_ds *)-1, EFAULT}, 67 {&shm_bad, IPC_STAT, &buf, EINVAL}, 68 {&shm_rem, IPC_STAT, &buf, EINVAL}, 70 {&shm_id3, IPC_STAT, &buf, EACCES},
|
H A D | shmctl08.c | 56 SAFE_SHMCTL(shm_id, IPC_STAT, &ds); in verify_shmset() 71 SAFE_SHMCTL(shm_id, IPC_STAT, &ds); in verify_shmset() 87 SAFE_SHMCTL(shm_id, IPC_STAT, &ds); in verify_shmset()
|
H A D | shmctl07.c | 34 SAFE_SHMCTL(shm_id, IPC_STAT, &ds); in verify_shmlock() 48 SAFE_SHMCTL(shm_id, IPC_STAT, &ds); in verify_shmlock()
|
/third_party/ltp/testcases/kernel/mem/hugetlb/hugeshmctl/ |
H A D | hugeshmctl01.c | 9 * hugeshmctl01 - test the IPC_STAT, IPC_SET and IPC_RMID commands as 61 {IPC_STAT, func_stat, stat_setup_1}, 62 {IPC_STAT, func_stat, stat_setup_2}, 105 * stat_setup_2() - Set up for the IPC_STAT command with shmctl(). 117 * stat_setup_1() - Set up for the IPC_STAT command with shmctl(). 153 * func_stat() - check the functionality of the IPC_STAT command with shmctl() 247 if (shmctl(shm_id_1, IPC_STAT, &buf) == -1) { in func_set() 271 if (shmctl(shm_id_1, IPC_STAT, &buf) != -1) in func_rmid()
|
H A D | hugeshmctl02.c | 46 /* EFAULT - IPC_STAT & buf isn't valid */ 47 {&shm_id_2, IPC_STAT, (struct shmid_ds *)-1, EFAULT}, 49 {&shm_id_3, IPC_STAT, &buf, EINVAL},
|
/third_party/musl/porting/liteos_m/kernel/include/sys/ |
H A D | msg.h | 28 #define MSG_STAT (11 | (IPC_STAT & 0x100)) 30 #define MSG_STAT_ANY (13 | (IPC_STAT & 0x100))
|
H A D | shm.h | 36 #define SHM_STAT (13 | (IPC_STAT & 0x100)) 38 #define SHM_STAT_ANY (15 | (IPC_STAT & 0x100))
|
H A D | sem.h | 32 #define SEM_STAT (18 | (IPC_STAT & 0x100)) 34 #define SEM_STAT_ANY (20 | (IPC_STAT & 0x100))
|
/third_party/musl/porting/uniproton/kernel/include/sys/ |
H A D | msg.h | 28 #define MSG_STAT (11 | (IPC_STAT & 0x100)) 30 #define MSG_STAT_ANY (13 | (IPC_STAT & 0x100))
|
H A D | sem.h | 32 #define SEM_STAT (18 | (IPC_STAT & 0x100)) 34 #define SEM_STAT_ANY (20 | (IPC_STAT & 0x100))
|
H A D | shm.h | 36 #define SHM_STAT (13 | (IPC_STAT & 0x100)) 38 #define SHM_STAT_ANY (15 | (IPC_STAT & 0x100))
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/ |
H A D | msg.h | 28 #define MSG_STAT (11 | (IPC_STAT & 0x100)) 30 #define MSG_STAT_ANY (13 | (IPC_STAT & 0x100))
|
H A D | shm.h | 36 #define SHM_STAT (13 | (IPC_STAT & 0x100)) 38 #define SHM_STAT_ANY (15 | (IPC_STAT & 0x100))
|
H A D | sem.h | 32 #define SEM_STAT (18 | (IPC_STAT & 0x100)) 34 #define SEM_STAT_ANY (20 | (IPC_STAT & 0x100))
|
/third_party/musl/include/sys/ |
H A D | msg.h | 28 #define MSG_STAT (11 | (IPC_STAT & 0x100)) 30 #define MSG_STAT_ANY (13 | (IPC_STAT & 0x100))
|
H A D | shm.h | 36 #define SHM_STAT (13 | (IPC_STAT & 0x100)) 38 #define SHM_STAT_ANY (15 | (IPC_STAT & 0x100))
|
H A D | sem.h | 32 #define SEM_STAT (18 | (IPC_STAT & 0x100)) 34 #define SEM_STAT_ANY (20 | (IPC_STAT & 0x100))
|
/third_party/ltp/testcases/kernel/syscalls/ipc/msgctl/ |
H A D | msgctl04.c | 44 {&msg_id1, IPC_STAT, &q_buf, EACCES}, 45 /* EFAULT - the structure address is invalid - IPC_STAT */ 46 {&msg_id2, IPC_STAT, (struct msqid_ds *)-1, EFAULT}, 51 /* EINVAL - the queue id is invalid - IPC_STAT */ 52 {&bad_q, IPC_STAT, &q_buf, EINVAL},
|
H A D | msgctl02.c | 37 SAFE_MSGCTL(msg_id, IPC_STAT, &buf); in verify_msgctl() 57 SAFE_MSGCTL(msg_id, IPC_STAT, &orig_buf); in setup()
|
/third_party/ltp/lib/ |
H A D | tst_safe_sysv_ipc.c | 16 * The IPC_STAT, IPC_SET, IPC_RMID can return either 0 or -1. 21 case IPC_STAT: in msg_ret_check() 31 * The IPC_STAT, IPC_SET, IPC_RMID, SHM_LOCK, SHM_UNLOCK can return either 0 or -1. 36 case IPC_STAT: in shm_ret_check() 48 * The IPC_STAT, IPC_SET, IPC_RMID, SETALL, SETVAL can return either 0 or -1. 53 case IPC_STAT: in sem_ret_check() 241 case IPC_STAT: in safe_semctl()
|
/third_party/musl/porting/liteos_a_newlib/kernel/include/sys/ |
H A D | shm.h | 30 #define SHM_STAT (13 | (IPC_STAT & 0x100)) 32 #define SHM_STAT_ANY (15 | (IPC_STAT & 0x100))
|
/third_party/musl/porting/liteos_a/kernel/include/sys/ |
H A D | shm.h | 36 #define SHM_STAT (13 | (IPC_STAT & 0x100)) 38 #define SHM_STAT_ANY (15 | (IPC_STAT & 0x100))
|
/third_party/musl/src/ipc/ |
H A D | semctl.c | 26 case IPC_STAT & ~IPC_TIME64: in semctl() 56 case IPC_STAT: in semctl()
|
/third_party/musl/porting/liteos_a/user/src/ipc/ |
H A D | semctl.c | 27 case IPC_STAT & ~IPC_TIME64: in semctl() 57 case IPC_STAT: in semctl()
|
/third_party/musl/libc-test/src/functional/ |
H A D | ipc_shm.c | 52 T(shmctl(shmid, IPC_STAT, &shmid_ds)); in set() 72 T(shmctl(shmid, IPC_STAT, &shmid_ds)); in set()
|