Searched refs:usbi_default_context (Results 1 – 2 of 2) sorted by relevance
34 #define GET_CONTEXT(ctx) (((ctx) == NULL) ? usbi_default_context : (ctx))111 extern struct libusb_context *usbi_default_context;
55 struct libusb_context *usbi_default_context = NULL; variable159 if (usbi_default_context == NULL) { in libusb_init()160 usbi_default_context = ctx; in libusb_init()189 if (ctx == usbi_default_context) { in libusb_exit()190 usbi_default_context = NULL; in libusb_exit()