Lines Matching refs:intr_config_hook_lock

58 static struct mtx intr_config_hook_lock;  variable
59 MTX_SYSINIT(intr_config_hook, &intr_config_hook_lock, "intr config", MTX_DEF);
121 mtx_lock(&intr_config_hook_lock); in run_interrupt_driven_config_hooks()
130 mtx_unlock(&intr_config_hook_lock); in run_interrupt_driven_config_hooks()
139 mtx_unlock(&intr_config_hook_lock); in run_interrupt_driven_config_hooks()
141 mtx_lock(&intr_config_hook_lock); in run_interrupt_driven_config_hooks()
145 mtx_unlock(&intr_config_hook_lock); in run_interrupt_driven_config_hooks()
158 mtx_lock(&intr_config_hook_lock); in boot_run_interrupt_driven_config_hooks()
161 if (msleep(&intr_config_hook_list, &intr_config_hook_lock, in boot_run_interrupt_driven_config_hooks()
164 mtx_unlock(&intr_config_hook_lock); in boot_run_interrupt_driven_config_hooks()
167 mtx_lock(&intr_config_hook_lock); in boot_run_interrupt_driven_config_hooks()
170 mtx_unlock(&intr_config_hook_lock); in boot_run_interrupt_driven_config_hooks()
188 mtx_lock(&intr_config_hook_lock); in config_intrhook_establish()
193 mtx_unlock(&intr_config_hook_lock); in config_intrhook_establish()
202 mtx_unlock(&intr_config_hook_lock); in config_intrhook_establish()
254 mtx_lock(&intr_config_hook_lock); in config_intrhook_disestablish()
256 mtx_unlock(&intr_config_hook_lock); in config_intrhook_disestablish()
262 mtx_lock(&intr_config_hook_lock); in config_intrhook_drain()
268 mtx_unlock(&intr_config_hook_lock); in config_intrhook_drain()
277 mtx_unlock(&intr_config_hook_lock); in config_intrhook_drain()
285 if (msleep(&intr_config_hook_list, &intr_config_hook_lock, in config_intrhook_drain()
290 mtx_unlock(&intr_config_hook_lock); in config_intrhook_drain()