Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/powerpc/dscr/
H A Ddscr_default_test.c24 sem_t *writer_sem = (sem_t *)arg + 1; in dscr_default_lockstep_writer() local
28 FAIL_IF_EXIT(sem_wait(writer_sem)); in dscr_default_lockstep_writer()
44 sem_t *writer_sem = &rw_semaphores[1]; in dscr_default_lockstep_test() local
50 FAIL_IF(sem_init(writer_sem, 0, 1)); /* writer starts first */ in dscr_default_lockstep_test()
62 FAIL_IF(sem_post(writer_sem)); in dscr_default_lockstep_test()
67 FAIL_IF(sem_destroy(writer_sem)); in dscr_default_lockstep_test()