Home
last modified time | relevance | path

Searched refs:IPC_SET (Results 1 - 25 of 35) sorted by relevance

12

/third_party/ltp/lib/
H A Dtst_safe_sysv_ipc.c16 * The IPC_STAT, IPC_SET, IPC_RMID can return either 0 or -1.
22 case IPC_SET: in msg_ret_check()
31 * The IPC_STAT, IPC_SET, IPC_RMID, SHM_LOCK, SHM_UNLOCK can return either 0 or -1.
37 case IPC_SET: in shm_ret_check()
48 * The IPC_STAT, IPC_SET, IPC_RMID, SETALL, SETVAL can return either 0 or -1.
54 case IPC_SET: in sem_ret_check()
242 case IPC_SET: in safe_semctl()
/third_party/ltp/testcases/kernel/syscalls/ipc/msgctl/
H A Dmsgctl02.c8 * Create a message queue, then issue the IPC_SET command to lower the
27 TEST(msgctl(msg_id, IPC_SET, &buf)); in verify_msgctl()
30 tst_res(TFAIL | TTERRNO, "msgctl(IPC_SET) failed"); in verify_msgctl()
34 tst_res(TPASS, "msgctl(IPC_SET) msg_qbytes - 1"); in verify_msgctl()
48 SAFE_MSGCTL(msg_id, IPC_SET, &orig_buf); in verify_msgctl()
H A Dmsgctl04.c47 /* EFAULT - the structure address is invalid - IPC_SET */
48 {&msg_id2, IPC_SET, (struct msqid_ds *)-1, EFAULT},
53 /* EINVAL - the queue id is invalid - IPC_SET */
54 {&bad_q, IPC_SET, &q_buf, EINVAL},
/third_party/ltp/testcases/kernel/syscalls/ipc/semctl/
H A Dsemctl04.c13 * Runs IPC_SET and IPC_RMID from unprivileged child process.
27 static int tcases[] = { IPC_SET, IPC_RMID };
36 if (tcases[i] == IPC_SET) { in do_child()
H A Dsemctl03.c59 {&sem_id, IPC_SET, &bad_ptr, EFAULT, "invalid union arg"}
H A Dsemctl01.c249 {&sem_id, 0, IPC_SET, func_set, SEMUN_CAST & buf, set_setup},
/third_party/musl/src/ipc/
H A Dsemctl.c24 case SETVAL: case GETALL: case SETALL: case IPC_SET: in semctl()
43 if (cmd == IPC_SET) { in semctl()
H A Dshmctl.c22 if (cmd == IPC_SET) { in shmctl()
H A Dmsgctl.c24 if (cmd == IPC_SET) { in msgctl()
/third_party/musl/porting/liteos_a/user/src/ipc/
H A Dsemctl.c25 case SETVAL: case GETALL: case SETALL: case IPC_SET: in semctl()
44 if (cmd == IPC_SET) { in semctl()
H A Dmsgctl.c25 if (cmd == IPC_SET) { in msgctl()
/third_party/ltp/testcases/kernel/syscalls/ipc/shmctl/
H A Dshmctl02.c17 * * EFAULT - IPC_SET & buf isn't valid
64 {&shm_id2, IPC_SET, (struct shmid_ds *)-1, EFAULT},
72 {&shm_id3, IPC_SET, &buf, EPERM},
H A Dshmctl08.c27 TEST(shmctl(shm_id, IPC_SET, ds)); in test_ipc_set()
30 tst_res(TFAIL, "shmctl(%i, IPC_SET, ...)", shm_id); in test_ipc_set()
34 tst_res(TPASS, "shmctl(%i, IPC_SET, {shm_perm.mode=%04o})", in test_ipc_set()
/third_party/musl/porting/liteos_a_newlib/kernel/include/sys/
H A Dipc.h26 #define IPC_SET 1 macro
/third_party/musl/porting/liteos_m/kernel/include/sys/
H A Dipc.h32 #define IPC_SET 1 macro
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
H A Dipc.h32 #define IPC_SET 1 macro
/third_party/musl/porting/uniproton/kernel/include/sys/
H A Dipc.h32 #define IPC_SET 1 macro
/third_party/musl/include/sys/
H A Dipc.h32 #define IPC_SET 1 macro
/third_party/musl/porting/liteos_a/kernel/include/sys/
H A Dipc.h32 #define IPC_SET 1 macro
/third_party/musl/libc-test/src/api/
H A Dsys_ipc.c24 C(IPC_SET) in f()
H A Dsys_sem.c52 C(IPC_SET) in f()
H A Dsys_shm.c47 C(IPC_SET) in f()
/third_party/ltp/testcases/kernel/mem/hugetlb/hugeshmctl/
H A Dhugeshmctl03.c55 /* EPERM - IPC_SET - child doesn't have permission to change segment */
56 {&shm_id_1, IPC_SET, &buf, EPERM},
H A Dhugeshmctl02.c44 /* EFAULT - IPC_SET & buf isn't valid */
45 {&shm_id_2, IPC_SET, (struct shmid_ds *)-1, EFAULT},
H A Dhugeshmctl01.c9 * hugeshmctl01 - test the IPC_STAT, IPC_SET and IPC_RMID commands as
63 {IPC_SET, func_set, set_setup},
230 * set_setup() - set up for the IPC_SET command with shmctl()
242 * func_set() - check the functionality of the IPC_SET command with shmctl()

Completed in 6 milliseconds

12