Openharmony v1.0/third_party/FreeBSD/sys/dev/usb/serial/usb_serial.c
/*------------------------------------------------------------------------*
 *	ucom_ref
 *
 * This function will increment the super UCOM reference count.
 *------------------------------------------------------------------------*/
ucom_ref
This function will increment the super UCOM reference count.
ucom_ref This function will increment the super UCOM reference count .
void
ucom_ref(struct ucom_super_softc *ssc)
{
	mtx_lock(&ucom_mtx);
	ssc->sc_refs++;
	mtx_unlock(&ucom_mtx);
}
void ucom_ref ( struct ucom_super_softc * ssc ) { mtx_lock ( & ucom_mtx ) ; ssc -> sc_refs ++ ; mtx_unlock ( & ucom_mtx ) ; }
ucom_ref
 This function will increment the super UCOM reference count.
ucom_ref This function will increment the super UCOM reference count .