Home
last modified time | relevance | path

Searched refs:sem_wait (Results 1 – 25 of 30) sorted by relevance

12

/kernel/liteos_m/testsuites/sample/posix/mutex/
DIt_posix_mutex_017.c51 ret = sem_wait(&sem); in Testcase()
63 ret = sem_wait(&sem); in Testcase()
69 ret = sem_wait(&sem); in Testcase()
DIt_posix_mutex_037.c93 ret = sem_wait(&g_sem038); in Testcase()
99 ret = sem_wait(&g_sem038); in Testcase()
DIt_posix_mutex_048.c48 ret = sem_wait(&g_sem074); in TaskF01()
94 ret = sem_wait(&g_sem074); in TaskF03()
DIt_posix_mutex_043.c43 ret = sem_wait(&g_sem079); in TaskF01()
DIt_posix_mutex_049.c46 ret = sem_wait(&g_sem075); in TaskF01()
/kernel/liteos_a/testsuites/kernel/sample/posix/mutex/full/
DIt_posix_mutex_059.c58 ret = sem_wait(&sem); in Testcase()
73 ret = sem_wait(&sem); in Testcase()
79 ret = sem_wait(&sem); in Testcase()
DIt_posix_mutex_038.c114 if ((ret = sem_wait(&g_sem038))) { in Testcase()
122 if ((ret = sem_wait(&g_sem038))) { in Testcase()
DIt_posix_mutex_022.c59 if ((ret = sem_wait(&g_semB))) { in UnlockIssue022()
133 if ((ret = sem_wait(&g_semA))) { in Testcase()
DIt_posix_mutex_074.c55 ret = sem_wait(&g_sem074); in TaskF01()
99 ret = sem_wait(&g_sem074); in TaskF03()
DIt_posix_mutex_079.c50 ret = sem_wait(&g_sem079); in TaskF01()
DIt_posix_mutex_075.c53 ret = sem_wait(&g_sem075); in TaskF01()
/kernel/liteos_m/testsuites/unittest/xts/ipc/semaphone/
Dsem_test.c95 ret = sem_wait(&sem);
98 ret = sem_wait(&sem);
101 ret = sem_wait(&sem);
117 ret = sem_wait(sem); in ThreadChat()
174 ret = sem_wait(sem); in ThreadNThreadWait1()
196 ret = sem_wait(sem); in ThreadNThreadWait2()
Dsem_xts_test.c176 ret = sem_wait(&sem);
182 ret = sem_wait(&sem);
185 ret = sem_wait(&sem);
223 ret = sem_wait(sem); in ThreadChatF01()
341 ret = sem_wait(sem); in ThreadNThreadWaitF01()
365 ret = sem_wait(sem); in ThreadNThreadWaitF02()
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/ptrace/
Dchild.h90 ret = sem_wait(&sync->sem_parent); in wait_child()
118 ret = sem_wait(&sync->sem_child); in wait_parent()
/kernel/liteos_a/fs/proc/os_adapt/
Dfd_proc.c59 (void)sem_wait(&fdt->ft_sem); in FillFdInfo()
119 (void)sem_wait(&fileList->fl_sem); in FdProcFill()
/kernel/liteos_a/testsuites/kernel/sample/posix/mutex/smoke/
DIt_posix_mutex_019.c60 if ((ret = sem_wait(&g_semB))) { in TaskF01()
148 if ((ret = sem_wait(&g_semA))) { in Testcase()
/kernel/liteos_a/fs/vfs/operation/
Dvfs_procfd.c43 while (sem_wait(&fdt->ft_sem) != 0) { in FileTableLock()
400 if (sem_wait(&semId) != 0) { in CopyFdToProc()
445 if (sem_wait(&semId) != 0) { in CloseProcFd()
Dvfs_force_umount.c460 (void)sem_wait(&flist->fl_sem); in ForceUmountDev()
/kernel/liteos_m/kal/libc/newlib/porting/include/
Dsemaphore.h51 int sem_wait(sem_t *sem);
/kernel/liteos_m/testsuites/unittest/fuzz/src/semaphore/
Dsem_timedwait_fuzz.c73 sem_wait(&sem); in SemTimedWaitFuzzTest()
/kernel/liteos_a/testsuites/unittest/libc/posix/pthread/full/
DIt_posix_pthread_062.cpp41 ret = sem_wait(sem); in pthread_f01()
DIt_posix_pthread_127.cpp129 ret = sem_wait(&g_scenarii[g_testCount].sem); in Testcase()
/kernel/liteos_a/compat/posix/src/
Dsemaphore.c77 int sem_wait(sem_t *sem) in sem_wait() function
/kernel/liteos_m/kal/posix/src/
Dsemaphore.c109 int sem_wait(sem_t *sem) in sem_wait() function
/kernel/liteos_a/testsuites/kernel/sample/posix/pthread/full/
DIt_posix_pthread_127.c136 ret = sem_wait(&g_scenarii[g_testCount].sem); in Testcase()

12