Lines Matching refs:busy
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()
160 atomic_set(&mdev->busy, 1); in maple_vmu_read_block()
164 atomic_set(&mdev->busy, 0); 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()
185 atomic_set(&mdev->busy, 0); in maple_vmu_read_block()
191 atomic_set(&mdev->busy, 0); 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()
265 atomic_set(&mdev->busy, 1); in maple_vmu_write_block()
270 atomic_read(&mdev->busy) == 0, HZ/10); in maple_vmu_write_block()
273 atomic_set(&mdev->busy, 0); in maple_vmu_write_block()
276 if (atomic_read(&mdev->busy) == 2) { in maple_vmu_write_block()
277 atomic_set(&mdev->busy, 0); in maple_vmu_write_block()
284 atomic_set(&mdev->busy, 0); 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()
668 atomic_set(&mdev->busy, 1); in vmu_connect()