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

Data Fields

struct tcwtcw
 
struct tcwintrg_tcw
 
int num_tidaws
 
int max_tidaws
 
int intrg_num_tidaws
 
int intrg_max_tidaws
 

Detailed Description

struct itcw - incremental tcw helper data type

This structure serves as a handle for the incremental construction of a tcw and associated tccb, tsb, data tidaw-list plus an optional interrogate tcw and associated data. The data structures are contained inside a single contiguous buffer provided by the user.

The itcw construction functions take care of overall data integrity:

Restrictions apply to the itcws created with these construction functions:

Example: struct itcw *itcw; void *buffer; size_t size;

size = itcw_calc_size(1, 2, 0); buffer = kmalloc(size, GFP_KERNEL | GFP_DMA); if (!buffer) return -ENOMEM; itcw = itcw_init(buffer, size, ITCW_OP_READ, 1, 2, 0); if (IS_ERR(itcw)) return PTR_ER(itcw); itcw_add_dcw(itcw, 0x2, 0, NULL, 0, 72); itcw_add_tidaw(itcw, 0, 0x30000, 20); itcw_add_tidaw(itcw, 0, 0x40000, 52); itcw_finalize(itcw);

Definition at line 57 of file itcw.c.

Field Documentation

int intrg_max_tidaws

Definition at line 63 of file itcw.c.

int intrg_num_tidaws

Definition at line 62 of file itcw.c.

struct tcw* intrg_tcw

Definition at line 59 of file itcw.c.

int max_tidaws

Definition at line 61 of file itcw.c.

int num_tidaws

Definition at line 60 of file itcw.c.

Definition at line 58 of file itcw.c.


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