---
title: numOfBlocks
framework: BlockStorageDeviceDriverKit
role: symbol
role_heading: Instance Property
platforms: [driverkit 21.0+]
path: blockstoragedevicedriverkit/deviceparams/numofblocks
---

# numOfBlocks

The number of blocks on the device.

## Declaration

```occ
uint64_t numOfBlocks;
```

## See Also

### Accessing Device Parameters

- [blockSize](blockstoragedevicedriverkit/deviceparams/blocksize.md)
- [maxIOSize](blockstoragedevicedriverkit/deviceparams/maxiosize.md)
- [numOfOutstandingIOs](blockstoragedevicedriverkit/deviceparams/numofoutstandingios.md)
- [maxNumOfUnmapRegions](blockstoragedevicedriverkit/deviceparams/maxnumofunmapregions.md)
- [minSegmentAlignment](blockstoragedevicedriverkit/deviceparams/minsegmentalignment.md)
- [numOfAddressBits](blockstoragedevicedriverkit/deviceparams/numofaddressbits.md)
- [isUnmapSupported](blockstoragedevicedriverkit/deviceparams/isunmapsupported.md)
- [isFUASupported](blockstoragedevicedriverkit/deviceparams/isfuasupported.md)
