SBA_SEARCH_BITMAP

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

 

NAME

sba_search_bitmap - find free space in IO PDIR resource bitmap  

SYNOPSIS

"SYNOPSIS"

SBA_INLINE unsigned long sba_search_bitmap (struct ioc * ioc, unsigned long bits_wanted, int use_hint);  

ARGUMENTS

ioc
IO MMU structure which owns the pdir we are interested in.
bits_wanted
number of entries we need.
use_hint
use res_hint to indicate where to start looking
 

DESCRIPTION

Find consecutive free bits in resource bitmap. Each bit represents one entry in the IO Pdir.  

COOL PERF OPTIMIZATION

search for log2(size) bits at a time.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
COOL PERF OPTIMIZATION

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