Lines Matching refs:atomic_read
149 if (atomic_read(&mdev->busy) == 1) { in maple_vmu_read_block()
151 atomic_read(&mdev->busy) == 0, HZ); in maple_vmu_read_block()
152 if (atomic_read(&mdev->busy) == 1) { in maple_vmu_read_block()
175 (atomic_read(&mdev->busy) == 0 || in maple_vmu_read_block()
176 atomic_read(&mdev->busy) == 2), HZ * 3); in maple_vmu_read_block()
182 if (error || atomic_read(&mdev->busy) == 2) { in maple_vmu_read_block()
183 if (atomic_read(&mdev->busy) == 2) in maple_vmu_read_block()
254 if (atomic_read(&mdev->busy) == 1) { in maple_vmu_write_block()
256 atomic_read(&mdev->busy) == 0, HZ); in maple_vmu_write_block()
257 if (atomic_read(&mdev->busy) == 1) { in maple_vmu_write_block()
270 atomic_read(&mdev->busy) == 0, HZ/10); in maple_vmu_write_block()
276 if (atomic_read(&mdev->busy) == 2) { in maple_vmu_write_block()
657 if (atomic_read(&mdev->busy) == 1) { in vmu_connect()
659 atomic_read(&mdev->busy) == 0, HZ); in vmu_connect()
660 if (atomic_read(&mdev->busy) == 1) { in vmu_connect()