'\" t
.\"     Title: rio_destid_alloc
.\"    Author: 
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\"      Date: June 2017
.\"    Manual: Internals
.\"    Source: Kernel Hackers Manual 4.11.3
.\"  Language: English
.\"
.TH "RIO_DESTID_ALLOC" "9" "June 2017" "Kernel Hackers Manual 4\&.11\&" "Internals"
.\" -----------------------------------------------------------------
.\" * 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"
rio_destid_alloc \- Allocate next available destID for given network
.SH "SYNOPSIS"
.HP \w'u16\ rio_destid_alloc('u
.BI "u16 rio_destid_alloc(struct\ rio_net\ *\ " "net" ");"
.SH "ARGUMENTS"
.PP
\fIstruct rio_net * net\fR
.RS 4
RIO network
.RE
.SH "DESCRIPTION"
.PP
Returns next available device destination ID for the specified RIO network\&. Marks allocated ID as one in use\&. Returns RIO_INVALID_DESTID if new destID is not available\&.
.SH "AUTHOR"
.PP
\fBMatt Porter\fR <\&mporter@kernel.crashing.org\&>, <\&mporter@mvista.com\&>
.RS 4
Author.
.RE
.SH "COPYRIGHT"
.br
