Home
last modified time | relevance | path

Searched refs:newdrivers (Results 1 – 1 of 1) sorted by relevance

/freebsd/sys/cam/
H A Dcam_periph.c116 struct periph_driver **newdrivers, **old; in periphdriver_register() local
121 newdrivers = malloc(sizeof(*newdrivers) * ndrivers, M_CAMPERIPH, in periphdriver_register()
129 free(newdrivers, M_CAMPERIPH); in periphdriver_register()
133 bcopy(periph_drivers, newdrivers, in periphdriver_register()
134 sizeof(*newdrivers) * nperiph_drivers); in periphdriver_register()
135 newdrivers[nperiph_drivers] = drv; in periphdriver_register()
136 newdrivers[nperiph_drivers + 1] = NULL; in periphdriver_register()
138 periph_drivers = newdrivers; in periphdriver_register()