Searched refs:bio_lock (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/fs/
H A Ddirect-io.c119 spinlock_t bio_lock; /* protects BIO fields below */ member in struct:dio
297 spin_lock_irqsave(&dio->bio_lock, flags); dio_bio_end_aio()
301 spin_unlock_irqrestore(&dio->bio_lock, flags); dio_bio_end_aio()
326 spin_lock_irqsave(&dio->bio_lock, flags); dio_bio_end_io()
331 spin_unlock_irqrestore(&dio->bio_lock, flags); dio_bio_end_io()
392 spin_lock_irqsave(&dio->bio_lock, flags); dio_bio_submit()
394 spin_unlock_irqrestore(&dio->bio_lock, flags); dio_bio_submit()
430 spin_lock_irqsave(&dio->bio_lock, flags); dio_await_one()
435 * holding the bio_lock so we don't need set_current_state()'s barrier dio_await_one()
441 spin_unlock_irqrestore(&dio->bio_lock, flags); dio_await_one()
444 spin_lock_irqsave(&dio->bio_lock, flags); dio_await_one()
451 spin_unlock_irqrestore(&dio->bio_lock, flags); dio_await_one()
516 spin_lock_irqsave(&dio->bio_lock, flags); dio_bio_reap()
519 spin_unlock_irqrestore(&dio->bio_lock, flags); dio_bio_reap()
1062 * This is managed by the bio_lock instead of being an atomic_t so that drop_refcount()
1066 spin_lock_irqsave(&dio->bio_lock, flags); drop_refcount()
1068 spin_unlock_irqrestore(&dio->bio_lock, flags); drop_refcount()
1226 spin_lock_init(&dio->bio_lock); do_blockdev_direct_IO()

Completed in 79 milliseconds