Home
last modified time | relevance | path

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

/bionic/tests/
Dmembarrier_test.cpp77 int membarrier_cmd_barrier) { in TestRegisterAndBarrierCommands() argument
81 if (!HasMembarrier(membarrier_cmd_barrier)) { in TestRegisterAndBarrierCommands()
82 GTEST_SKIP() << MembarrierCommandToName(membarrier_cmd_barrier) << " not supported"; in TestRegisterAndBarrierCommands()
90 ASSERT_EQ(0, syscall(__NR_membarrier, membarrier_cmd_barrier, 0)); in TestRegisterAndBarrierCommands()
93 ASSERT_EQ(-1, syscall(__NR_membarrier, membarrier_cmd_barrier, 0)); in TestRegisterAndBarrierCommands()
102 ASSERT_EQ(0, syscall(__NR_membarrier, membarrier_cmd_barrier, 0)); in TestRegisterAndBarrierCommands()