Searched refs:ctl_cmds (Results 1 – 3 of 3) sorted by relevance
283 if (ioc->ctl_cmds.status == MPT2_CMD_NOT_USED) in mpt2sas_ctl_done()285 if (ioc->ctl_cmds.smid != smid) in mpt2sas_ctl_done()287 ioc->ctl_cmds.status |= MPT2_CMD_COMPLETE; in mpt2sas_ctl_done()290 memcpy(ioc->ctl_cmds.reply, mpi_reply, mpi_reply->MsgLength*4); in mpt2sas_ctl_done()291 ioc->ctl_cmds.status |= MPT2_CMD_REPLY_VALID; in mpt2sas_ctl_done()303 memcpy(ioc->ctl_cmds.sense, sense_data, sz); in mpt2sas_ctl_done()310 ioc->ctl_cmds.status &= ~MPT2_CMD_PENDING; in mpt2sas_ctl_done()311 complete(&ioc->ctl_cmds.done); in mpt2sas_ctl_done()470 if (ioc->ctl_cmds.status & MPT2_CMD_PENDING) { in mpt2sas_ctl_reset_handler()471 ioc->ctl_cmds.status |= MPT2_CMD_RESET; in mpt2sas_ctl_reset_handler()[all …]
3901 ioc->ctl_cmds.reply = kzalloc(ioc->reply_sz, GFP_KERNEL); in mpt2sas_base_attach()3902 ioc->ctl_cmds.sense = kzalloc(SCSI_SENSE_BUFFERSIZE, GFP_KERNEL); in mpt2sas_base_attach()3903 ioc->ctl_cmds.status = MPT2_CMD_NOT_USED; in mpt2sas_base_attach()3904 mutex_init(&ioc->ctl_cmds.mutex); in mpt2sas_base_attach()3908 !ioc->config_cmds.reply || !ioc->ctl_cmds.reply || in mpt2sas_base_attach()3909 !ioc->ctl_cmds.sense) { in mpt2sas_base_attach()3916 !ioc->config_cmds.reply || !ioc->ctl_cmds.reply) { in mpt2sas_base_attach()3960 kfree(ioc->ctl_cmds.reply); in mpt2sas_base_attach()3961 kfree(ioc->ctl_cmds.sense); in mpt2sas_base_attach()3963 ioc->ctl_cmds.reply = NULL; in mpt2sas_base_attach()[all …]
706 struct _internal_cmd ctl_cmds; member