Searched refs:bsg_cmds (Results 1 – 4 of 4) sorted by relevance
534 if (mutex_lock_interruptible(&mrioc->bsg_cmds.mutex)) in mpi3mr_bsg_process_drv_cmds()562 mutex_unlock(&mrioc->bsg_cmds.mutex); in mpi3mr_bsg_process_drv_cmds()1180 if (mutex_lock_interruptible(&mrioc->bsg_cmds.mutex)) { in mpi3mr_bsg_process_mpt_cmds()1184 if (mrioc->bsg_cmds.state & MPI3MR_CMD_PENDING) { in mpi3mr_bsg_process_mpt_cmds()1187 mutex_unlock(&mrioc->bsg_cmds.mutex); in mpi3mr_bsg_process_mpt_cmds()1194 mutex_unlock(&mrioc->bsg_cmds.mutex); in mpi3mr_bsg_process_mpt_cmds()1200 mutex_unlock(&mrioc->bsg_cmds.mutex); in mpi3mr_bsg_process_mpt_cmds()1206 mutex_unlock(&mrioc->bsg_cmds.mutex); in mpi3mr_bsg_process_mpt_cmds()1218 mutex_unlock(&mrioc->bsg_cmds.mutex); in mpi3mr_bsg_process_mpt_cmds()1227 mutex_unlock(&mrioc->bsg_cmds.mutex); in mpi3mr_bsg_process_mpt_cmds()[all …]
308 return &mrioc->bsg_cmds; in mpi3mr_get_drv_cmd()2963 mrioc->bsg_cmds.reply = kzalloc(mrioc->reply_sz, GFP_KERNEL); in mpi3mr_alloc_reply_sense_bufs()2964 if (!mrioc->bsg_cmds.reply) in mpi3mr_alloc_reply_sense_bufs()4221 memset(mrioc->bsg_cmds.reply, 0, in mpi3mr_memset_buffers()4222 sizeof(*mrioc->bsg_cmds.reply)); in mpi3mr_memset_buffers()4350 kfree(mrioc->bsg_cmds.reply); in mpi3mr_free_mem()4351 mrioc->bsg_cmds.reply = NULL; in mpi3mr_free_mem()4568 cmdptr = &mrioc->bsg_cmds; in mpi3mr_flush_drv_cmds()
1154 struct mpi3mr_drv_cmd bsg_cmds; member
5096 mpi3mr_init_drv_cmd(&mrioc->bsg_cmds, MPI3MR_HOSTTAG_BSG_CMDS); in mpi3mr_probe()