Introduction   Client Library API Reference   IDL Interface   File List   Index  

l4blk_request Struct Reference
[Requests]


Data Fields

l4blk_driver_t driver
 Driver handle.
l4blk_blk_request_t request
 Block request.
void * sg_list
int sg_num
 Number of elements in sg_list.
int sg_type
l4_uint32_t status
 Request status.
int error
 Driver error code.
l4semaphore_t * wait
 Client semaphore.
l4blk_callback_fn_t done
 Done callback function.
void * data
 Private client data.

Detailed Description

Client request structure, additionally to the server request structure it contains local client data

Definition at line 123 of file types.h.


Field Documentation

Driver handle.

Definition at line 125 of file types.h.

Block request.

Definition at line 127 of file types.h.

Scatter-gather list, it must be set if no buffer address is specified in the request structure. There are two types of scatter-gather lists, l4blk_sg_phys_elem_t which contains the phys. addresses of buffers and l4blk_sg_ds_elem_t which contains dataspace regions which describe the buffer.

Definition at line 130 of file types.h.

Number of elements in sg_list.

Definition at line 140 of file types.h.

Type of the scatter gather list:

Definition at line 141 of file types.h.

l4_uint32_t l4blk_request::status

Request status.

Definition at line 147 of file types.h.

Driver error code.

Definition at line 148 of file types.h.

l4semaphore_t* l4blk_request::wait

Client semaphore.

Definition at line 149 of file types.h.

Done callback function.

Definition at line 150 of file types.h.

Private client data.

Definition at line 153 of file types.h.


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

Generic Block Interface Reference Manual, written by Lars Reuther  © 2000-2003