Home
last modified time | relevance | path

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

/drivers/scsi/mpt3sas/
Dmpt3sas_config.c260 if (ioc->config_cmds.status == MPT3_CMD_NOT_USED) in mpt3sas_config_done()
262 if (ioc->config_cmds.smid != smid) in mpt3sas_config_done()
264 ioc->config_cmds.status |= MPT3_CMD_COMPLETE; in mpt3sas_config_done()
267 ioc->config_cmds.status |= MPT3_CMD_REPLY_VALID; in mpt3sas_config_done()
268 memcpy(ioc->config_cmds.reply, mpi_reply, in mpt3sas_config_done()
271 ioc->config_cmds.status &= ~MPT3_CMD_PENDING; in mpt3sas_config_done()
273 ioc->config_cmds.smid = USHRT_MAX; in mpt3sas_config_done()
274 complete(&ioc->config_cmds.done); in mpt3sas_config_done()
309 mutex_lock(&ioc->config_cmds.mutex); in _config_request()
310 if (ioc->config_cmds.status != MPT3_CMD_NOT_USED) { in _config_request()
[all …]
Dmpt3sas_base.c7128 ioc->config_cmds.reply = kzalloc(ioc->reply_sz, GFP_KERNEL); in mpt3sas_base_attach()
7129 ioc->config_cmds.status = MPT3_CMD_NOT_USED; in mpt3sas_base_attach()
7130 mutex_init(&ioc->config_cmds.mutex); in mpt3sas_base_attach()
7140 !ioc->tm_cmds.reply || !ioc->config_cmds.reply || in mpt3sas_base_attach()
7204 kfree(ioc->config_cmds.reply); in mpt3sas_base_attach()
7215 ioc->config_cmds.reply = NULL; in mpt3sas_base_attach()
7250 kfree(ioc->config_cmds.reply); in mpt3sas_base_detach()
7297 if (ioc->config_cmds.status & MPT3_CMD_PENDING) { in _base_after_reset_handler()
7298 ioc->config_cmds.status |= MPT3_CMD_RESET; in _base_after_reset_handler()
7299 mpt3sas_base_free_smid(ioc, ioc->config_cmds.smid); in _base_after_reset_handler()
[all …]
Dmpt3sas_base.h1255 struct _internal_cmd config_cmds; member