Lines Matching refs:sys_membarrier
14 static int sys_membarrier(int cmd, int flags) in sys_membarrier() function
27 ret = sys_membarrier(MEMBARRIER_CMD_GET_REGISTRATIONS, 0); in test_membarrier_get_registrations()
49 if (sys_membarrier(cmd, flags) != -1) { in test_membarrier_cmd_fail()
72 if (sys_membarrier(cmd, flags) != -1) { in test_membarrier_flags_fail()
95 if (sys_membarrier(cmd, flags) != 0) { in test_membarrier_global_success()
111 if (sys_membarrier(cmd, flags) != -1) { in test_membarrier_private_expedited_fail()
134 if (sys_membarrier(cmd, flags) != 0) { in test_membarrier_register_private_expedited_success()
153 if (sys_membarrier(cmd, flags) != 0) { in test_membarrier_private_expedited_success()
170 if (sys_membarrier(cmd, flags) != -1) { in test_membarrier_private_expedited_sync_core_fail()
193 if (sys_membarrier(cmd, flags) != 0) { in test_membarrier_register_private_expedited_sync_core_success()
212 if (sys_membarrier(cmd, flags) != 0) { in test_membarrier_private_expedited_sync_core_success()
229 if (sys_membarrier(cmd, flags) != 0) { in test_membarrier_register_global_expedited_success()
248 if (sys_membarrier(cmd, flags) != 0) { in test_membarrier_global_expedited_success()
273 status = sys_membarrier(MEMBARRIER_CMD_QUERY, 0); in test_membarrier_fail()
299 status = sys_membarrier(MEMBARRIER_CMD_QUERY, 0); in test_membarrier_success()
332 ret = sys_membarrier(MEMBARRIER_CMD_QUERY, flags); in test_membarrier_query()