Lines Matching refs:sem_open
119 zassert_not_null(sem_open(name, 0, 0, 0), "%s is NULL", name); in nsem_open_func()
151 sem1 = sem_open(NULL, 0, 0, 0); in ZTEST()
157 sem1 = sem_open("sem1", 0, 0, 0); in ZTEST()
170 sem1 = sem_open(name_too_long, 0, 0, 0); in ZTEST()
177 sem1 = sem_open("sem1", O_CREAT, 0, (CONFIG_POSIX_SEM_VALUE_MAX + 1)); in ZTEST()
183 sem1 = sem_open("sem1", O_CREAT, 0, 0); in ZTEST()
186 sem2 = sem_open("sem2", O_CREAT, 0, 0); in ZTEST()
195 new_sem1 = sem_open("sem1", i % 2 == 0 ? O_CREAT : 0, 0, 0); in ZTEST()
198 new_sem2 = sem_open("sem2", i % 2 == 0 ? O_CREAT : 0, 0, 0); in ZTEST()
211 zassert_equal_ptr((sem_open("sem1", O_CREAT | O_EXCL, 0, 0)), SEM_FAILED); in ZTEST()
262 different_sem1 = sem_open("sem1", O_CREAT, 0, 0); in ZTEST()
298 sem1 = sem_open("nsem", O_CREAT, 0, 0); in ZTEST()