Home
last modified time | relevance | path

Searched refs:SETVAL (Results 1 - 25 of 27) sorted by relevance

12

/third_party/ltp/testcases/kernel/syscalls/ipc/semctl/
H A Dsemctl05.c35 {5, SETVAL, {.val = -1}, "the value to set is less than zero"},
37 {5, SETVAL, {.val = BIGV}, "the value to set is too large"}
H A Dsemctl07.c18 * - semctl() with SETVAL and GETVAL
82 if ((status = semctl(semid, 0, SETVAL, arg)) < 0) in verify_semctl()
83 tst_res(TFAIL | TERRNO, "SEMCTL(SETVAL)"); in verify_semctl()
85 tst_res(TPASS, "semctl(SETVAL) succeeded"); in verify_semctl()
H A Dsemctl01.c256 {&sem_id, 4, SETVAL, func_sval, SEMUN_CAST INCVAL, NULL},
/third_party/ltp/testcases/kernel/containers/sysvipc/
H A Dsem_comm.c50 SAFE_SEMCTL(id, 0, SETVAL, su); in chld1_sem()
77 SAFE_SEMCTL(id, 0, SETVAL, su); in chld2_sem()
/third_party/ltp/testcases/kernel/syscalls/sendmsg/
H A Dsendmsg02.c134 if (semctl(sem_id, 0, SETVAL, u) == -1) in reproduce()
174 if (semctl(sem_id, 0, SETVAL, u) == -1) { in reproduce()
/third_party/ltp/lib/
H A Dtst_safe_sysv_ipc.c48 * The IPC_STAT, IPC_SET, IPC_RMID, SETALL, SETVAL can return either 0 or -1.
57 case SETVAL: in sem_ret_check()
238 case SETVAL: in safe_semctl()
/third_party/musl/porting/uniproton/kernel/include/sys/
H A Dsem.h25 #define SETVAL 16 macro
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
H A Dsem.h25 #define SETVAL 16 macro
/third_party/musl/porting/liteos_m/kernel/include/sys/
H A Dsem.h25 #define SETVAL 16 macro
/third_party/musl/include/sys/
H A Dsem.h25 #define SETVAL 16 macro
/third_party/ltp/testcases/kernel/syscalls/ipc/semop/
H A Dsemop04.c74 SAFE_SEMCTL(semid, 0, SETVAL, semunion); in run()
H A Dsemop05.c89 semctl(sem_id, 0, SETVAL, semunion); in main()
H A Dsemop01.c61 if (semctl(sem_id, i, SETVAL, arr) == -1) in run()
62 tst_brk(TBROK | TERRNO, "semctl(%i, %i, SETVAL, ...)", sem_id, i); in run()
H A Dsemop03.c96 if (semctl(sem_id, tc[i].num, SETVAL, tc[i].semunptr) == -1) in run()
H A Dsemop02.c128 if (semctl(valid_sem_id, tc[i].ctl_sem_num, SETVAL, arr) == -1) in run()
129 tst_brk(TBROK | TERRNO, "semctl() SETVAL failed"); in run()
/third_party/musl/libc-test/src/api/
H A Dsys_sem.c16 C(SETVAL) in f()
/third_party/musl/src/ipc/
H A Dsemctl.c24 case SETVAL: case GETALL: case SETALL: case IPC_SET: in semctl()
/third_party/musl/porting/liteos_a/user/src/ipc/
H A Dsemctl.c25 case SETVAL: case GETALL: case SETALL: case IPC_SET: in semctl()
/third_party/ltp/testcases/kernel/ipc/semaphore/
H A Dsem02.c89 semctl(sem_id, 0, SETVAL, semunion); in main()
H A Dsem01.c133 if (semctl(semid, 0, SETVAL, semunion) == -1) { in main()
/third_party/ltp/testcases/kernel/ipc/pipeio/
H A Dpipeio.c463 if (semctl(sem_id, 0, SETVAL, u) == -1) { in setup()
468 if (semctl(sem_id, 1, SETVAL, u) == -1) { in setup()
/third_party/ltp/testcases/kernel/mce-test/hwpoison/
H A Dthugetlb.c233 semaphore = semctl(semid, 0, SETVAL, 1); in main()
H A Dtinjpage.c665 semaphore = semctl(sem_id, 0, SETVAL, 1); in do_shared()
/third_party/ltp/testcases/kernel/mce-test/tsrc/
H A Dthugetlb.c233 semaphore = semctl(semid, 0, SETVAL, 1); in main()
/third_party/ltp/testcases/kernel/mce-test/stress/tools/page-poisoning/
H A Dpage-poisoning.c653 semctl(semid_ready, 0, SETVAL, sunion); in setup_ipc()
662 semctl(semid_ready, 1, SETVAL, sunion); in setup_ipc()

Completed in 10 milliseconds

12