Lines Matching refs:isOpen
51 if (isOpen) { // file is already open in OpenForRead()
69 isOpen = 0; in OpenForRead()
72 isOpen = 0; in OpenForRead()
86 isOpen = 1; in OpenForRead()
91 return isOpen; in OpenForRead()
97 if ((isOpen) && (openForWrite)) in OpenForWrite()
113 isOpen = 1; in OpenForWrite()
116 isOpen = 0; in OpenForWrite()
119 return isOpen; in OpenForWrite()
125 if (isOpen) in Close()
128 isOpen = 0; in Close()
142 if (!isOpen) { in GetBlockSize()
146 if (isOpen) { in GetBlockSize()
188 if (!isOpen) in GetNumHeads()
206 if (!isOpen) in GetNumSecsPerTrack()
224 if (!isOpen) { in DiskSync()
228 if (isOpen) { in DiskSync()
277 if (!isOpen) { in Seek()
281 if (isOpen) { in Seek()
300 if (!isOpen) { in Read()
304 if (isOpen) { in Read()
343 if ((!isOpen) || (!openForWrite)) { in Write()
347 if (isOpen) { in Write()
399 if (!isOpen) { in DiskSize()
403 if (isOpen) { in DiskSize()