---
name: "airq_iv_alloc"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/airq_iv_alloc"
---

# airq\_iv\_alloc(9)

allocate irq bits from an interrupt vector

## NAME

airq\_iv\_alloc - allocate irq bits from an interrupt vector

## SYNOPSIS

**unsigned long airq\_iv\_alloc(struct airq\_iv \*** *iv***, unsigned long** *num***);**

## ARGUMENTS

*iv*

pointer to an interrupt vector structure

*num*

number of consecutive irq bits to allocate

## DESCRIPTION

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

## AUTHOR

**Cornelia Huck** \<cornelia.huck@de.ibm.com\>

Author.

## COPYRIGHT
