Lines Matching refs:lock_count
15 static int lock_count;
35 lock_count = 0;
70 if (!lock_count)
71 lock_count = 1;
76 if (lock_count)
77 lock_count = 0;
118 EXPECT_EQ(lock_count, 0);
136 EXPECT_EQ(lock_count, 1);
141 EXPECT_EQ(lock_count, 0);
151 EXPECT_EQ(lock_count, 0);
156 EXPECT_EQ(lock_count, 0);
171 EXPECT_EQ(lock_count, 1);
176 EXPECT_EQ(lock_count, 1);
181 EXPECT_EQ(lock_count, 0);
197 EXPECT_EQ(lock_count, 1);
202 EXPECT_EQ(lock_count, 0);
207 EXPECT_EQ(lock_count, 0);
223 EXPECT_EQ(lock_count, 0);
228 EXPECT_EQ(lock_count, 0);
233 EXPECT_EQ(lock_count, 0);