Lines Matching refs:read_lock
152 int write_lock, read_lock; in CleanBurnSpaces() local
153 if (device->IsSpaceLocked(index, &write_lock, &read_lock) != in CleanBurnSpaces()
292 int write_lock, read_lock; in TEST() local
294 device.IsSpaceLocked(kTestIndex1, &write_lock, &read_lock)); in TEST()
295 EXPECT_FALSE(read_lock); in TEST()
299 device.IsSpaceLocked(kTestIndex1, &write_lock, &read_lock)); in TEST()
300 EXPECT_TRUE(read_lock); in TEST()
304 device.IsSpaceLocked(kTestIndexNeverExists, &write_lock, &read_lock)); in TEST()
378 int write_lock, read_lock; in TEST() local
380 device.IsSpaceLocked(index, &write_lock, &read_lock)); in TEST()
382 EXPECT_FALSE(read_lock); in TEST()
391 device.IsSpaceLocked(index, &write_lock, &read_lock)); in TEST()
393 EXPECT_FALSE(read_lock); in TEST()
406 int write_lock, read_lock; in TEST() local
408 device.IsSpaceLocked(index, &write_lock, &read_lock)); in TEST()
410 EXPECT_FALSE(read_lock); in TEST()
417 device.IsSpaceLocked(index, &write_lock, &read_lock)); in TEST()
419 EXPECT_TRUE(read_lock); in TEST()