Lines Matching defs:unload
58 static int unload(const char *, bool);
314 * printed and no errors will be raised if the unload was unsuccessful.
317 unload(const char *name, bool fatal)
330 atf_tc_fail("Module unload failed");
336 * A silent version of unload, to be called as part of the cleanup
402 unload("k_helper", true);
422 unload("k_helper", true);
442 unload("k_helper", true);
478 unload("k_helper", true);
479 unload("k_helper2", true);
508 unload("k_helper", true);
528 ATF_CHECK(unload("", false) == ENOENT);
529 ATF_CHECK(unload("non-existent.kmod", false) == ENOENT);
530 ATF_CHECK(unload("k_helper.kmod", false) == ENOENT);
533 unload("k_helper", true);
534 printf("Checking if unload was successful\n");