Lines Matching refs:lock_flags

220 	ulong lock_flags;  in cmd_complete()  local
225 spin_lock_irqsave(&cmd->slock, lock_flags); in cmd_complete()
227 spin_unlock_irqrestore(&cmd->slock, lock_flags); in cmd_complete()
247 spin_lock_irqsave(&cfg->tmf_slock, lock_flags); in cmd_complete()
250 spin_unlock_irqrestore(&cfg->tmf_slock, lock_flags); in cmd_complete()
268 ulong lock_flags; in context_reset() local
272 spin_lock_irqsave(&cmd->slock, lock_flags); in context_reset()
276 spin_unlock_irqrestore(&cmd->slock, lock_flags); in context_reset()
281 spin_unlock_irqrestore(&cmd->slock, lock_flags); in context_reset()
414 ulong lock_flags; in send_tmf() local
426 spin_lock_irqsave(&cfg->tmf_slock, lock_flags); in send_tmf()
433 spin_unlock_irqrestore(&cfg->tmf_slock, lock_flags); in send_tmf()
454 spin_lock_irqsave(&cfg->tmf_slock, lock_flags); in send_tmf()
456 spin_unlock_irqrestore(&cfg->tmf_slock, lock_flags); in send_tmf()
460 spin_lock_irqsave(&cfg->tmf_slock, lock_flags); in send_tmf()
471 spin_unlock_irqrestore(&cfg->tmf_slock, lock_flags); in send_tmf()
503 ulong lock_flags; in cxlflash_queuecommand() local
520 spin_lock_irqsave(&cfg->tmf_slock, lock_flags); in cxlflash_queuecommand()
522 spin_unlock_irqrestore(&cfg->tmf_slock, lock_flags); in cxlflash_queuecommand()
526 spin_unlock_irqrestore(&cfg->tmf_slock, lock_flags); in cxlflash_queuecommand()
713 ulong lock_flags; in cxlflash_remove() local
718 spin_lock_irqsave(&cfg->tmf_slock, lock_flags); in cxlflash_remove()
723 spin_unlock_irqrestore(&cfg->tmf_slock, lock_flags); in cxlflash_remove()
2306 ulong lock_flags; in cxlflash_worker_thread() local
2313 spin_lock_irqsave(cfg->host->host_lock, lock_flags); in cxlflash_worker_thread()
2322 lock_flags); in cxlflash_worker_thread()
2327 spin_lock_irqsave(cfg->host->host_lock, lock_flags); in cxlflash_worker_thread()
2338 spin_unlock_irqrestore(cfg->host->host_lock, lock_flags); in cxlflash_worker_thread()