Home
last modified time | relevance | path

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

/freebsd/sys/dev/usb/serial/
H A Dusb_serial.c191 static struct unrhdr *ucom_unrhdr; variable
199 ucom_unrhdr = new_unrhdr(0, UCOM_UNIT_MAX - 1, NULL); in ucom_init()
208 hdr = ucom_unrhdr; in ucom_uninit()
209 ucom_unrhdr = NULL; in ucom_uninit()
232 if (ucom_unrhdr == NULL) { in ucom_unit_alloc()
236 unit = alloc_unr(ucom_unrhdr); in ucom_unit_alloc()
248 if (unit < 0 || unit >= UCOM_UNIT_MAX || ucom_unrhdr == NULL) { in ucom_unit_free()
253 free_unr(ucom_unrhdr, unit); in ucom_unit_free()