Searched refs:bsg_cmds (Results 1 – 4 of 4) sorted by relevance
518 if (mutex_lock_interruptible(&mrioc->bsg_cmds.mutex)) in mpi3mr_bsg_process_drv_cmds()546 mutex_unlock(&mrioc->bsg_cmds.mutex); in mpi3mr_bsg_process_drv_cmds()1164 if (mutex_lock_interruptible(&mrioc->bsg_cmds.mutex)) { in mpi3mr_bsg_process_mpt_cmds()1168 if (mrioc->bsg_cmds.state & MPI3MR_CMD_PENDING) { in mpi3mr_bsg_process_mpt_cmds()1171 mutex_unlock(&mrioc->bsg_cmds.mutex); in mpi3mr_bsg_process_mpt_cmds()1178 mutex_unlock(&mrioc->bsg_cmds.mutex); in mpi3mr_bsg_process_mpt_cmds()1184 mutex_unlock(&mrioc->bsg_cmds.mutex); in mpi3mr_bsg_process_mpt_cmds()1190 mutex_unlock(&mrioc->bsg_cmds.mutex); in mpi3mr_bsg_process_mpt_cmds()1202 mutex_unlock(&mrioc->bsg_cmds.mutex); in mpi3mr_bsg_process_mpt_cmds()1211 mutex_unlock(&mrioc->bsg_cmds.mutex); in mpi3mr_bsg_process_mpt_cmds()[all …]
308 return &mrioc->bsg_cmds; in mpi3mr_get_drv_cmd()2962 mrioc->bsg_cmds.reply = kzalloc(mrioc->reply_sz, GFP_KERNEL); in mpi3mr_alloc_reply_sense_bufs()2963 if (!mrioc->bsg_cmds.reply) in mpi3mr_alloc_reply_sense_bufs()4220 memset(mrioc->bsg_cmds.reply, 0, in mpi3mr_memset_buffers()4221 sizeof(*mrioc->bsg_cmds.reply)); in mpi3mr_memset_buffers()4349 kfree(mrioc->bsg_cmds.reply); in mpi3mr_free_mem()4350 mrioc->bsg_cmds.reply = NULL; in mpi3mr_free_mem()4567 cmdptr = &mrioc->bsg_cmds; in mpi3mr_flush_drv_cmds()
1154 struct mpi3mr_drv_cmd bsg_cmds; member
5074 mpi3mr_init_drv_cmd(&mrioc->bsg_cmds, MPI3MR_HOSTTAG_BSG_CMDS); in mpi3mr_probe()