.\" 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 "KMEM_CACHE_ALLOC" "" "06 October 2005" "" ""
.SH NAME
kmem_cache_alloc \- Allocate an object
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
void * kmem_cache_alloc (kmem_cache_t * \fIcachep\fB, int \fIflags\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIcachep\fB\fR
The cache to allocate from.
.TP
\fB\fIflags\fB\fR
See \fBkmalloc\fR\&.
.SH "DESCRIPTION"
.PP
Allocate an object from this cache. The flags are only relevant
if the cache has no available objects.