MCPcopy Create free account
hub / github.com/LemonOSProject/LemonOS / ReleaseBuffer

Method ReleaseBuffer

Kernel/src/storage/ahciport.cpp:184–189  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

182 }
183
184 void Port::ReleaseBuffer(unsigned index){
185 assert(index < 8);
186
187 releaseLock(&bufferLocks[index]);
188 bufferSemaphore.Signal();
189 }
190
191 int Port::ReadDiskBlock(uint64_t lba, uint32_t count, void* _buffer){
192 uint64_t blockCount = ((count + (blocksize - 1)) / blocksize);

Callers

nothing calls this directly

Calls 1

SignalMethod · 0.80

Tested by

no test coverage detected