Lines Matching refs:writer_count
67 int writer_count; member
163 use_data->writer_count = 1; in StartWrite()
181 new_use_data->writer_count = 1; in StartWrite()
185 use_data->writer_count += 1; in StartWrite()
190 use_data->writer_count += 1; in StartWrite()
206 new_use_data->writer_count = 1; in StartWrite()
210 use_data->writer_count += 1; in StartWrite()
215 use_data->writer_count += 1; in StartWrite()
229 use_data->writer_count -= 1; in FinishWrite()
230 if ((use_data->reader_count == 0) && (use_data->writer_count == 0)) { in FinishWrite()
247 use_data->writer_count = 0; in StartRead()
249 } else if (bucket.uses[object].writer_count > 0 && bucket.uses[object].thread != tid) { in StartRead()
261 use_data->writer_count = 0; in StartRead()
279 if ((use_data->reader_count == 0) && (use_data->writer_count == 0)) { in FinishRead()