Lines Matching full:disk
4 // Description: Class to handle low-level disk I/O for GPT fdisk
124 // Close the disk, in case it's already open for reading only.... in OpenForWrite()
146 // Close the disk device. Note that this does NOT erase the stored filenames,
158 // (512). If the disk can't be opened at all, return a value of 0.
165 // If disk isn't open, try to open it.... in GetBlockSize()
188 // ENOTTY = inappropriate ioctl; probably being called on a disk image in GetBlockSize()
195 cout << "Disk device is " << realFilename << "\n"; in GetBlockSize()
209 // If disk isn't open, try to open it.... in GetPhysBlockSize()
232 // If disk isn't open, try to open it.... in GetNumHeads()
250 // If disk isn't open, try to open it.... in GetNumSecsPerTrack()
260 // Resync disk caches so the OS uses the new partition table. This code varies
268 // If disk isn't open, try to open it.... in DiskSync()
279 * it definitely will get things on disk though: in DiskSync()
322 // If disk isn't open, try to open it.... in Seek()
345 // If disk isn't open, try to open it.... in Read()
388 // If disk isn't open, try to open it.... in Write()
434 // return correct values for disk image files.
444 // If disk isn't open, try to open it.... in DiskSize()