Searched refs:sDescriptors (Results 1 – 4 of 4) sorted by relevance
35 static DescriptorMap *sDescriptors; variable487 if (!sDescriptors) in get_descriptor()489 DescriptorMap::iterator it = sDescriptors->find(fd); in get_descriptor()490 if (it == sDescriptors->end()) in get_descriptor()499 if (!sDescriptors) in add_descriptor()500 sDescriptors = new DescriptorMap; in add_descriptor()508 sDescriptors->find(fd) != sDescriptors->end(); in add_descriptor()513 (*sDescriptors)[fd] = descriptor; in add_descriptor()523 DescriptorMap::iterator it = sDescriptors->find(fd); in delete_descriptor()524 if (it == sDescriptors->end()) in delete_descriptor()[all …]
196 static usb_support_descriptor sDescriptors[count] = {{ 0 }}; in init_driver() local199 sDescriptors[i].vendor = gSupportedDevices[i].VendorId(); in init_driver()200 sDescriptors[i].product = gSupportedDevices[i].ProductId(); in init_driver()203 gUSBModule->register_driver(DRIVER_NAME, sDescriptors, count, NULL); in init_driver()
237 static usb_support_descriptor sDescriptors[count] = {{ 0 }}; in init_driver() local240 sDescriptors[i].vendor = gSupportedDevices[i].VendorId(); in init_driver()241 sDescriptors[i].product = gSupportedDevices[i].ProductId(); in init_driver()244 gUSBModule->register_driver(DRIVER_NAME, sDescriptors, count, NULL); in init_driver()
84 static Descriptor *sDescriptors[MAX_VFS_DESCRIPTORS]; variable855 return sDescriptors[fd]; in get_descriptor()865 delete sDescriptors[fd]; in free_descriptor()866 sDescriptors[fd] = NULL; in free_descriptor()884 if (sDescriptors[fd] == NULL) in open_node()905 sDescriptors[fd] = descriptor; in open_node()