MRAID_MM_ATTACH_BUF

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

 

NAME

mraid_mm_attach_buf - Attach a free dma buffer for required size  

SYNOPSIS

"SYNOPSIS"

int mraid_mm_attach_buf (mraid_mmadp_t * adp, uioc_t * kioc, int xferlen);  

ARGUMENTS

adp
-- undescribed --
kioc
-- undescribed --
xferlen
-- undescribed --
 

DESCRIPTION

adp : Adapter softstate kioc : kioc that the buffer needs to be attached to xferlen : required length for buffer

First we search for a pool with smallest buffer that is >= xferlen. If that pool has no free buffer, we will try for the next bigger size. If none is available, we will try to allocate the smallest buffer that is >= xferlen and attach it the pool.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 00:02:30 GMT, October 09, 2005