Searched refs:semctl (Results 1 - 5 of 5) sorted by relevance
/test/xts/hats/kernel/syscall_ipc/semctl/ |
H A D | SemctlApiTest.cpp | 67 * @tc.desc : semctl command test success. 82 int ret = semctl(semid, SEMPAHORE_NUM, IPC_SET, &sem); in HWTEST_F() 85 ret = semctl(semid, SEMPAHORE_NUM, IPC_STAT, &buffer); in HWTEST_F() 88 ret = semctl(semid, SEMPAHORE_NUM, IPC_RMID); in HWTEST_F() 95 * @tc.desc : semctl use valid id fail. 106 int ret = semctl(-1, SEMPAHORE_NUM, IPC_STAT, &sem); in HWTEST_F() 114 * @tc.desc : semctl use valid cmd fail. 125 int ret = semctl(semid, SEMPAHORE_NUM, 999); in HWTEST_F() 129 ret = semctl(semid, SEMPAHORE_NUM, IPC_RMID); in HWTEST_F()
|
/test/xts/hats/kernel/syscall_ipc/semget/ |
H A D | SemgetApiTest.cpp | 69 int ret = semctl(semid, SEMPAHORE_NUM, IPC_RMID); in HWTEST_F() 94 int ret = semctl(semid1, SEMPAHORE_NUM, IPC_RMID); in HWTEST_F()
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/os/Huawei_LiteOS/components/lib/libc/musl/include/sys/ |
H A D | sem.h | 55 int semctl(int, int, int, ...);
|
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/ |
H A D | semndk.cpp | 71 int semval = semctl(semid, PARAM_0, GETVAL);
in Semctl() 101 {"semctl", nullptr, Semctl, nullptr, nullptr, nullptr, napi_default, nullptr},
in Init()
|
/device/soc/rockchip/common/sdk_linux/ipc/ |
H A D | sem.c | 34 * - sem_ctime (time of last semctl()) is updated in the IPC_SET, SETVAL and
36 * - two Linux specific semctl() commands: SEM_STAT, SEM_INFO.
46 * - semop() calls and semctl(RMID) are synchronized by RCU.
62 * have been destroyed already by a semctl(RMID).
101 * - semctl, via SETVAL and SETALL.
116 time64_t sem_ctime; /* create/last semctl() time */
1104 pr_info_once("semctl(GETNCNT/GETZCNT) is since 3.16 Single Unix Specification compliant.\n"
in check_qop() 1632 * This function handles some semctl commands which require the rwsem
1744 SYSCALL_DEFINE4(semctl, int, semid, int, semnum, int, cmd, unsigned long, arg)
in SYSCALL_DEFINE4() 1860 COMPAT_SYSCALL_DEFINE4(semctl, in [all...] |
Completed in 4 milliseconds