---
title: getFragmentCapacity
framework: kernel
role: pseudoSymbol
path: kernel/iorangeallocator/1810407-getfragmentcapacity
---

# getFragmentCapacity

Accessor to return the number of free fragments in the range.

## Declaration

```occ
virtual UInt32 getFragmentCapacity(
 void ); 
```

## Return Value

Return Value Returns the current capacity of free fragment list.

## Overview

Overview This method returns the current capacity of the free fragment list.

## See Also

### Miscellaneous

- [allocate](kernel/iorangeallocator/1810255-allocate.md)
- [allocateRange](kernel/iorangeallocator/1810314-allocaterange.md)
- [deallocate](kernel/iorangeallocator/1810361-deallocate.md)
- [getFragmentCount](kernel/iorangeallocator/1810456-getfragmentcount.md)
- [getFreeCount](kernel/iorangeallocator/1810490-getfreecount.md)
- [init](kernel/iorangeallocator/1810534-init.md)
- [setFragmentCapacityIncrement](kernel/iorangeallocator/1810575-setfragmentcapacityincrement.md)
- [withRange](kernel/iorangeallocator/1810621-withrange.md)
