get_module
extern status_t get_module(const char *path, module_info **_info);
get_module(B_CONFIG_MANAGER_FOR_DRIVER_MODULE_NAME, &m); } while (0)
return get_module(BONE_SOCKET_MODULE, (module_info **)&gSocket); \
status_t result = get_module(DNS_RESOLVER_MODULE_NAME,
status = get_module(NET_BUFFER_MODULE_NAME,
if (get_module(NET_BLUETOOTH_L2CAP_NAME, (module_info**)&L2cap) != B_OK) {
if (get_module(NET_BLUETOOTH_L2CAP_NAME, (module_info**)&L2cap) != B_OK) {
status = get_module(NET_BUFFER_MODULE_NAME,
status = get_module(BT_CORE_DATA_MODULE_NAME,
if (get_module(B_ACPI_MODULE_NAME, (module_info**)&sc->ec_acpi_module)
return get_module(B_ACPI_MODULE_NAME, &module);
if (get_module(B_PCI_MODULE_NAME, (module_info **)&sPCI) != B_OK)
if (get_module(name, (module_info **)&module) == B_OK) {
if ((status = get_module(B_PCI_MODULE_NAME,(module_info **)&gPci)) != B_OK) {
if ((status = get_module(B_DPC_MODULE_NAME,(module_info **)&gDpc)) != B_OK) {
return get_module(I2C_BUS_MODULE_NAME, &dummy);
status_t res = get_module(B_PCI_MODULE_NAME, &module);
status = get_module(B_ISA_MODULE_NAME, (module_info **)&gIsa);
return get_module(SCSI_BUS_MODULE_NAME, &dummy);
return get_module(B_USB_MODULE_NAME, &dummy);
if (get_module(B_PCI_MODULE_NAME, (module_info**)&sPCI) != B_OK)
CHECK_RET(get_module(B_ACPI_MODULE_NAME, (module_info**)&acpiModule));
CHECK_RET(get_module(B_ACPI_MODULE_NAME, (module_info**)&acpiModule));
if(get_module("generic/stat_module", (module_info**) &stats) == B_OK){
if (get_module(pci_name, (module_info **) &pci) != B_OK)
if (get_module(cam_name, (module_info **) &cam) != B_OK) {
if (get_module(pci_name, (module_info **) &pci) != B_OK)
if (get_module(cam_name, (module_info **) &cam) != B_OK) {
status = get_module(*path, mi);
if (get_module(B_ISA_MODULE_NAME, (module_info **)&sISA) < 0) {
if (get_module(B_ISA_MODULE_NAME, (module_info **)&sISAModule) < B_OK)
if (get_module(B_ISA_MODULE_NAME, (module_info **)&sISAModule) < B_OK)
if (get_module(B_PCI_MODULE_NAME, (module_info **)&pci))
if (get_module(B_PCI_MODULE_NAME, (module_info **) &pci))
if (get_module(B_PCI_MODULE_NAME, (module_info **)&pci))
if (get_module(B_PCI_MODULE_NAME, (module_info **)&pci))
if (get_module(pci_name, (module_info **)&pci))
if (get_module(pci_name, (module_info **) &pci))
if (get_module(B_PCI_MODULE_NAME, (module_info**)&gPci) != B_OK)
if (get_module(B_PCI_MODULE_NAME, (module_info**)&gPci) != B_OK)
status_t result = get_module(B_PCI_MODULE_NAME, (module_info **)&gPCI);
status_t status = get_module(B_PCI_MODULE_NAME, (module_info **)&gPCI);
if (get_module(pci_name, (module_info **)&pci))
if (get_module(pci_name, (module_info **)&pci))
if (get_module(gameport_name, (module_info **)&gameport)) {
if (get_module(mpu401_name, (module_info **)&mpu401)) {
if (get_module(B_PCI_MODULE_NAME, (module_info **)&pci))
if (get_module(CB_ENABLER_MODULE_NAME, (module_info **)&cbemi) != B_OK) {
if (get_module(B_PCI_MODULE_NAME, (module_info **) &pci))
if (get_module(B_PCI_MODULE_NAME, (module_info **)&pci))
if (get_module(B_PCI_MODULE_NAME, (module_info **) &pci))
if (get_module(B_MPU_401_MODULE_NAME, (module_info **) &mpu401)) {
if (get_module(B_PCI_MODULE_NAME, (module_info**)&gPci) != B_OK)
if (get_module(B_PCI_MODULE_NAME, (module_info**)&gPci) != B_OK)
if (get_module(B_PCI_MODULE_NAME, (module_info **)&pci))
if (get_module(B_PCI_MODULE_NAME, (module_info **)&pci))
if (get_module(B_MPU_401_MODULE_NAME, (module_info **) &mpu401)) {
if ((rc=get_module(B_ISA_MODULE_NAME, (module_info**)&gISA)) != B_OK)
status_t status = get_module(B_USB_MODULE_NAME,
if (get_module(BT_CORE_DATA_MODULE_NAME,
if (get_module(btDevices_name, (module_info**)&btDevices) != B_OK) {
if (get_module(hci_name, (module_info**)&hci) != B_OK) {
if (get_module(usb_name, (module_info**)&usb) != B_OK) {
if (get_module(NET_BUFFER_MODULE_NAME, (module_info**)&nb) != B_OK) {
if ((err = get_module(FIREWIRE_MODULE_NAME, (module_info **)&gFirewire)) != B_OK) {
if ((err = get_module(CS_CLIENT_MODULE_NAME, (module_info **)&gPcmciaCs))!=B_OK)
if ((err = get_module(DS_MODULE_NAME, (module_info **)&gPcmciaDs))!=B_OK) {
status_t result = get_module(B_USB_MODULE_NAME,
status_t status = get_module(sConsole.module_name, (module_info **)&sConsole.module);
if (get_module(buffer, (module_info **)&sConsole.module) == B_OK) {
status_t result = get_module(B_USB_MODULE_NAME,
status_t status = get_module(B_PCI_MODULE_NAME,
if (get_module(B_PCI_MODULE_NAME, (module_info **)&gPci) < B_OK)
if (get_module(B_PCI_MODULE_NAME, (module_info **)&gPci) < B_OK) {
if (get_module(B_PCI_MODULE_NAME, (module_info**)&gPCI) != B_OK)
if (get_module(B_PCI_MODULE_NAME, (module_info**)&gPCI) != B_OK)
status_t status = get_module(B_BIOS_MODULE_NAME, (module_info**)&biosModule);
status_t status = get_module(B_BIOS_MODULE_NAME, (module_info**)&biosModule);
if (get_module(B_PCI_MODULE_NAME, (module_info**)&gPCI) != B_OK)
if (get_module(B_PCI_MODULE_NAME, (module_info**)&gPCI) != B_OK)
if (get_module(B_PCI_MODULE_NAME, (module_info **)&pci_bus) != B_OK)
if (get_module(B_PCI_MODULE_NAME, (module_info **)&pci_bus) != B_OK)
status_t status = get_module(B_BIOS_MODULE_NAME, (module_info**)&biosModule);
status_t status = get_module(B_PCI_MODULE_NAME, (module_info**)&gPCI);
status_t status = get_module(B_PCI_MODULE_NAME, (module_info**)&gPCI);
status_t status = get_module(B_PCI_MODULE_NAME,(module_info**)&gPCI);
status_t status = get_module(B_PCI_MODULE_NAME, (module_info**)&gPCI);
status = get_module(B_AGP_GART_MODULE_NAME, (module_info**)&gGART);
if (get_module(B_PCI_MODULE_NAME, (module_info **)&pci_bus) != B_OK)
if (get_module(B_PCI_MODULE_NAME, (module_info **)&pci_bus) != B_OK)
if (get_module(B_PCI_MODULE_NAME, (module_info **)&pci_bus) != B_OK)
if (get_module(B_ISA_MODULE_NAME, (module_info **)&isa_bus) != B_OK)
if (get_module(B_PCI_MODULE_NAME, (module_info **)&pci_bus) != B_OK)
if (get_module(B_ISA_MODULE_NAME, (module_info **)&isa_bus) != B_OK) {
if (get_module(B_PCI_MODULE_NAME, (module_info **)&pci_bus) != B_OK)
if (get_module(B_ISA_MODULE_NAME, (module_info **)&isa_bus) != B_OK)
if (get_module(B_PCI_MODULE_NAME, (module_info **)&pci_bus) != B_OK)
if (get_module(B_ISA_MODULE_NAME, (module_info **)&isa_bus) != B_OK) {
get_module(B_AGP_GART_MODULE_NAME, (module_info **)&agp_bus);
if (get_module(B_PCI_MODULE_NAME, (module_info **)&pci_bus) != B_OK)
if (get_module(B_PCI_MODULE_NAME, (module_info **)&pci_bus) != B_OK)
get_module(B_AGP_GART_MODULE_NAME, (module_info **)&sAGP);
status_t status = get_module(B_PCI_MODULE_NAME, (module_info**)&gPCI);
status_t status = get_module(B_PCI_MODULE_NAME, (module_info**)&gPCI);
status_t status = get_module(B_ACPI_MODULE_NAME, (module_info**)&acpiModule);
status_t status = get_module(B_BIOS_MODULE_NAME, (module_info**)&biosModule);
if (get_module(B_PCI_MODULE_NAME, (module_info**)&gPCI) != B_OK)
if (get_module(B_PCI_MODULE_NAME, (module_info**)&gPCI) != B_OK)
if (get_module(B_PCI_MODULE_NAME, (module_info **)&pci_bus) != B_OK)
if (get_module(B_ISA_MODULE_NAME, (module_info **)&isa_bus) != B_OK)
if (get_module(B_PCI_MODULE_NAME, (module_info **)&pci_bus) != B_OK)
if (get_module(B_ISA_MODULE_NAME, (module_info **)&isa_bus) != B_OK)
get_module(B_AGP_MODULE_NAME, (module_info **)&agp_bus);
status = get_module(B_ISA_MODULE_NAME, (module_info**)&gISA);
status = get_module(B_BIOS_MODULE_NAME, (module_info**)&sBIOSModule);
if (get_module(B_PCI_MODULE_NAME, (module_info**)&pci) != B_OK)
if (get_module(B_PCI_MODULE_NAME, (module_info **)&pci_bus) != B_OK)
if (get_module(B_ISA_MODULE_NAME, (module_info **)&isa_bus) != B_OK)
if (get_module(B_PCI_MODULE_NAME, (module_info **)&pci_bus) != B_OK)
if (get_module(B_ISA_MODULE_NAME, (module_info **)&isa_bus) != B_OK)
get_module(B_AGP_GART_MODULE_NAME, (module_info **)&agp_bus);
return get_module(B_PS2_MODULE_NAME, (module_info **)&gPs2);
if (get_module(B_USB_MODULE_NAME, (module_info **)&gUSBModule) != B_OK)
if (get_module(B_USB_MODULE_NAME, (module_info**) &usb) != B_OK) {
if (get_module (pci_name, (module_info **)&pci))
if (get_module (gameport_name, (module_info **)&gameport)) {
if (get_module (pci_name, (module_info **)&pci))
if (get_module(B_ISA_MODULE_NAME, (module_info **)&gISA) < B_OK)
if (get_module(B_PCI_MODULE_NAME, (module_info **)&gPCI) < B_OK)
if (get_module(B_USB_MODULE_NAME, (module_info**)&usb) != B_OK)
if (get_module(B_ISA_MODULE_NAME, (module_info**)&isa) < B_OK)
if (get_module(B_PCI_MODULE_NAME, (module_info**)&pci) < B_OK) {
if ((status = get_module( B_PCI_MODULE_NAME, (module_info **)&gPCIModInfo )) != B_OK) {
status_t status = get_module(B_USB_MODULE_NAME,
status_t status = get_module(B_USB_MODULE_NAME,
status = get_module(B_PCI_MODULE_NAME, (module_info**)&gPci);
status = get_module(B_DPC_MODULE_NAME, (module_info **)&gDPCModule);
status = get_module(B_TTY_MODULE_NAME, (module_info **)&gTTYModule);
status = get_module(B_PCI_MODULE_NAME, (module_info **)&gPCIModule);
status = get_module(B_ISA_MODULE_NAME, (module_info **)&gISAModule);
status_t status = get_module(B_TTY_MODULE_NAME, (module_info **)&gTTYModule);
status = get_module(B_USB_MODULE_NAME, (module_info **)&gUSBModule);
status_t status = get_module(B_TTY_MODULE_NAME, (module_info **)&gTTYModule);
status_t status = get_module(B_ACPI_MODULE_NAME, (module_info**)&sAcpi);
if((status = get_module(B_USB_MODULE_NAME, (module_info **)&usb)) == B_OK){
status_t status = get_module(name, (module_info **)&module);
return get_module(BONE_SOCKET_MODULE, (module_info **)&gSocket); \
return get_module(B_SOCKET_MODULE_NAME, (module_info **)&gSocket); \
return get_module(BONE_SOCKET_MODULE, (module_info **)&gSocket); \
status_t status = get_module(NET_STACK_MODULE_NAME, (module_info**)&stack);
if (get_module(NET_STACK_MODULE_NAME, (module_info**)&stack) == B_OK) {
return get_module(NET_BUFFER_MODULE_NAME,
return get_module(NET_BUFFER_MODULE_NAME,
status_t status = get_module(NET_STACK_MODULE_NAME, (module_info**)&stack);
if (get_module(NET_STACK_MODULE_NAME, (module_info**)&stack) == B_OK) {
status_t status = get_module(NET_BUFFER_MODULE_NAME, (module_info**)&gBufferModule);
status_t status = get_module(NET_STACK_MODULE_NAME,
status_t status = get_module(NET_BUFFER_MODULE_NAME, (module_info **)&gBufferModule);
status_t status = get_module(NET_STACK_MODULE_NAME,
status_t status = get_module(NET_STACK_MODULE_NAME, (module_info **)&sStackModule);
status = get_module(NET_BUFFER_MODULE_NAME, (module_info **)&gBufferModule);
get_module(NET_NOTIFICATIONS_MODULE_NAME, &dummy);
get_module(NET_STACK_MODULE_NAME, (module_info **)&sStackModule);
get_module(NET_DATALINK_MODULE_NAME, (module_info **)&sDatalinkModule);
if (get_module(NET_STACK_MODULE_NAME,
if (get_module(NET_BUFFER_MODULE_NAME,
if (get_module(NET_STACK_MODULE_NAME,
if (get_module(NET_BUFFER_MODULE_NAME,
if (get_module(NET_STACK_MODULE_NAME, (module_info**) &gStackModule) != B_OK)
if (get_module(NET_BUFFER_MODULE_NAME,
status_t status = get_module(NET_STACK_MODULE_NAME,
status = get_module(PPP_INTERFACE_MODULE_NAME,
status_t status = get_module(NET_BUFFER_MODULE_NAME, (module_info **)&gBufferModule);
if (get_module(NET_STACK_MODULE_NAME,
if (get_module(NET_STACK_MODULE_NAME, (module_info**)&gStackModule)
if (get_module(NET_BUFFER_MODULE_NAME, (module_info**)&gBufferModule)
if (get_module(NET_STACK_MODULE_NAME,
if (get_module(NET_DATALINK_MODULE_NAME,
if (get_module(NET_BUFFER_MODULE_NAME,
if (get_module(moduleName, (module_info**) &module) != B_OK) {
if (get_module(PPP_INTERFACE_MODULE_NAME, (module_info**) &fManager) != B_OK)
if (get_module(moduleName, (module_info**)&module) == B_OK) {
get_module(gNetStackInterfaceModule.info.name, &module);
return get_module(NET_NOTIFICATIONS_MODULE_NAME,
if (get_module(modules[i], &infos[i]) < B_OK) {
if (get_module(name, &module) == B_OK)
status = get_module(NET_SOCKET_MODULE_NAME, &dummy);
status_t status = get_module(NET_BUFFER_MODULE_NAME, (module_info **)&gBufferModule);
status_t status = get_module(B_PCI_MODULE_NAME, (module_info **)&gPci);
if (get_module(B_USB_MODULE_NAME, (module_info**)&sUSB) != B_OK) {
get_module(NET_NOTIFICATIONS_MODULE_NAME,
get_module(NET_NOTIFICATIONS_MODULE_NAME,
status = get_module(B_PCI_MODULE_NAME, (module_info**)&pci);
status = get_module(B_PCI_MODULE_NAME, (module_info**)&pci);
if (get_module(name, (module_info**)&moduleInfo) != B_OK)
status_t error = get_module(B_DEVICE_MANAGER_MODULE_NAME,
if (get_module(name, (module_info**)&moduleInfo) != B_OK)
status_t error = get_module(B_DEVICE_MANAGER_MODULE_NAME,
if (get_module(B_ACPI_MODULE_NAME, (module_info**)&acpi) != B_OK)
|| get_module(name, (module_info**)&sCpuModule) == B_OK)
status = get_module(B_ACPI_MODULE_NAME, (module_info**)&acpiModule);
status = get_module(B_ACPI_MODULE_NAME, (module_info**)&acpiModule);
status_t status = get_module(name, (module_info**)&module);
if (get_module("file_cache/launch_speedup/v1",
if (get_module(name, (module_info**)¤t) == B_OK) {
if (get_module(name, (module_info**)¤t) == B_OK) {
get_module(name, (module_info**)&sDemangleModule);
if (get_module(name, (module_info**)&sDebuggerModules[count]) == B_OK) {
status_t status = get_module(ModuleName(), (module_info**)&fDeviceModule);
status_t status = get_module(ModuleName(), (module_info**)&fDriver);
status_t status = get_module(attr->value.string,
if (get_module(name, (module_info**)&driver) != B_OK)
return get_module(Name(), (module_info **)&fModule);
return get_module(Name(), (module_info**)&fModule);
status_t error = get_module(NET_STACK_INTERFACE_MODULE_NAME,
if (get_module(fsName ? fsName : name, (module_info**)&info) != B_OK)
status_t status = get_module(dependencies[i].name,
if (get_module(B_AGP_GART_MODULE_NAME, (module_info**)&sGART) != B_OK)
if (get_module(NET_CORE_MODULE_NAME, (module_info **) &core) != B_OK) {
get_module(NET_CORE_MODULE_NAME, (module_info **) &core);
get_module(NET_ETHERNET_MODULE_NAME, (module_info **) ðernet);
get_module(NET_IPV4_MODULE_NAME, (module_info **) &ipv4);
if (get_module(name, (module_info**)&moduleInfo) == B_OK
return get_module(B_DEVICE_MANAGER_MODULE_NAME, (module_info **)&gDeviceManager);
status_t status = get_module(ModuleName(), (module_info**)&fDriver);
status_t status = get_module(attr->value.string,
if (get_module(name, (module_info**)&driver) != B_OK)
status_t status = get_module(ModuleName(), (module_info**)&fDeviceModule);
get_module(NET_BUFFER_MODULE_NAME, (module_info**)&gBufferModule);
status = get_module("network/protocols/tcp/v1", (module_info **)&gTCPModule);