Lines Matching refs:modctl
74 err = modctl(MODCTL_EXISTS, 0);
81 "modctl(MODCTL_EXISTS, 0)", errno);
101 if (modctl(MODCTL_STAT, &iov) != 0) {
103 fprintf(stderr, "modctl(MODCTL_STAT) failed: %s\n",
152 * successfully. This implementation uses modctl(2)'s MODCTL_STAT
299 if (modctl(MODCTL_LOAD, &ml) == -1) {
301 fprintf(stderr, "modctl(MODCTL_LOAD, %s), failed: %s\n",
325 if (modctl(MODCTL_UNLOAD, __UNCONST(name)) == -1) {
327 fprintf(stderr, "modctl(MODCTL_UNLOAD, %s) failed: %s\n",
343 (void)modctl(MODCTL_UNLOAD, __UNCONST(name));