Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/scsi/mpi3mr/
Dmpi3mr_app.c40 mutex_lock(&mrioc->pel_abort_cmd.mutex); in mpi3mr_bsg_pel_abort()
41 if (mrioc->pel_abort_cmd.state & MPI3MR_CMD_PENDING) { in mpi3mr_bsg_pel_abort()
43 mutex_unlock(&mrioc->pel_abort_cmd.mutex); in mpi3mr_bsg_pel_abort()
46 mrioc->pel_abort_cmd.state = MPI3MR_CMD_PENDING; in mpi3mr_bsg_pel_abort()
47 mrioc->pel_abort_cmd.is_waiting = 1; in mpi3mr_bsg_pel_abort()
48 mrioc->pel_abort_cmd.callback = NULL; in mpi3mr_bsg_pel_abort()
55 init_completion(&mrioc->pel_abort_cmd.done); in mpi3mr_bsg_pel_abort()
66 wait_for_completion_timeout(&mrioc->pel_abort_cmd.done, in mpi3mr_bsg_pel_abort()
68 if (!(mrioc->pel_abort_cmd.state & MPI3MR_CMD_COMPLETE)) { in mpi3mr_bsg_pel_abort()
69 mrioc->pel_abort_cmd.is_waiting = 0; in mpi3mr_bsg_pel_abort()
[all …]
Dmpi3mr_fw.c312 return &mrioc->pel_abort_cmd; in mpi3mr_get_drv_cmd()
2992 mrioc->pel_abort_cmd.reply = kzalloc(mrioc->reply_sz, GFP_KERNEL); in mpi3mr_alloc_reply_sense_bufs()
2993 if (!mrioc->pel_abort_cmd.reply) in mpi3mr_alloc_reply_sense_bufs()
4226 memset(mrioc->pel_abort_cmd.reply, 0, in mpi3mr_memset_buffers()
4227 sizeof(*mrioc->pel_abort_cmd.reply)); in mpi3mr_memset_buffers()
4358 kfree(mrioc->pel_abort_cmd.reply); in mpi3mr_free_mem()
4359 mrioc->pel_abort_cmd.reply = NULL; in mpi3mr_free_mem()
4585 cmdptr = &mrioc->pel_abort_cmd; in mpi3mr_flush_drv_cmds()
Dmpi3mr.h1192 struct mpi3mr_drv_cmd pel_abort_cmd; member