.\" 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 "IDR_FIND" "9" "09 October 2005" "" "" .SH NAME idr_find \- return pointer for given id .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp void * idr_find (struct idr * \fIidp\fB, int \fIid\fB); \fR .SH "ARGUMENTS" .TP \fB\fIidp\fB\fR idr handle .TP \fB\fIid\fB\fR lookup key .SH "DESCRIPTION" .PP Return the pointer given the id it has been registered with. A NULL return indicates that \fIid\fR is not valid or you passed NULL in \fBidr_get_new\fR\&. .PP The caller must serialize \fBidr_find\fR vs \fBidr_get_new\fR and \fBidr_remove\fR\&.