FreeBSD kernel kern code
|
#include <sys/cdefs.h>
#include "opt_ddb.h"
#include <sys/param.h>
#include <sys/kernel.h>
#include <sys/linker.h>
#include <sys/lock.h>
#include <sys/malloc.h>
#include <sys/mutex.h>
#include <sys/systm.h>
Go to the source code of this file.
Macros | |
#define | WARNING_INTERVAL_SECS 60 |
Functions | |
__FBSDID ("$FreeBSD$") | |
static | STAILQ_HEAD (MTX_SYSINIT(intr_config_hook) |
static void | config_intrhook_oneshot_func (void *arg) |
static void | run_interrupt_driven_config_hooks_warning (int warned) |
static void | run_interrupt_driven_config_hooks () |
static void | boot_run_interrupt_driven_config_hooks (void *dummy) |
SYSINIT (intr_config_hooks, SI_SUB_INT_CONFIG_HOOKS, SI_ORDER_FIRST, boot_run_interrupt_driven_config_hooks, NULL) | |
int | config_intrhook_establish (struct intr_config_hook *hook) |
void | config_intrhook_oneshot (ich_func_t func, void *arg) |
static void | config_intrhook_disestablish_locked (struct intr_config_hook *hook) |
void | config_intrhook_disestablish (struct intr_config_hook *hook) |
int | config_intrhook_drain (struct intr_config_hook *hook) |
#define WARNING_INTERVAL_SECS 60 |
Definition at line 93 of file subr_autoconf.c.
__FBSDID | ( | "$FreeBSD$" | ) |
|
static |
Definition at line 154 of file subr_autoconf.c.
References hz, run_interrupt_driven_config_hooks(), run_interrupt_driven_config_hooks_warning(), and WARNING_INTERVAL_SECS.
void config_intrhook_disestablish | ( | struct intr_config_hook * | hook | ) |
Definition at line 256 of file subr_autoconf.c.
References config_intrhook_disestablish_locked().
Referenced by config_intrhook_oneshot_func().
|
static |
Definition at line 234 of file subr_autoconf.c.
References panic(), and wakeup().
Referenced by config_intrhook_disestablish(), and config_intrhook_drain().
int config_intrhook_drain | ( | struct intr_config_hook * | hook | ) |
Definition at line 264 of file subr_autoconf.c.
References config_intrhook_disestablish_locked(), and hz.
int config_intrhook_establish | ( | struct intr_config_hook * | hook | ) |
Definition at line 187 of file subr_autoconf.c.
References printf(), and run_interrupt_driven_config_hooks().
Referenced by config_intrhook_oneshot().
void config_intrhook_oneshot | ( | ich_func_t | func, |
void * | arg | ||
) |
Definition at line 221 of file subr_autoconf.c.
References config_intrhook_establish(), config_intrhook_oneshot_func(), and malloc().
Referenced by bus_delayed_attach_children().
|
static |
Definition at line 79 of file subr_autoconf.c.
References config_intrhook_disestablish(), and free().
Referenced by config_intrhook_oneshot().
|
static |
Definition at line 119 of file subr_autoconf.c.
Referenced by boot_run_interrupt_driven_config_hooks(), and config_intrhook_establish().
|
static |
Definition at line 95 of file subr_autoconf.c.
References linker_search_symbol_name(), printf(), and WARNING_INTERVAL_SECS.
Referenced by boot_run_interrupt_driven_config_hooks().
|
static |
Definition at line 59 of file subr_autoconf.c.
SYSINIT | ( | intr_config_hooks | , |
SI_SUB_INT_CONFIG_HOOKS | , | ||
SI_ORDER_FIRST | , | ||
boot_run_interrupt_driven_config_hooks | , | ||
NULL | |||
) |