---
title: gen32IOVMSegments
framework: kernel
role: pseudoSymbol
path: kernel/iodmacommand/1811104-gen32iovmsegments
---

# gen32IOVMSegments

Helper function for a type checked call to genIOVMSegments(qv), for use with an IODMACommand set up with the output function kIODMACommandOutputHost32, kIODMACommandOutputBig32, or kIODMACommandOutputLittle32. If the output function of the IODMACommand is not a 32 bit function, results will be incorrect.

## Declaration

```occ
inline IOReturn gen32IOVMSegments(
 UInt64 *offset, 
 Segment32 *segments, 
 UInt32 *numSegments) ;
```

## See Also

### Configuring the Memory Descriptor

- [setMemoryDescriptor](kernel/iodmacommand/1811308-setmemorydescriptor.md)
- [setMemoryDescriptor](kernel/iodmacommand/1547727-setmemorydescriptor.md)
- [clearMemoryDescriptor](kernel/iodmacommand/1811032-clearmemorydescriptor.md)
- [clearMemoryDescriptor](kernel/iodmacommand/1547715-clearmemorydescriptor.md)
- [getMemoryDescriptor](kernel/iodmacommand/1811175-getmemorydescriptor.md)
- [getMemoryDescriptor](kernel/iodmacommand/1547753-getmemorydescriptor.md)
- [getIOMemoryDescriptor](kernel/iodmacommand/1547736-getiomemorydescriptor.md)
- [getPreparedOffsetAndLength](kernel/iodmacommand/1811194-getpreparedoffsetandlength.md)
- [getPreparedOffsetAndLength](kernel/iodmacommand/1547765-getpreparedoffsetandlength.md)
- [genIOVMSegments](kernel/iodmacommand/1811150-geniovmsegments.md)
- [genIOVMSegments](kernel/iodmacommand/1547720-geniovmsegments.md)
- [gen32IOVMSegments](kernel/iodmacommand/1547749-gen32iovmsegments.md)
- [gen64IOVMSegments](kernel/iodmacommand/1811126-gen64iovmsegments.md)
- [gen64IOVMSegments](kernel/iodmacommand/1547722-gen64iovmsegments.md)
- [createCopyBuffer](kernel/iodmacommand/1547729-createcopybuffer.md)
