Searched refs:pel_abort_cmd (Results 1 – 3 of 3) sorted by relevance
860 mutex_lock(&mrioc->pel_abort_cmd.mutex); in mpi3mr_bsg_pel_abort()861 if (mrioc->pel_abort_cmd.state & MPI3MR_CMD_PENDING) { in mpi3mr_bsg_pel_abort()863 mutex_unlock(&mrioc->pel_abort_cmd.mutex); in mpi3mr_bsg_pel_abort()866 mrioc->pel_abort_cmd.state = MPI3MR_CMD_PENDING; in mpi3mr_bsg_pel_abort()867 mrioc->pel_abort_cmd.is_waiting = 1; in mpi3mr_bsg_pel_abort()868 mrioc->pel_abort_cmd.callback = NULL; in mpi3mr_bsg_pel_abort()875 init_completion(&mrioc->pel_abort_cmd.done); in mpi3mr_bsg_pel_abort()886 wait_for_completion_timeout(&mrioc->pel_abort_cmd.done, in mpi3mr_bsg_pel_abort()888 if (!(mrioc->pel_abort_cmd.state & MPI3MR_CMD_COMPLETE)) { in mpi3mr_bsg_pel_abort()889 mrioc->pel_abort_cmd.is_waiting = 0; in mpi3mr_bsg_pel_abort()[all …]
315 return &mrioc->pel_abort_cmd; in mpi3mr_get_drv_cmd()3201 mrioc->pel_abort_cmd.reply = kzalloc(mrioc->reply_sz, GFP_KERNEL); in mpi3mr_alloc_reply_sense_bufs()3202 if (!mrioc->pel_abort_cmd.reply) in mpi3mr_alloc_reply_sense_bufs()4583 memset(mrioc->pel_abort_cmd.reply, 0, in mpi3mr_memset_buffers()4584 sizeof(*mrioc->pel_abort_cmd.reply)); in mpi3mr_memset_buffers()4717 kfree(mrioc->pel_abort_cmd.reply); in mpi3mr_free_mem()4718 mrioc->pel_abort_cmd.reply = NULL; in mpi3mr_free_mem()4958 cmdptr = &mrioc->pel_abort_cmd; in mpi3mr_flush_drv_cmds()
1309 struct mpi3mr_drv_cmd pel_abort_cmd; member