Home
last modified time | relevance | path

Searched refs:sDevices (Results 1 – 3 of 3) sorted by relevance

/haiku/src/add-ons/kernel/drivers/disk/virtual/remote_disk/
H A Dremote_disk.cpp116 static RemoteDiskDevice* sDevices; variable
128 return sDevices + i; in device_for_name()
343 sDevices = new(nothrow) RemoteDiskDevice[MAX_REMOTE_DISKS]; in init_driver()
344 if (!sDevices) in init_driver()
349 error = sDevices[i].Init(); in init_driver()
352 delete[] sDevices; in init_driver()
353 sDevices = NULL; in init_driver()
366 delete[] sDevices; in uninit_driver()
/haiku/src/add-ons/kernel/network/ppp/pppoe/
H A Dpppoe.cpp48 static TemplateList<PPPoEDevice*> *sDevices; variable
145 if (!sDevices->HasItem(device)) in add_device()
146 sDevices->AddItem(device); in add_device()
156 sDevices->RemoveItem(device); in remove_device()
207 for (int32 index = 0; index < sDevices->CountItems(); index++) { in pppoe_input()
232 sDevices->CountItems()); in pppoe_input()
234 for (int32 index = 0; index < sDevices->CountItems(); index++) { in pppoe_input()
235 device = sDevices->ItemAt(index); in pppoe_input()
402 sDevices = new TemplateList<PPPoEDevice*>; in std_ops()
410 delete sDevices; in std_ops()
/haiku/src/tests/add-ons/kernel/busses/scsi/example/
H A Dexample_scsi.c93 static const char *sDevices[] = { "drivers/dev/example", NULL }; in example_get_supported_paths() local
97 *devices = sDevices; in example_get_supported_paths()