Lines Matching full:counters
78 atomic_t counters[Modes]; member
88 atomic_read(&conf->counters[mode]) <= 0) in check_mode()
92 if (atomic_dec_and_test(&conf->counters[mode])) { in check_mode()
94 atomic_set(&conf->counters[mode], conf->period[mode]); in check_mode()
171 if (atomic_read(&conf->counters[WriteAll])) { in faulty_make_request()
226 if ((n=atomic_read(&conf->counters[WriteTransient])) != 0) in faulty_status()
230 if ((n=atomic_read(&conf->counters[ReadTransient])) != 0) in faulty_status()
234 if ((n=atomic_read(&conf->counters[WritePersistent])) != 0) in faulty_status()
238 if ((n=atomic_read(&conf->counters[ReadPersistent])) != 0) in faulty_status()
243 if ((n=atomic_read(&conf->counters[ReadFixable])) != 0) in faulty_status()
247 if ((n=atomic_read(&conf->counters[WriteAll])) != 0) in faulty_status()
270 atomic_set(&conf->counters[i], 0); in faulty_reshape()
275 atomic_set(&conf->counters[mode], count); in faulty_reshape()
308 atomic_set(&conf->counters[i], 0); in faulty_run()