Home
last modified time | relevance | path

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

/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/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()
Dvfs_other.c699 ret = sem_wait(&f_list->fl_sem); in lsfd()
/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_a/testsuites/kernel/sample/posix/pthread/full/
DIt_posix_pthread_127.c136 ret = sem_wait(&g_scenarii[g_testCount].sem); in Testcase()
/kernel/liteos_m/kal/posix/src/
Dsemaphore.c109 int sem_wait(sem_t *sem) in sem_wait() function
/kernel/linux/linux-5.10/tools/power/acpi/os_specific/service_layers/
Dosunixxf.c747 while (((ret_val = sem_wait(sem)) == -1) && (errno == EINTR)) { in acpi_os_wait_semaphore()
/kernel/linux/linux-5.10/tools/testing/selftests/seccomp/
Dseccomp_bpf.c2621 sem_wait(&self->started); in TEST_F()
2659 sem_wait(&self->started); in TEST_F()
2689 sem_wait(&self->started); in TEST_F()
2716 sem_wait(&self->started); in TEST_F()
2768 sem_wait(&self->started); in TEST_F()
2813 sem_wait(&self->started); in TEST_F()
2862 sem_wait(&self->started); in TEST_F()
/kernel/liteos_a/apps/shell/src/
Dshmsg.c123 return sem_wait(&shellCB->shellSem); in ShellPend()
/kernel/linux/linux-5.10/tools/perf/
Dbuiltin-sched.c530 ret = sem_wait(atom->wait_sem); in perf_sched__process_event()
706 ret = sem_wait(&task->ready_for_work); in wait_for_tasks()
719 ret = sem_wait(&task->work_done_sem); in wait_for_tasks()