I2O_POST_WAIT_MEM

Section: ()
Updated: 06 October 2005
Index Return to Main Contents

 

NAME

i2o_post_wait_mem - I2O query/reply with DMA buffers  

SYNOPSIS

"SYNOPSIS"

int i2o_post_wait_mem (struct i2o_controller * c, u32 * msg, int len, int timeout, void * mem1, void * mem2, dma_addr_t phys1, dma_addr_t phys2, int size1, int size2);  

ARGUMENTS

c
controller
msg
message to send
len
length of message
timeout
time in seconds to wait
mem1
attached memory buffer 1
mem2
attached memory buffer 2
phys1
physical address of buffer 1
phys2
physical address of buffer 2
size1
size of buffer 1
size2
size of buffer 2
 

DESCRIPTION

This core API allows an OSM to post a message and then be told whether or not the system received a successful reply.

If the message times out then the value '-ETIMEDOUT' is returned. This is a special case. In this situation the message may (should) complete at an indefinite time in the future. When it completes it will use the memory buffers attached to the request. If -ETIMEDOUT is returned then the memory buffers must not be freed. Instead the event completion will free them for you. In all other cases the buffers are your problem.

Pass NULL for unneeded buffers.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 13:31:32 GMT, October 06, 2005