'\" t .\" Title: mptctl_syscall_down .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: Message-based devices .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "MPTCTL_SYSCALL_DOWN" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "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" mptctl_syscall_down \- Down the MPT adapter syscall semaphore\&. .SH "SYNOPSIS" .HP \w'int\ mptctl_syscall_down('u .BI "int mptctl_syscall_down(MPT_ADAPTER\ *\ " "ioc" ", int\ " "nonblock" ");" .SH "ARGUMENTS" .PP \fIioc\fR .RS 4 Pointer to MPT adapter .RE .PP \fInonblock\fR .RS 4 boolean, non\-zero if O_NONBLOCK is set .RE .SH "DESCRIPTION" .PP All of the ioctl commands can potentially sleep, which is illegal with a spinlock held, thus we perform mutual exclusion here\&. .PP Returns negative errno on error, or zero for success\&. .SH "COPYRIGHT" .br