Lines Matching refs:sem2
40 K_SEM_DEFINE(sem2, 0, 1);
67 .user_data = &sem2,
506 k_sem_reset(&sem2); in test_setup()
671 req2.user_data = &sem2; in ZTEST()
684 zassert_ok(k_sem_take(&sem2, K_MSEC(MORE_THAN_EXCHANGE_LIFETIME_MS))); in ZTEST()
711 req2.user_data = &sem2; in ZTEST()
718 zassert_ok(k_sem_take(&sem2, K_MSEC(MORE_THAN_EXCHANGE_LIFETIME_MS))); in ZTEST()
754 req2.user_data = &sem2; in ZTEST()
766 zassert_ok(k_sem_take(&sem2, K_MSEC(MORE_THAN_EXCHANGE_LIFETIME_MS))); in ZTEST()
835 req2.user_data = &sem2; in ZTEST()
846 zassert_not_ok(k_sem_take(&sem2, K_MSEC(MORE_THAN_EXCHANGE_LIFETIME_MS))); in ZTEST()
852 zassert_ok(k_sem_take(&sem2, K_MSEC(MORE_THAN_EXCHANGE_LIFETIME_MS))); in ZTEST()
862 req2.user_data = &sem2; in ZTEST()
877 zassert_not_ok(k_sem_take(&sem2, K_MSEC(MORE_THAN_EXCHANGE_LIFETIME_MS))); in ZTEST()
885 .user_data = &sem2, in ZTEST()
888 zassert_not_ok(k_sem_take(&sem2, K_MSEC(MORE_THAN_EXCHANGE_LIFETIME_MS))); in ZTEST()
895 zassert_ok(k_sem_take(&sem2, K_MSEC(MORE_THAN_EXCHANGE_LIFETIME_MS))); in ZTEST()
903 zassert_ok(k_sem_take(&sem2, K_MSEC(MORE_THAN_EXCHANGE_LIFETIME_MS))); in ZTEST()