MCPcopy Create free account
hub / github.com/Bananymous/banan-os / sync_disk_cache

Method sync_disk_cache

kernel/kernel/Storage/StorageDevice.cpp:225–230  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

223 }
224
225 BAN::ErrorOr<void> StorageDevice::sync_disk_cache()
226 {
227 if (m_disk_cache.has_value())
228 TRY(m_disk_cache->sync());
229 return {};
230 }
231
232 BAN::ErrorOr<void> StorageDevice::read_sectors(uint64_t lba, size_t sector_count, BAN::ByteSpan buffer)
233 {

Callers 1

Calls 2

has_valueMethod · 0.45
syncMethod · 0.45

Tested by

no test coverage detected