.\" 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 "DRM_RELEASE" "9" "09 October 2005" "" "" .SH NAME drm_release \- .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int drm_release (struct inode * \fIinode\fB, struct file * \fIfilp\fB); \fR .SH "ARGUMENTS" .TP \fB\fIinode\fB\fR -- undescribed -- .TP \fB\fIfilp\fB\fR -- undescribed -- .SH "DESCRIPTION" .PP .PP \\param inode device inode \\param filp file pointer. \\return zero on success or a negative number on failure. .PP If the hardware lock is held then free it, and take it again for the kernel context since it's necessary to reclaim buffers. Unlink the file private data from its list and free it. Decreases the open count and if it reaches zero calls \fBtakedown\fR\&.