Lines Matching refs:device_request_lock
250 static spinlock_t device_request_lock = SPIN_LOCK_UNLOCKED; variable
365 spin_lock_irqsave(&device_request_lock, flags); in scsi_allocate_device()
450 spin_unlock_irqrestore(&device_request_lock, flags); in scsi_allocate_device()
458 spin_lock_irqsave(&device_request_lock, flags); in scsi_allocate_device()
475 spin_unlock_irqrestore(&device_request_lock, flags); in scsi_allocate_device()
480 spin_unlock_irqrestore(&device_request_lock, flags); in scsi_allocate_device()
512 spin_unlock_irqrestore(&device_request_lock, flags); in scsi_allocate_device()
526 spin_lock_irqsave(&device_request_lock, flags); in __scsi_release_command()
557 spin_unlock_irqrestore(&device_request_lock, flags); in __scsi_release_command()
1449 spin_lock_irqsave(&device_request_lock, flags); in scsi_release_commandblocks()
1456 spin_unlock_irqrestore(&device_request_lock, flags); in scsi_release_commandblocks()
1479 spin_lock_irqsave(&device_request_lock, flags); in scsi_build_commandblocks()
1526 spin_unlock_irqrestore(&device_request_lock, flags); in scsi_build_commandblocks()