Lines Matching +full:on +full:- +full:module
1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2023 George V. Neville-Neil
22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30 * SKEL Loadable Kernel Module for the FreeBSD Operating System
32 * The SKEL module is meant to act as a skeleton for creating new
35 * This module can be loaded and unloaded from * FreeBSD and is for
43 #include <sys/module.h>
46 * Every module can have a module specific piece of code that is
47 * executed whenever the module is loaded or unloaded. The following
48 * is a trivial example that prints a message on the console whenever
49 * the module is loaded or unloaded.
58 printf("SKEL module loading.\n"); in skel_mod_event()
61 printf("SKEL module unloading.\n"); in skel_mod_event()
68 * Modules can have associated data and the module data also contains
69 * an entry for the function called by the kernel on load and unload.
79 * Each module is declared with its name and module data. The
80 * ordering arguments at the end put this module into the device