Home
last modified time | relevance | path

Searched refs:fDeviceData (Results 1 – 9 of 9) sorted by relevance

/haiku/src/system/kernel/disk_device_manager/
H A DKDiskDevice.cpp33 fDeviceData(), in KDiskDevice()
62 error = set_string(fDeviceData.path, path); in SetTo()
77 error = GetGeometry(&fDeviceData.geometry); in SetTo()
101 fDeviceData.id = -1; in Unset()
102 fDeviceData.flags = 0; in Unset()
103 if (fDeviceData.path) { in Unset()
104 free(fDeviceData.path); in Unset()
105 fDeviceData.path = NULL; in Unset()
150 fDeviceData.id = id; in SetID()
184 fDeviceData.flags = flags; in SetDeviceFlags()
[all …]
/haiku/src/kits/storage/disk_device/
H A DDiskDevice.cpp51 fDeviceData(NULL) in BDiskDevice()
72 return fDeviceData in HasMedia()
73 && (fDeviceData->device_flags & B_DISK_DEVICE_HAS_MEDIA) != 0; in HasMedia()
84 return fDeviceData in IsRemovableMedia()
85 && (fDeviceData->device_flags & B_DISK_DEVICE_REMOVABLE) != 0; in IsRemovableMedia()
93 return fDeviceData in IsReadOnlyMedia()
94 && (fDeviceData->device_flags & B_DISK_DEVICE_READ_ONLY) != 0; in IsReadOnlyMedia()
102 return fDeviceData in IsWriteOnceMedia()
103 && (fDeviceData->device_flags & B_DISK_DEVICE_WRITE_ONCE) != 0; in IsWriteOnceMedia()
123 if (fDeviceData == NULL) in Eject()
[all …]
/haiku/src/system/kernel/device_manager/
H A DAbstractModuleDevice.h23 void* Data() const { return fDeviceData; } in Data()
56 void* fDeviceData; variable
H A DAbstractModuleDevice.cpp18 fDeviceData(NULL) in AbstractModuleDevice()
H A Ddevice_manager.cpp1120 status = Module()->init_device(fNode->DriverData(), &fDeviceData); in InitDevice()
1128 fDeviceData = NULL; in InitDevice()
1148 Module()->uninit_device(fDeviceData); in UninitDevice()
1151 fDeviceData = NULL; in UninitDevice()
H A Dlegacy_drivers.cpp1256 fDeviceData = this; in LegacyDevice()
/haiku/headers/private/storage/
H A DDiskDevice.h66 user_disk_device_data* fDeviceData; variable
/haiku/headers/private/kernel/disk_device_manager/
H A DKDiskDevice.h94 disk_device_data fDeviceData; variable
/haiku/src/tests/system/kernel/device_manager/playground/
H A Ddevice_manager.cpp86 void* DeviceData() const { return fDeviceData; } in DeviceData()
95 void* fDeviceData; member in Device
869 fDeviceData(NULL) in Device()
917 status = fDeviceModule->init_device(fNode->DriverData(), &fDeviceData); in InitDevice()
925 fDeviceData = NULL; in InitDevice()
943 fDeviceModule->uninit_device(fDeviceData); in UninitDevice()
946 fDeviceData = NULL; in UninitDevice()