Lines Matching defs:init

15 #include <linux/init.h>
81 /* If this is set, the section belongs in the init part of the module */
94 /* Work queue for freeing init sections in success case */
1012 /* Doing init or already dying? */
1020 /* If it has an init func, it must have an exit func to unload */
1021 if (mod->init && !mod->exit) {
1074 if (mod->init != NULL && mod->exit == NULL) {
1528 pr_warn("%s: gave up waiting for init of module %s.\n",
2005 * [text] [read-only-data] [ro-after-init] [writable data]
2167 * init memory is freed at the end of do_init_module().
2490 belongs in init. */
2531 case 2: /* RO after init */
2567 * RO after init doesn't apply to init_layout (only
2572 case 4: /* whole init */
2769 /* Put symbol section at end of init part of module. */
2796 /* Put string table section at end of init part of module. */
2814 * be appended to the init section. Later we switch to the cut-down
2825 /* Set up to point into init section. */
2835 * Now populate the cut down core kallsyms for after init
2889 return strstarts(name, ".init");
3740 if (mod->init != NULL)
3741 ret = do_one_initcall(mod->init);
3746 pr_warn("%s: '%s'->init suspiciously returned %d, it should "
3758 /* Delay uevent until module has finished its init routine */
3762 * We need to finish all async code before the module init sequence
3779 /* Switch to core kallsyms now init is done: kallsyms may be walking! */
4096 /* Ftrace init must be called in the MODULE_STATE_UNFORMED state */
4501 initcall_t *init;
4507 init = (initcall_t *)
4513 /* Fix init/exit functions to point to the CFI jump table */
4514 if (init)
4515 mod->init = *init;