1MPTCTL_SYSCALL_DOWN(9) Message-based devices MPTCTL_SYSCALL_DOWN(9)
2
3
4
6 mptctl_syscall_down - Down the MPT adapter syscall semaphore.
7
9 int mptctl_syscall_down(MPT_ADAPTER * ioc, int nonblock);
10
12 ioc
13 Pointer to MPT adapter
14
15 nonblock
16 boolean, non-zero if O_NONBLOCK is set
17
19 All of the ioctl commands can potentially sleep, which is illegal with
20 a spinlock held, thus we perform mutual exclusion here.
21
22 Returns negative errno on error, or zero for success.
23
25Kernel Hackers Manual 2.6. June 2019 MPTCTL_SYSCALL_DOWN(9)