ioctl_cmds 751 drivers/message/fusion/mptbase.h MPT_MGMT ioctl_cmds; ioctl_cmds 184 drivers/message/fusion/mptctl.c if (!mutex_trylock(&ioc->ioctl_cmds.mutex)) ioctl_cmds 187 drivers/message/fusion/mptctl.c if (mutex_lock_interruptible(&ioc->ioctl_cmds.mutex)) ioctl_cmds 218 drivers/message/fusion/mptctl.c if (ioc->ioctl_cmds.msg_context != req->u.hdr.MsgContext) ioctl_cmds 221 drivers/message/fusion/mptctl.c ioc->ioctl_cmds.status |= MPT_MGMT_STATUS_COMMAND_GOOD; ioctl_cmds 226 drivers/message/fusion/mptctl.c ioc->ioctl_cmds.status |= MPT_MGMT_STATUS_RF_VALID; ioctl_cmds 228 drivers/message/fusion/mptctl.c memcpy(ioc->ioctl_cmds.reply, reply, sz); ioctl_cmds 256 drivers/message/fusion/mptctl.c memcpy(ioc->ioctl_cmds.sense, sense_data, sz); ioctl_cmds 257 drivers/message/fusion/mptctl.c ioc->ioctl_cmds.status |= MPT_MGMT_STATUS_SENSE_VALID; ioctl_cmds 264 drivers/message/fusion/mptctl.c if (ioc->ioctl_cmds.status & MPT_MGMT_STATUS_PENDING) { ioctl_cmds 267 drivers/message/fusion/mptctl.c ioc->ioctl_cmds.status &= ~MPT_MGMT_STATUS_PENDING; ioctl_cmds 268 drivers/message/fusion/mptctl.c complete(&ioc->ioctl_cmds.done); ioctl_cmds 272 drivers/message/fusion/mptctl.c ioc->ioctl_cmds.status &= ~MPT_MGMT_STATUS_PENDING; ioctl_cmds 273 drivers/message/fusion/mptctl.c complete(&ioc->ioctl_cmds.done); ioctl_cmds 479 drivers/message/fusion/mptctl.c CLEAR_MGMT_PENDING_STATUS(ioc->ioctl_cmds.status) ioctl_cmds 486 drivers/message/fusion/mptctl.c CLEAR_MGMT_PENDING_STATUS(ioc->ioctl_cmds.status) ioctl_cmds 538 drivers/message/fusion/mptctl.c if (ioc->ioctl_cmds.status & MPT_MGMT_STATUS_PENDING) { ioctl_cmds 539 drivers/message/fusion/mptctl.c ioc->ioctl_cmds.status |= MPT_MGMT_STATUS_DID_IOCRESET; ioctl_cmds 540 drivers/message/fusion/mptctl.c complete(&ioc->ioctl_cmds.done); ioctl_cmds 693 drivers/message/fusion/mptctl.c mutex_unlock(&iocp->ioctl_cmds.mutex); ioctl_cmds 927 drivers/message/fusion/mptctl.c SET_MGMT_MSG_CONTEXT(iocp->ioctl_cmds.msg_context, dlmsg->MsgContext); ioctl_cmds 928 drivers/message/fusion/mptctl.c INITIALIZE_MGMT_STATUS(iocp->ioctl_cmds.status) ioctl_cmds 933 drivers/message/fusion/mptctl.c timeleft = wait_for_completion_timeout(&iocp->ioctl_cmds.done, HZ*60); ioctl_cmds 934 drivers/message/fusion/mptctl.c if (!(iocp->ioctl_cmds.status & MPT_MGMT_STATUS_COMMAND_GOOD)) { ioctl_cmds 937 drivers/message/fusion/mptctl.c if (iocp->ioctl_cmds.status & MPT_MGMT_STATUS_DID_IOCRESET) { ioctl_cmds 951 drivers/message/fusion/mptctl.c if (!(iocp->ioctl_cmds.status & MPT_MGMT_STATUS_RF_VALID)) { ioctl_cmds 961 drivers/message/fusion/mptctl.c ReplyMsg = (pFWDownloadReply_t)iocp->ioctl_cmds.reply; ioctl_cmds 986 drivers/message/fusion/mptctl.c CLEAR_MGMT_STATUS(iocp->ioctl_cmds.status); ioctl_cmds 987 drivers/message/fusion/mptctl.c SET_MGMT_MSG_CONTEXT(iocp->ioctl_cmds.msg_context, 0); ioctl_cmds 2164 drivers/message/fusion/mptctl.c SET_MGMT_MSG_CONTEXT(ioc->ioctl_cmds.msg_context, hdr->MsgContext); ioctl_cmds 2165 drivers/message/fusion/mptctl.c INITIALIZE_MGMT_STATUS(ioc->ioctl_cmds.status) ioctl_cmds 2199 drivers/message/fusion/mptctl.c timeleft = wait_for_completion_timeout(&ioc->ioctl_cmds.done, ioctl_cmds 2201 drivers/message/fusion/mptctl.c if (!(ioc->ioctl_cmds.status & MPT_MGMT_STATUS_COMMAND_GOOD)) { ioctl_cmds 2205 drivers/message/fusion/mptctl.c if (ioc->ioctl_cmds.status & MPT_MGMT_STATUS_DID_IOCRESET) { ioctl_cmds 2233 drivers/message/fusion/mptctl.c if (ioc->ioctl_cmds.status & MPT_MGMT_STATUS_RF_VALID) { ioctl_cmds 2236 drivers/message/fusion/mptctl.c 4*ioc->ioctl_cmds.reply[2]); ioctl_cmds 2238 drivers/message/fusion/mptctl.c sz = min(ioc->reply_sz, 4*ioc->ioctl_cmds.reply[2]); ioctl_cmds 2242 drivers/message/fusion/mptctl.c ioc->ioctl_cmds.reply, sz)){ ioctl_cmds 2255 drivers/message/fusion/mptctl.c if (ioc->ioctl_cmds.status & MPT_MGMT_STATUS_SENSE_VALID) { ioctl_cmds 2259 drivers/message/fusion/mptctl.c ioc->ioctl_cmds.sense, sz)) { ioctl_cmds 2273 drivers/message/fusion/mptctl.c if ((ioc->ioctl_cmds.status & MPT_MGMT_STATUS_COMMAND_GOOD) && ioctl_cmds 2288 drivers/message/fusion/mptctl.c CLEAR_MGMT_STATUS(ioc->ioctl_cmds.status) ioctl_cmds 2289 drivers/message/fusion/mptctl.c SET_MGMT_MSG_CONTEXT(ioc->ioctl_cmds.msg_context, 0); ioctl_cmds 2488 drivers/message/fusion/mptctl.c SET_MGMT_MSG_CONTEXT(ioc->ioctl_cmds.msg_context, ioctl_cmds 2490 drivers/message/fusion/mptctl.c INITIALIZE_MGMT_STATUS(ioc->ioctl_cmds.status) ioctl_cmds 2494 drivers/message/fusion/mptctl.c timeleft = wait_for_completion_timeout(&ioc->ioctl_cmds.done, ioctl_cmds 2496 drivers/message/fusion/mptctl.c if (!(ioc->ioctl_cmds.status & MPT_MGMT_STATUS_COMMAND_GOOD)) { ioctl_cmds 2499 drivers/message/fusion/mptctl.c if (ioc->ioctl_cmds.status & MPT_MGMT_STATUS_DID_IOCRESET) { ioctl_cmds 2522 drivers/message/fusion/mptctl.c if (ioc->ioctl_cmds.status & MPT_MGMT_STATUS_RF_VALID) ioctl_cmds 2526 drivers/message/fusion/mptctl.c CLEAR_MGMT_STATUS(ioc->ioctl_cmds.status) ioctl_cmds 2527 drivers/message/fusion/mptctl.c SET_MGMT_MSG_CONTEXT(ioc->ioctl_cmds.msg_context, 0); ioctl_cmds 2746 drivers/message/fusion/mptctl.c mutex_unlock(&iocp->ioctl_cmds.mutex); ioctl_cmds 2800 drivers/message/fusion/mptctl.c mutex_unlock(&iocp->ioctl_cmds.mutex); ioctl_cmds 2854 drivers/message/fusion/mptctl.c mutex_init(&ioc->ioctl_cmds.mutex); ioctl_cmds 2855 drivers/message/fusion/mptctl.c init_completion(&ioc->ioctl_cmds.done);