Lines Matching refs:isOpen
53 if (isOpen) { // file is already open in OpenForRead()
71 isOpen = 0; in OpenForRead()
74 isOpen = 0; in OpenForRead()
88 isOpen = 1; in OpenForRead()
93 return isOpen; in OpenForRead()
99 if ((isOpen) && (openForWrite)) in OpenForWrite()
115 isOpen = 1; in OpenForWrite()
118 isOpen = 0; in OpenForWrite()
121 return isOpen; in OpenForWrite()
127 if (isOpen) in Close()
130 isOpen = 0; in Close()
144 if (!isOpen) { in GetBlockSize()
148 if (isOpen) { in GetBlockSize()
190 if (!isOpen) in GetNumHeads()
208 if (!isOpen) in GetNumSecsPerTrack()
226 if (!isOpen) { in DiskSync()
230 if (isOpen) { in DiskSync()
279 if (!isOpen) { in Seek()
283 if (isOpen) { in Seek()
302 if (!isOpen) { in Read()
306 if (isOpen) { in Read()
345 if ((!isOpen) || (!openForWrite)) { in Write()
349 if (isOpen) { in Write()
401 if (!isOpen) { in DiskSize()
405 if (isOpen) { in DiskSize()