Home
last modified time | relevance | path

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

/bionic/tests/
Dmembarrier_test.cpp78 int membarrier_cmd_barrier) { in TestRegisterAndBarrierCommands() argument
82 if (!HasMembarrier(membarrier_cmd_barrier)) { in TestRegisterAndBarrierCommands()
83 GTEST_SKIP() << MembarrierCommandToName(membarrier_cmd_barrier) << " not supported"; in TestRegisterAndBarrierCommands()
91 ASSERT_EQ(0, syscall(__NR_membarrier, membarrier_cmd_barrier, 0)); in TestRegisterAndBarrierCommands()
94 ASSERT_EQ(-1, syscall(__NR_membarrier, membarrier_cmd_barrier, 0)); in TestRegisterAndBarrierCommands()
103 ASSERT_EQ(0, syscall(__NR_membarrier, membarrier_cmd_barrier, 0)); in TestRegisterAndBarrierCommands()