sys/bus/u4b/serial/usb_serial.c
static void
ucom_unit_free(int unit)
{
	lockmgr(&ucom_bitmap_lock, LK_EXCLUSIVE);

	ucom_bitmap[unit / 8] &= ~(1 << (unit % 8));

	lockmgr(&ucom_bitmap_lock, LK_RELEASE);
}
/*
 * Mark the unit number as not in use.
 */
Mark the unit number as not in use.
Mark the unit number as not in use .
static void
ucom_unit_free(int unit)
{
	lockmgr(&ucom_bitmap_lock, LK_EXCLUSIVE);
	ucom_bitmap[unit / 8] &= ~(1 << (unit % 8));
	lockmgr(&ucom_bitmap_lock, LK_RELEASE);
}
static void ucom_unit_free ( int unit ) { lockmgr ( & ucom_bitmap_lock , LK_EXCLUSIVE ) ; ucom_bitmap [ unit / 8 ] &= ~ ( 1 << ( unit % 8 ) ) ; lockmgr ( & ucom_bitmap_lock , LK_RELEASE ) ; }
Mark the unit number as not in use.
Mark the unit number as not in use .