Searched refs:usbi_default_context (Results 1 – 2 of 2) sorted by relevance
36 #define GET_CONTEXT(ctx) (((ctx) == NULL) ? usbi_default_context : (ctx))138 extern struct libusb_context *usbi_default_context;
59 struct libusb_context *usbi_default_context = NULL; variable223 if (usbi_default_context == NULL) { in libusb_init()224 usbi_default_context = ctx; in libusb_init()268 if (ctx == usbi_default_context) { in libusb_exit()269 usbi_default_context = NULL; in libusb_exit()