|
Linux Kernel
3.7.1
|
#include <iorpc.h>
Data Fields | |
| struct { | |
| uint64_t va | |
| uint64_t size | |
| unsigned int flags | |
| } | user |
| struct { | |
| unsigned long long cpa | |
| uint64_t size | |
| uint64_t pte | |
| unsigned int flags | |
| } | kernel |
| struct { | |
| unsigned long long pa | |
| size_t size | |
| struct iorpc_mem_attr attr | |
| } | hv |
A structure used to describe memory registration. Different protection levels describe memory differently, so this union contains all the different possible descriptions. As a request moves up the call chain, each layer translates from one description format to the next. In particular, the Linux iorpc driver translates user VAs into CPAs and homing parameters.
| struct iorpc_mem_attr attr |
| struct { ... } hv |
Buffer parameters for HV driver.
| struct { ... } kernel |
Buffer as described by kernel.
| struct { ... } user |
Buffer as described by user apps.
1.8.2