Lines Matching refs:bflow
273 struct bootflow bflow; in bootflow_iter() local
280 BOOTFLOWIF_ALL | BOOTFLOWIF_SKIP_GLOBAL, &bflow)); in bootflow_iter()
286 ut_asserteq(0, bflow.err); in bootflow_iter()
294 ut_asserteq(BOOTFLOWST_MEDIA, bflow.state); in bootflow_iter()
296 ut_asserteq(-EPROTONOSUPPORT, bootflow_scan_next(&iter, &bflow)); in bootflow_iter()
302 ut_asserteq(0, bflow.err); in bootflow_iter()
303 ut_asserteq(BOOTFLOWST_MEDIA, bflow.state); in bootflow_iter()
304 bootflow_free(&bflow); in bootflow_iter()
307 ut_asserteq(-ENOENT, bootflow_scan_next(&iter, &bflow)); in bootflow_iter()
313 ut_asserteq(0, bflow.err); in bootflow_iter()
314 ut_asserteq(BOOTFLOWST_MEDIA, bflow.state); in bootflow_iter()
315 bootflow_free(&bflow); in bootflow_iter()
317 ut_asserteq(-ENOENT, bootflow_scan_next(&iter, &bflow)); in bootflow_iter()
323 ut_asserteq(0, bflow.err); in bootflow_iter()
324 ut_asserteq(BOOTFLOWST_MEDIA, bflow.state); in bootflow_iter()
325 bootflow_free(&bflow); in bootflow_iter()
328 ut_assertok(bootflow_scan_next(&iter, &bflow)); in bootflow_iter()
334 ut_asserteq(0, bflow.err); in bootflow_iter()
335 ut_asserteq(BOOTFLOWST_READY, bflow.state); in bootflow_iter()
336 bootflow_free(&bflow); in bootflow_iter()
338 ut_asserteq(-ENOENT, bootflow_scan_next(&iter, &bflow)); in bootflow_iter()
344 ut_asserteq(0, bflow.err); in bootflow_iter()
345 ut_asserteq(BOOTFLOWST_FS, bflow.state); in bootflow_iter()
346 bootflow_free(&bflow); in bootflow_iter()
349 ut_asserteq(-EINVAL, bootflow_scan_next(&iter, &bflow)); in bootflow_iter()
355 ut_asserteq(0, bflow.err); in bootflow_iter()
356 ut_asserteq(BOOTFLOWST_MEDIA, bflow.state); in bootflow_iter()
357 bootflow_free(&bflow); in bootflow_iter()
402 struct bootflow bflow; in bootflow_iter_disable() local
419 ut_assertok(bootflow_scan_first(NULL, NULL, &iter, 0, &bflow)); in bootflow_iter_disable()
423 ut_asserteq(-ENOTSUPP, bootflow_run_boot(&iter, &bflow)); in bootflow_iter_disable()