Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
iorpc_mem_buffer Union Reference

#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
 

Detailed Description

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.

Definition at line 357 of file iorpc.h.

Field Documentation

Homing and locality hint bits.

Definition at line 385 of file iorpc.h.

unsigned long long cpa

Client physical address.

Definition at line 369 of file iorpc.h.

unsigned int flags

nt_hint, IO pin.

Definition at line 363 of file iorpc.h.

struct { ... } hv

Buffer parameters for HV driver.

struct { ... } kernel

Buffer as described by kernel.

unsigned long long pa

Physical address.

Definition at line 383 of file iorpc.h.

uint64_t pte

Definition at line 375 of file iorpc.h.

uint64_t size

Buffer size.

Definition at line 362 of file iorpc.h.

size_t size

Buffer size.

Definition at line 384 of file iorpc.h.

struct { ... } user

Buffer as described by user apps.

User virtual address.

Definition at line 361 of file iorpc.h.


The documentation for this union was generated from the following file: