Home
last modified time | relevance | path

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

1234

/third_party/ltp/testcases/kernel/syscalls/ipc/shmctl/
Dshmctl02.c63 {&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},
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()
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/
Dhugeshmctl01.c61 {IPC_STAT, func_stat, stat_setup_1},
62 {IPC_STAT, func_stat, stat_setup_2},
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()
Dhugeshmctl02.c47 {&shm_id_2, IPC_STAT, (struct shmid_ds *)-1, EFAULT},
49 {&shm_id_3, IPC_STAT, &buf, EINVAL},
/third_party/ltp/testcases/kernel/syscalls/ipc/msgctl/
Dmsgctl04.c44 {&msg_id1, IPC_STAT, &q_buf, EACCES},
46 {&msg_id2, IPC_STAT, (struct msqid_ds *)-1, EFAULT},
52 {&bad_q, IPC_STAT, &q_buf, EINVAL},
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/testcases/open_posix_testsuite/conformance/definitions/sys/shm_h/
D12-1-buildonly.c46 #ifndef IPC_STAT
47 #error IPC_STAT not defined
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
Dmsg.h28 #define MSG_STAT (11 | (IPC_STAT & 0x100))
30 #define MSG_STAT_ANY (13 | (IPC_STAT & 0x100))
Dshm.h36 #define SHM_STAT (13 | (IPC_STAT & 0x100))
38 #define SHM_STAT_ANY (15 | (IPC_STAT & 0x100))
Dsem.h32 #define SEM_STAT (18 | (IPC_STAT & 0x100))
34 #define SEM_STAT_ANY (20 | (IPC_STAT & 0x100))
/third_party/musl/include/sys/
Dmsg.h28 #define MSG_STAT (11 | (IPC_STAT & 0x100))
30 #define MSG_STAT_ANY (13 | (IPC_STAT & 0x100))
Dshm.h36 #define SHM_STAT (13 | (IPC_STAT & 0x100))
38 #define SHM_STAT_ANY (15 | (IPC_STAT & 0x100))
Dsem.h32 #define SEM_STAT (18 | (IPC_STAT & 0x100))
34 #define SEM_STAT_ANY (20 | (IPC_STAT & 0x100))
/third_party/musl/porting/liteos_m/kernel/include/sys/
Dmsg.h28 #define MSG_STAT (11 | (IPC_STAT & 0x100))
30 #define MSG_STAT_ANY (13 | (IPC_STAT & 0x100))
Dshm.h36 #define SHM_STAT (13 | (IPC_STAT & 0x100))
38 #define SHM_STAT_ANY (15 | (IPC_STAT & 0x100))
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/
Dmsg.h28 #define MSG_STAT (11 | (IPC_STAT & 0x100))
30 #define MSG_STAT_ANY (13 | (IPC_STAT & 0x100))
Dshm.h36 #define SHM_STAT (13 | (IPC_STAT & 0x100))
38 #define SHM_STAT_ANY (15 | (IPC_STAT & 0x100))
Dsem.h32 #define SEM_STAT (18 | (IPC_STAT & 0x100))
34 #define SEM_STAT_ANY (20 | (IPC_STAT & 0x100))
/third_party/ltp/lib/
Dtst_safe_sysv_ipc.c21 case IPC_STAT: in msg_ret_check()
36 case IPC_STAT: in shm_ret_check()
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/
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/
Dshm.h36 #define SHM_STAT (13 | (IPC_STAT & 0x100))
38 #define SHM_STAT_ANY (15 | (IPC_STAT & 0x100))
/third_party/musl/porting/liteos_a/user/src/ipc/
Dsemctl.c27 case IPC_STAT & ~IPC_TIME64: in semctl()
57 case IPC_STAT: in semctl()
/third_party/musl/src/ipc/
Dsemctl.c26 case IPC_STAT & ~IPC_TIME64: in semctl()
56 case IPC_STAT: in semctl()

1234