Home
last modified time | relevance | path

Searched refs:IPC_STAT (Results 1 - 25 of 85) sorted by relevance

1234

/third_party/ltp/testcases/kernel/syscalls/ipc/shmctl/
H A Dshmctl02.c18 * * 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 Dshmctl08.c56 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 Dshmctl07.c34 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 Dhugeshmctl01.c9 * 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 Dhugeshmctl02.c46 /* 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 Dmsg.h28 #define MSG_STAT (11 | (IPC_STAT & 0x100))
30 #define MSG_STAT_ANY (13 | (IPC_STAT & 0x100))
H A Dshm.h36 #define SHM_STAT (13 | (IPC_STAT & 0x100))
38 #define SHM_STAT_ANY (15 | (IPC_STAT & 0x100))
H A Dsem.h32 #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 Dmsg.h28 #define MSG_STAT (11 | (IPC_STAT & 0x100))
30 #define MSG_STAT_ANY (13 | (IPC_STAT & 0x100))
H A Dsem.h32 #define SEM_STAT (18 | (IPC_STAT & 0x100))
34 #define SEM_STAT_ANY (20 | (IPC_STAT & 0x100))
H A Dshm.h36 #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 Dmsg.h28 #define MSG_STAT (11 | (IPC_STAT & 0x100))
30 #define MSG_STAT_ANY (13 | (IPC_STAT & 0x100))
H A Dshm.h36 #define SHM_STAT (13 | (IPC_STAT & 0x100))
38 #define SHM_STAT_ANY (15 | (IPC_STAT & 0x100))
H A Dsem.h32 #define SEM_STAT (18 | (IPC_STAT & 0x100))
34 #define SEM_STAT_ANY (20 | (IPC_STAT & 0x100))
/third_party/musl/include/sys/
H A Dmsg.h28 #define MSG_STAT (11 | (IPC_STAT & 0x100))
30 #define MSG_STAT_ANY (13 | (IPC_STAT & 0x100))
H A Dshm.h36 #define SHM_STAT (13 | (IPC_STAT & 0x100))
38 #define SHM_STAT_ANY (15 | (IPC_STAT & 0x100))
H A Dsem.h32 #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 Dmsgctl04.c44 {&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 Dmsgctl02.c37 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 Dtst_safe_sysv_ipc.c16 * 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 Dshm.h30 #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 Dshm.h36 #define SHM_STAT (13 | (IPC_STAT & 0x100))
38 #define SHM_STAT_ANY (15 | (IPC_STAT & 0x100))
/third_party/musl/src/ipc/
H A Dsemctl.c26 case IPC_STAT & ~IPC_TIME64: in semctl()
56 case IPC_STAT: in semctl()
/third_party/musl/porting/liteos_a/user/src/ipc/
H A Dsemctl.c27 case IPC_STAT & ~IPC_TIME64: in semctl()
57 case IPC_STAT: in semctl()
/third_party/musl/libc-test/src/functional/
H A Dipc_shm.c52 T(shmctl(shmid, IPC_STAT, &shmid_ds)); in set()
72 T(shmctl(shmid, IPC_STAT, &shmid_ds)); in set()

Completed in 8 milliseconds

1234