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()
228 if ((n=atomic_read(&conf->counters[WriteTransient])) != 0) in faulty_status()
232 if ((n=atomic_read(&conf->counters[ReadTransient])) != 0) in faulty_status()
236 if ((n=atomic_read(&conf->counters[WritePersistent])) != 0) in faulty_status()
240 if ((n=atomic_read(&conf->counters[ReadPersistent])) != 0) in faulty_status()
245 if ((n=atomic_read(&conf->counters[ReadFixable])) != 0) in faulty_status()
249 if ((n=atomic_read(&conf->counters[WriteAll])) != 0) in faulty_status()
272 atomic_set(&conf->counters[i], 0); in faulty_reshape()
277 atomic_set(&conf->counters[mode], count); in faulty_reshape()
310 atomic_set(&conf->counters[i], 0); in faulty_run()