Searched refs:transport_cmds (Results 1 – 7 of 7) sorted by relevance
298 if (ioc->transport_cmds.status == MPT3_CMD_NOT_USED) in mpt3sas_transport_done()300 if (ioc->transport_cmds.smid != smid) in mpt3sas_transport_done()302 ioc->transport_cmds.status |= MPT3_CMD_COMPLETE; in mpt3sas_transport_done()304 memcpy(ioc->transport_cmds.reply, mpi_reply, in mpt3sas_transport_done()306 ioc->transport_cmds.status |= MPT3_CMD_REPLY_VALID; in mpt3sas_transport_done()308 ioc->transport_cmds.status &= ~MPT3_CMD_PENDING; in mpt3sas_transport_done()309 complete(&ioc->transport_cmds.done); in mpt3sas_transport_done()375 mutex_lock(&ioc->transport_cmds.mutex); in _transport_expander_report_manufacture()377 if (ioc->transport_cmds.status != MPT3_CMD_NOT_USED) { in _transport_expander_report_manufacture()382 ioc->transport_cmds.status = MPT3_CMD_PENDING; in _transport_expander_report_manufacture()[all …]
8525 ioc->transport_cmds.reply = kzalloc(ioc->reply_sz, GFP_KERNEL); in mpt3sas_base_attach()8526 ioc->transport_cmds.status = MPT3_CMD_NOT_USED; in mpt3sas_base_attach()8527 mutex_init(&ioc->transport_cmds.mutex); in mpt3sas_base_attach()8551 !ioc->transport_cmds.reply || !ioc->scsih_cmds.reply || in mpt3sas_base_attach()8618 kfree(ioc->transport_cmds.reply); in mpt3sas_base_attach()8630 ioc->transport_cmds.reply = NULL; in mpt3sas_base_attach()8664 kfree(ioc->transport_cmds.reply); in mpt3sas_base_detach()8689 if (ioc->transport_cmds.status & MPT3_CMD_PENDING) { in _base_clear_outstanding_mpt_commands()8690 ioc->transport_cmds.status |= MPT3_CMD_RESET; in _base_clear_outstanding_mpt_commands()8691 mpt3sas_base_free_smid(ioc, ioc->transport_cmds.smid); in _base_clear_outstanding_mpt_commands()[all …]
1420 struct _internal_cmd transport_cmds; member
42 mutex_lock(&mrioc->transport_cmds.mutex); in mpi3mr_post_transport_req()43 if (mrioc->transport_cmds.state & MPI3MR_CMD_PENDING) { in mpi3mr_post_transport_req()46 mutex_unlock(&mrioc->transport_cmds.mutex); in mpi3mr_post_transport_req()49 mrioc->transport_cmds.state = MPI3MR_CMD_PENDING; in mpi3mr_post_transport_req()50 mrioc->transport_cmds.is_waiting = 1; in mpi3mr_post_transport_req()51 mrioc->transport_cmds.callback = NULL; in mpi3mr_post_transport_req()52 mrioc->transport_cmds.ioc_status = 0; in mpi3mr_post_transport_req()53 mrioc->transport_cmds.ioc_loginfo = 0; in mpi3mr_post_transport_req()55 init_completion(&mrioc->transport_cmds.done); in mpi3mr_post_transport_req()64 wait_for_completion_timeout(&mrioc->transport_cmds.done, in mpi3mr_post_transport_req()[all …]
316 return &mrioc->transport_cmds; in mpi3mr_get_drv_cmd()2930 mrioc->transport_cmds.reply = kzalloc(mrioc->reply_sz, GFP_KERNEL); in mpi3mr_alloc_reply_sense_bufs()2931 if (!mrioc->transport_cmds.reply) in mpi3mr_alloc_reply_sense_bufs()4185 memset(mrioc->transport_cmds.reply, 0, in mpi3mr_memset_buffers()4186 sizeof(*mrioc->transport_cmds.reply)); in mpi3mr_memset_buffers()4334 kfree(mrioc->transport_cmds.reply); in mpi3mr_free_mem()4335 mrioc->transport_cmds.reply = NULL; in mpi3mr_free_mem()4537 cmdptr = &mrioc->transport_cmds; in mpi3mr_flush_drv_cmds()
1207 struct mpi3mr_drv_cmd transport_cmds; member
4948 mpi3mr_init_drv_cmd(&mrioc->transport_cmds, in mpi3mr_probe()