'\" t .\" Title: airq_iv_alloc .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: Generic interfaces .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "AIRQ_IV_ALLOC" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Generic interfaces" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" airq_iv_alloc \- allocate irq bits from an interrupt vector .SH "SYNOPSIS" .HP \w'unsigned\ long\ airq_iv_alloc('u .BI "unsigned long airq_iv_alloc(struct\ airq_iv\ *\ " "iv" ", unsigned\ long\ " "num" ");" .SH "ARGUMENTS" .PP \fIiv\fR .RS 4 pointer to an interrupt vector structure .RE .PP \fInum\fR .RS 4 number of consecutive irq bits to allocate .RE .SH "DESCRIPTION" .PP Returns the bit number of the first irq in the allocated block of irqs, or \-1UL if no bit is available or the AIRQ_IV_ALLOC flag has not been specified .SH "AUTHOR" .PP \fBCornelia Huck\fR <\&cornelia.huck@de.ibm.com\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br