'\" t .\" Title: i2o_block_check_events .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: May 2018 .\" Manual: Message-based devices .\" Source: Kernel Hackers Manual 3.16.56 .\" Language: English .\" .TH "I2O_BLOCK_CHECK_EVEN" "9" "May 2018" "Kernel Hackers Manual 3\&.16\&" "Message-based devices" .\" ----------------------------------------------------------------- .\" * 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" i2o_block_check_events \- Have we seen a media change? .SH "SYNOPSIS" .HP \w'unsigned\ int\ i2o_block_check_events('u .BI "unsigned int i2o_block_check_events(struct\ gendisk\ *\ " "disk" ", unsigned\ int\ " "clearing" ");" .SH "ARGUMENTS" .PP \fIdisk\fR .RS 4 gendisk which should be verified .RE .PP \fIclearing\fR .RS 4 events being cleared .RE .SH "DESCRIPTION" .PP Verifies if the media has changed\&. .PP Returns 1 if the media was changed or 0 otherwise\&. .SH "COPYRIGHT" .br