Lines Matching refs:bio_lock
128 spinlock_t bio_lock; /* protects BIO fields below */ member
359 spin_lock_irqsave(&dio->bio_lock, flags); in dio_bio_end_aio()
363 spin_unlock_irqrestore(&dio->bio_lock, flags); in dio_bio_end_aio()
400 spin_lock_irqsave(&dio->bio_lock, flags); in dio_bio_end_io()
405 spin_unlock_irqrestore(&dio->bio_lock, flags); in dio_bio_end_io()
468 spin_lock_irqsave(&dio->bio_lock, flags); in dio_bio_submit()
470 spin_unlock_irqrestore(&dio->bio_lock, flags); in dio_bio_submit()
508 spin_lock_irqsave(&dio->bio_lock, flags); in dio_await_one()
519 spin_unlock_irqrestore(&dio->bio_lock, flags); in dio_await_one()
524 spin_lock_irqsave(&dio->bio_lock, flags); in dio_await_one()
531 spin_unlock_irqrestore(&dio->bio_lock, flags); in dio_await_one()
601 spin_lock_irqsave(&dio->bio_lock, flags); in dio_bio_reap()
604 spin_unlock_irqrestore(&dio->bio_lock, flags); in dio_bio_reap()
1141 spin_lock_irqsave(&dio->bio_lock, flags); in drop_refcount()
1143 spin_unlock_irqrestore(&dio->bio_lock, flags); in drop_refcount()
1315 spin_lock_init(&dio->bio_lock); in do_blockdev_direct_IO()