Home
last modified time | relevance | path

Searched refs:fWriteBytesAvail (Results 1 – 2 of 2) sorted by relevance

/haiku/src/add-ons/accelerants/radeon_hd/
H A Dringqueue.cpp59 fWriteBytesAvail = fSize; in RingQueue()
89 fWriteBytesAvail = fSize; in Empty()
98 if (dataPtr == 0 || bytes <= 0 || fWriteBytesAvail == fSize) in Read()
101 size_t readBytesAvail = fSize - fWriteBytesAvail; in Read()
117 fWriteBytesAvail += bytes; in Read()
127 if (dataPtr == 0 || bytes <= 0 || fWriteBytesAvail == 0) in Write()
131 if (bytes > fWriteBytesAvail) in Write()
132 bytes = fWriteBytesAvail; in Write()
143 fWriteBytesAvail -= bytes; in Write()
H A Dringqueue.h39 size_t GetWriteAvail() {return fWriteBytesAvail;} in GetWriteAvail()
40 size_t GetReadAvail() {return fSize - fWriteBytesAvail;} in GetReadAvail()
48 size_t fWriteBytesAvail; variable