---
title: synchronizeCache
framework: kernel
role: pseudoSymbol
path: kernel/iofilterscheme/1811248-synchronizecache
---

# synchronizeCache

## Declaration

```occ
virtual IOReturn synchronizeCache(
 IOService *client); 
```

## Parameters

- `client`: Client requesting the cache synchronization.

## Return Value

Return Value Returns the status of the cache synchronization.

## Overview

Overview Flush the cached data in the storage object, if any, synchronously.

## See Also

### Miscellaneous

- [copyPhysicalExtent](kernel/iofilterscheme/1811149-copyphysicalextent.md)
- [handleClose](kernel/iofilterscheme/1811170-handleclose.md)
- [handleIsOpen](kernel/iofilterscheme/1811193-handleisopen.md)
- [handleOpen](kernel/iofilterscheme/1811211-handleopen.md)
- [lockPhysicalExtents](kernel/iofilterscheme/1811226-lockphysicalextents.md)
- [read](kernel/iofilterscheme/1811238-read.md)
- [unlockPhysicalExtents](kernel/iofilterscheme/1811258-unlockphysicalextents.md)
- [unmap](kernel/iofilterscheme/1811266-unmap.md)
- [write](kernel/iofilterscheme/1811274-write.md)
