Searched refs:concurrent_usage (Results 1 – 3 of 3) sorted by relevance
38 static int concurrent_usage = -1; variable188 if ( ++concurrent_usage == 0 ) { // First init? in wince_init()224 if (!concurrent_usage && r != LIBUSB_SUCCESS) { // First init failed? in wince_init()235 --concurrent_usage; // Not expected to call libusb_exit if we failed. in wince_init()260 if (--concurrent_usage < 0) { // Last exit in wince_exit()
69 static int concurrent_usage = -1; variable203 if (++concurrent_usage == 0) { // First init? in usbdk_init()218 if (!concurrent_usage && r != LIBUSB_SUCCESS) { // First init failed? in usbdk_init()225 --concurrent_usage; // Not expected to call libusb_exit if we failed. in usbdk_init()376 if (--concurrent_usage < 0) { in usbdk_exit()
111 static int concurrent_usage = -1; variable798 if (++concurrent_usage == 0) { // First init? in windows_init()832 if (!concurrent_usage && r != LIBUSB_SUCCESS) { // First init failed? in windows_init()842 --concurrent_usage; // Not expected to call libusb_exit if we failed. in windows_init()1675 if (--concurrent_usage < 0) { // Last exit in windows_exit()