.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "SBA_SEARCH_BITMAP" "9" "09 October 2005" "" ""
.SH NAME
sba_search_bitmap \- find free space in IO PDIR resource bitmap
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
SBA_INLINE unsigned long sba_search_bitmap (struct ioc * \fIioc\fB, unsigned long \fIbits_wanted\fB, int \fIuse_hint\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIioc\fB\fR
IO MMU structure which owns the pdir we are interested in.
.TP
\fB\fIbits_wanted\fB\fR
number of entries we need.
.TP
\fB\fIuse_hint\fB\fR
use res_hint to indicate where to start looking
.SH "DESCRIPTION"
.PP
Find consecutive free bits in resource bitmap.
Each bit represents one entry in the IO Pdir.
.SH "COOL PERF OPTIMIZATION"
.PP
search for log2(size) bits at a time.