Searched refs:sys_membarrier (Results 1 – 3 of 3) sorted by relevance
/external/linux-kselftest/tools/testing/selftests/membarrier/ |
D | membarrier_test_impl.h | 12 static int sys_membarrier(int cmd, int flags) in sys_membarrier() function 22 if (sys_membarrier(cmd, flags) != -1) { in test_membarrier_cmd_fail() 45 if (sys_membarrier(cmd, flags) != -1) { in test_membarrier_flags_fail() 68 if (sys_membarrier(cmd, flags) != 0) { in test_membarrier_global_success() 84 if (sys_membarrier(cmd, flags) != -1) { in test_membarrier_private_expedited_fail() 107 if (sys_membarrier(cmd, flags) != 0) { in test_membarrier_register_private_expedited_success() 124 if (sys_membarrier(cmd, flags) != 0) { in test_membarrier_private_expedited_success() 141 if (sys_membarrier(cmd, flags) != -1) { in test_membarrier_private_expedited_sync_core_fail() 164 if (sys_membarrier(cmd, flags) != 0) { in test_membarrier_register_private_expedited_sync_core_success() 181 if (sys_membarrier(cmd, flags) != 0) { in test_membarrier_private_expedited_sync_core_success() [all …]
|
/external/ltp/testcases/kernel/syscalls/membarrier/ |
D | membarrier01.c | 274 static int sys_membarrier(int cmd, int flags) in sys_membarrier() function 296 ret = sys_membarrier(tc[i].needregister, 0); in verify_membarrier() 303 TEST(sys_membarrier(tc[i].command, tc[i].flags)); in verify_membarrier() 385 ret = sys_membarrier(MEMBARRIER_CMD_QUERY, 0); in setup()
|
/external/kernel-headers/original/uapi/asm-generic/ |
D | unistd.h | 756 __SYSCALL(__NR_membarrier, sys_membarrier)
|