Home
last modified time | relevance | path

Searched refs:sDescriptors (Results 1 – 4 of 4) sorted by relevance

/haiku/src/build/libroot/
H A Dfs_descriptors.cpp35 static DescriptorMap *sDescriptors; variable
487 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 …]
/haiku/src/add-ons/kernel/drivers/network/ether/usb_davicom/
H A DDriver.cpp196 static usb_support_descriptor sDescriptors[count] = {{ 0 }}; in init_driver() local
199 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()
/haiku/src/add-ons/kernel/drivers/network/ether/usb_asix/
H A DDriver.cpp237 static usb_support_descriptor sDescriptors[count] = {{ 0 }}; in init_driver() local
240 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()
/haiku/src/system/boot/loader/
H A Dvfs.cpp84 static Descriptor *sDescriptors[MAX_VFS_DESCRIPTORS]; variable
855 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()