Home
last modified time | relevance | path

Searched refs:ioctl_cmds (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/message/fusion/
H A Dmptctl.c184 if (!mutex_trylock(&ioc->ioctl_cmds.mutex)) in mptctl_syscall_down()
187 if (mutex_lock_interruptible(&ioc->ioctl_cmds.mutex)) in mptctl_syscall_down()
218 if (ioc->ioctl_cmds.msg_context != req->u.hdr.MsgContext) in mptctl_reply()
221 ioc->ioctl_cmds.status |= MPT_MGMT_STATUS_COMMAND_GOOD; in mptctl_reply()
226 ioc->ioctl_cmds.status |= MPT_MGMT_STATUS_RF_VALID; in mptctl_reply()
228 memcpy(ioc->ioctl_cmds.reply, reply, sz); in mptctl_reply()
256 memcpy(ioc->ioctl_cmds.sense, sense_data, sz); in mptctl_reply()
257 ioc->ioctl_cmds.status |= MPT_MGMT_STATUS_SENSE_VALID; in mptctl_reply()
264 if (ioc->ioctl_cmds.status & MPT_MGMT_STATUS_PENDING) { in mptctl_reply()
267 ioc->ioctl_cmds.status &= ~MPT_MGMT_STATUS_PENDING; in mptctl_reply()
[all …]
H A Dmptbase.h750 MPT_MGMT ioctl_cmds; member