Lines Matching refs:bio_lock
128 spinlock_t bio_lock; /* protects BIO fields below */ member
344 spin_lock_irqsave(&dio->bio_lock, flags); in dio_bio_end_aio()
348 spin_unlock_irqrestore(&dio->bio_lock, flags); in dio_bio_end_aio()
385 spin_lock_irqsave(&dio->bio_lock, flags); in dio_bio_end_io()
390 spin_unlock_irqrestore(&dio->bio_lock, flags); in dio_bio_end_io()
433 spin_lock_irqsave(&dio->bio_lock, flags); in dio_bio_submit()
435 spin_unlock_irqrestore(&dio->bio_lock, flags); in dio_bio_submit()
471 spin_lock_irqsave(&dio->bio_lock, flags); in dio_await_one()
482 spin_unlock_irqrestore(&dio->bio_lock, flags); in dio_await_one()
485 spin_lock_irqsave(&dio->bio_lock, flags); in dio_await_one()
492 spin_unlock_irqrestore(&dio->bio_lock, flags); in dio_await_one()
555 spin_lock_irqsave(&dio->bio_lock, flags); in dio_bio_reap()
558 spin_unlock_irqrestore(&dio->bio_lock, flags); in dio_bio_reap()
1074 spin_lock_irqsave(&dio->bio_lock, flags); in drop_refcount()
1076 spin_unlock_irqrestore(&dio->bio_lock, flags); in drop_refcount()
1225 spin_lock_init(&dio->bio_lock); in __blockdev_direct_IO()