---
title: synchronizeCache
framework: kernel
role: pseudoSymbol
path: kernel/iopartitionscheme/1810446-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/iopartitionscheme/1810278-copyphysicalextent.md)
- [handleClose](kernel/iopartitionscheme/1810310-handleclose.md)
- [handleIsOpen](kernel/iopartitionscheme/1810337-handleisopen.md)
- [handleOpen](kernel/iopartitionscheme/1810366-handleopen.md)
- [lockPhysicalExtents](kernel/iopartitionscheme/1810387-lockphysicalextents.md)
- [read](kernel/iopartitionscheme/1810409-read.md)
- [unlockPhysicalExtents](kernel/iopartitionscheme/1810496-unlockphysicalextents.md)
- [unmap](kernel/iopartitionscheme/1810548-unmap.md)
- [write](kernel/iopartitionscheme/1810601-write.md)
