Home
last modified time | relevance | path

Searched refs:config_cmds (Results 1 – 3 of 3) sorted by relevance

/linux-2.6.39/drivers/scsi/mpt2sas/
Dmpt2sas_config.c246 if (ioc->config_cmds.status == MPT2_CMD_NOT_USED) in mpt2sas_config_done()
248 if (ioc->config_cmds.smid != smid) in mpt2sas_config_done()
250 ioc->config_cmds.status |= MPT2_CMD_COMPLETE; in mpt2sas_config_done()
253 ioc->config_cmds.status |= MPT2_CMD_REPLY_VALID; in mpt2sas_config_done()
254 memcpy(ioc->config_cmds.reply, mpi_reply, in mpt2sas_config_done()
257 ioc->config_cmds.status &= ~MPT2_CMD_PENDING; in mpt2sas_config_done()
261 ioc->config_cmds.smid = USHRT_MAX; in mpt2sas_config_done()
262 complete(&ioc->config_cmds.done); in mpt2sas_config_done()
299 mutex_lock(&ioc->config_cmds.mutex); in _config_request()
300 if (ioc->config_cmds.status != MPT2_CMD_NOT_USED) { in _config_request()
[all …]
Dmpt2sas_base.c3896 ioc->config_cmds.reply = kzalloc(ioc->reply_sz, GFP_KERNEL); in mpt2sas_base_attach()
3897 ioc->config_cmds.status = MPT2_CMD_NOT_USED; in mpt2sas_base_attach()
3898 mutex_init(&ioc->config_cmds.mutex); in mpt2sas_base_attach()
3908 !ioc->config_cmds.reply || !ioc->ctl_cmds.reply || in mpt2sas_base_attach()
3916 !ioc->config_cmds.reply || !ioc->ctl_cmds.reply) { in mpt2sas_base_attach()
3958 kfree(ioc->config_cmds.reply); in mpt2sas_base_attach()
3968 ioc->config_cmds.reply = NULL; in mpt2sas_base_attach()
3999 kfree(ioc->config_cmds.reply); in mpt2sas_base_detach()
4037 if (ioc->config_cmds.status & MPT2_CMD_PENDING) { in _base_reset_handler()
4038 ioc->config_cmds.status |= MPT2_CMD_RESET; in _base_reset_handler()
[all …]
Dmpt2sas_base.h707 struct _internal_cmd config_cmds; member