---
title: complete
framework: kernel
role: pseudoSymbol
path: kernel/iostorage/1810767-complete
---

# complete

## Declaration

```occ
static void complete(
 IOStorageCompletion *completion, 
 IOReturn status, 
 UInt64 actualByteCount = 0); 
```

## Parameters

- `completion`: Completion information for the data transfer.
- `status`: Status of the data transfer.
- `actualByteCount`: Actual number of bytes transferred in the data transfer.

## Overview

Overview Invokes the specified completion action of the read/write request. If the completion action is unspecified, no action is taken. This method serves simply as a convenience to storage subclass developers.

## See Also

### Miscellaneous

- [copyPhysicalExtent](kernel/iostorage/1810820-copyphysicalextent.md)
- [handleClose](kernel/iostorage/1810866-handleclose.md)
- [handleIsOpen](kernel/iostorage/1810905-handleisopen.md)
- [handleOpen](kernel/iostorage/1810948-handleopen.md)
- [lockPhysicalExtents](kernel/iostorage/1810985-lockphysicalextents.md)
- [open](kernel/iostorage/1811013-open.md)
- [read()](kernel/iostorage/1811038-read.md)
- [read()](kernel/iostorage/1811068-read.md)
- [synchronizeCache](kernel/iostorage/1811091-synchronizecache.md)
- [unlockPhysicalExtents](kernel/iostorage/1811117-unlockphysicalextents.md)
- [unmap](kernel/iostorage/1811145-unmap.md)
- [write()](kernel/iostorage/1811168-write.md)
- [write()](kernel/iostorage/1811185-write.md)
