/third_party/ltp/testcases/kernel/syscalls/ipc/semctl/ |
H A D | semctl05.c | 35 {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 D | semctl07.c | 18 * - 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 D | semctl01.c | 256 {&sem_id, 4, SETVAL, func_sval, SEMUN_CAST INCVAL, NULL},
|
/third_party/ltp/testcases/kernel/containers/sysvipc/ |
H A D | sem_comm.c | 50 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 D | sendmsg02.c | 134 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 D | tst_safe_sysv_ipc.c | 48 * 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 D | sem.h | 25 #define SETVAL 16 macro
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/ |
H A D | sem.h | 25 #define SETVAL 16 macro
|
/third_party/musl/porting/liteos_m/kernel/include/sys/ |
H A D | sem.h | 25 #define SETVAL 16 macro
|
/third_party/musl/include/sys/ |
H A D | sem.h | 25 #define SETVAL 16 macro
|
/third_party/ltp/testcases/kernel/syscalls/ipc/semop/ |
H A D | semop04.c | 74 SAFE_SEMCTL(semid, 0, SETVAL, semunion); in run()
|
H A D | semop05.c | 89 semctl(sem_id, 0, SETVAL, semunion); in main()
|
H A D | semop01.c | 61 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 D | semop03.c | 96 if (semctl(sem_id, tc[i].num, SETVAL, tc[i].semunptr) == -1) in run()
|
H A D | semop02.c | 128 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 D | sys_sem.c | 16 C(SETVAL) in f()
|
/third_party/musl/src/ipc/ |
H A D | semctl.c | 24 case SETVAL: case GETALL: case SETALL: case IPC_SET: in semctl()
|
/third_party/musl/porting/liteos_a/user/src/ipc/ |
H A D | semctl.c | 25 case SETVAL: case GETALL: case SETALL: case IPC_SET: in semctl()
|
/third_party/ltp/testcases/kernel/ipc/semaphore/ |
H A D | sem02.c | 89 semctl(sem_id, 0, SETVAL, semunion); in main()
|
H A D | sem01.c | 133 if (semctl(semid, 0, SETVAL, semunion) == -1) { in main()
|
/third_party/ltp/testcases/kernel/ipc/pipeio/ |
H A D | pipeio.c | 463 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 D | thugetlb.c | 233 semaphore = semctl(semid, 0, SETVAL, 1); in main()
|
H A D | tinjpage.c | 665 semaphore = semctl(sem_id, 0, SETVAL, 1); in do_shared()
|
/third_party/ltp/testcases/kernel/mce-test/tsrc/ |
H A D | thugetlb.c | 233 semaphore = semctl(semid, 0, SETVAL, 1); in main()
|
/third_party/ltp/testcases/kernel/mce-test/stress/tools/page-poisoning/ |
H A D | page-poisoning.c | 653 semctl(semid_ready, 0, SETVAL, sunion); in setup_ipc() 662 semctl(semid_ready, 1, SETVAL, sunion); in setup_ipc()
|