subr_autoconf.c | 3621 void (**old_handlers)(device_t, devactive_t); local in function:device_active_register 3625 old_handlers = dev->dv_activity_handlers; 3628 KASSERT(old_size == 0 || old_handlers != NULL); 3631 KASSERT(old_handlers[i] != handler); 3632 if (old_handlers[i] == NULL) { 3633 old_handlers[i] = handler; 3642 new_handlers[i] = old_handlers[i]; 3653 kmem_free(old_handlers, sizeof(void *) * old_size); 3661 void (**old_handlers)(device_t, devactive_t); local in function:device_active_deregister 3665 old_handlers = dev->dv_activity_handlers [all...] |