Lines Matching refs:status
262 int status; in test_membarrier_fail() local
264 status = test_membarrier_cmd_fail(); in test_membarrier_fail()
265 if (status) in test_membarrier_fail()
266 return status; in test_membarrier_fail()
267 status = test_membarrier_flags_fail(); in test_membarrier_fail()
268 if (status) in test_membarrier_fail()
269 return status; in test_membarrier_fail()
270 status = test_membarrier_private_expedited_fail(); in test_membarrier_fail()
271 if (status) in test_membarrier_fail()
272 return status; in test_membarrier_fail()
273 status = sys_membarrier(MEMBARRIER_CMD_QUERY, 0); in test_membarrier_fail()
274 if (status < 0) { in test_membarrier_fail()
276 return status; in test_membarrier_fail()
278 if (status & MEMBARRIER_CMD_PRIVATE_EXPEDITED_SYNC_CORE) { in test_membarrier_fail()
279 status = test_membarrier_private_expedited_sync_core_fail(); in test_membarrier_fail()
280 if (status) in test_membarrier_fail()
281 return status; in test_membarrier_fail()
288 int status; in test_membarrier_success() local
290 status = test_membarrier_global_success(); in test_membarrier_success()
291 if (status) in test_membarrier_success()
292 return status; in test_membarrier_success()
293 status = test_membarrier_register_private_expedited_success(); in test_membarrier_success()
294 if (status) in test_membarrier_success()
295 return status; in test_membarrier_success()
296 status = test_membarrier_private_expedited_success(); in test_membarrier_success()
297 if (status) in test_membarrier_success()
298 return status; in test_membarrier_success()
299 status = sys_membarrier(MEMBARRIER_CMD_QUERY, 0); in test_membarrier_success()
300 if (status < 0) { in test_membarrier_success()
302 return status; in test_membarrier_success()
304 if (status & MEMBARRIER_CMD_PRIVATE_EXPEDITED_SYNC_CORE) { in test_membarrier_success()
305 status = test_membarrier_register_private_expedited_sync_core_success(); in test_membarrier_success()
306 if (status) in test_membarrier_success()
307 return status; in test_membarrier_success()
308 status = test_membarrier_private_expedited_sync_core_success(); in test_membarrier_success()
309 if (status) in test_membarrier_success()
310 return status; in test_membarrier_success()
316 status = test_membarrier_global_expedited_success(); in test_membarrier_success()
317 if (status) in test_membarrier_success()
318 return status; in test_membarrier_success()
319 status = test_membarrier_register_global_expedited_success(); in test_membarrier_success()
320 if (status) in test_membarrier_success()
321 return status; in test_membarrier_success()
322 status = test_membarrier_global_expedited_success(); in test_membarrier_success()
323 if (status) in test_membarrier_success()
324 return status; in test_membarrier_success()