.\" 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 "IB_ALLOC_DEVICE" "9" "09 October 2005" "" ""
.SH NAME
ib_alloc_device \- allocate an IB device struct
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
struct ib_device * ib_alloc_device (size_t \fIsize\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIsize\fB\fR
size of structure to allocate
.SH "DESCRIPTION"
.PP
Low-level drivers should use \fBib_alloc_device\fR to allocate &struct
ib_device. \fIsize\fR is the size of the structure to be allocated,
including any private data used by the low-level driver.
\fBib_dealloc_device\fR must be used to free structures allocated with
\fBib_alloc_device\fR\&.