Lines Matching refs:unload
56 static int unload(const char *, bool);
251 * printed and no errors will be raised if the unload was unsuccessful.
254 unload(const char *name, bool fatal)
267 atf_tc_fail("Module unload failed");
273 * A silent version of unload, to be called as part of the cleanup
339 unload("k_helper", true);
359 unload("k_helper", true);
379 unload("k_helper", true);
415 unload("k_helper", true);
416 unload("k_helper2", true);
445 unload("k_helper", true);
465 ATF_CHECK(unload("", false) == ENOENT);
466 ATF_CHECK(unload("non-existent.kmod", false) == ENOENT);
467 ATF_CHECK(unload("k_helper.kmod", false) == ENOENT);
470 unload("k_helper", true);
471 printf("Checking if unload was successful\n");