Lines Matching refs:bio_lock
129 spinlock_t bio_lock; /* protects BIO fields below */
345 spin_lock_irqsave(&dio->bio_lock, flags);
349 spin_unlock_irqrestore(&dio->bio_lock, flags);
386 spin_lock_irqsave(&dio->bio_lock, flags);
391 spin_unlock_irqrestore(&dio->bio_lock, flags);
432 spin_lock_irqsave(&dio->bio_lock, flags);
434 spin_unlock_irqrestore(&dio->bio_lock, flags);
470 spin_lock_irqsave(&dio->bio_lock, flags);
475 * holding the bio_lock so we don't need set_current_state()'s barrier
481 spin_unlock_irqrestore(&dio->bio_lock, flags);
484 spin_lock_irqsave(&dio->bio_lock, flags);
491 spin_unlock_irqrestore(&dio->bio_lock, flags);
554 spin_lock_irqsave(&dio->bio_lock, flags);
557 spin_unlock_irqrestore(&dio->bio_lock, flags);
1069 * This is managed by the bio_lock instead of being an atomic_t so that
1073 spin_lock_irqsave(&dio->bio_lock, flags);
1075 spin_unlock_irqrestore(&dio->bio_lock, flags);
1230 spin_lock_init(&dio->bio_lock);