Lines Matching refs:flags
228 test_flags[j] = post_list[j].flags; in post_get_flags()
244 int test_flags, int flags, unsigned int i) in post_run_single() argument
246 if ((flags & test_flags & POST_ALWAYS) && in post_run_single()
247 (flags & test_flags & POST_MEM)) { in post_run_single()
250 if (!(flags & POST_REBOOT)) { in post_run_single()
252 !(flags & POST_MANUAL)) { in post_run_single()
254 (gd->flags & GD_FLG_POSTFAIL) ? in post_run_single()
267 if ((*test->test)(flags) == 0) { in post_run_single()
273 gd->flags |= GD_FLG_POSTFAIL; in post_run_single()
275 gd->flags |= GD_FLG_POSTSTOP; in post_run_single()
278 if ((*test->test)(flags) != 0) { in post_run_single()
283 gd->flags |= GD_FLG_POSTFAIL; in post_run_single()
285 gd->flags |= GD_FLG_POSTSTOP; in post_run_single()
292 if ((test_flags & POST_REBOOT) && !(flags & POST_MANUAL)) in post_run_single()
301 int post_run(char *name, int flags) in post_run() argument
311 if (gd->flags & GD_FLG_POSTSTOP) in post_run()
317 gd->flags |= GD_FLG_POSTFAIL; in post_run()
320 (flags & test_flags[last] & POST_ALWAYS) && in post_run()
321 (flags & test_flags[last] & POST_MEM)) { in post_run()
325 flags | POST_REBOOT, last); in post_run()
328 if (gd->flags & GD_FLG_POSTSTOP) in post_run()
332 flags, i); in post_run()
337 if (gd->flags & GD_FLG_POSTSTOP) in post_run()
341 flags, i); in post_run()
356 flags, i); in post_run()
365 if (test->flags & POST_MANUAL) { in post_info_single()
448 test->test = (int (*)(int flags)) addr; in post_reloc()