SBA_COALESCE_CHUNKS
Section: (9)
Updated: 09 October 2005
Index
Return to Main Contents
NAME
sba_coalesce_chunks - preprocess the SG list
SYNOPSIS
"SYNOPSIS"
SBA_INLINE int sba_coalesce_chunks (struct ioc * ioc, struct scatterlist * startsg, int nents);
ARGUMENTS
- ioc
-
IO MMU structure which owns the pdir we are interested in.
- startsg
-
list of IOVA/size pairs
- nents
-
number of entries in startsg list
DESCRIPTION
First pass is to walk the SG list and determine where the breaks are
in the DMA stream. Allocates PDIR entries but does not fill them.
Returns the number of DMA chunks.
Doing the fill separate from the coalescing/allocation keeps the
code simpler. Future enhancement could make one pass through
the sglist do both.
Index
- NAME
-
- SYNOPSIS
-
- ARGUMENTS
-
- DESCRIPTION
-
This document was created by
man2html,
using the manual pages.
Time: 00:02:44 GMT, October 09, 2005