Lines Matching defs:ok
28 int ok;
52 int index, int *ok, int *fail, int *default_ok) {
59 if (default_ok != NULL) *default_ok = e->ok;
62 if (ok != NULL) *ok = e->ok;
71 static void set_validation_table_entry(unsigned long instance_id, int index, int ok, int fail) {
79 e->ok = ok;
91 e->ok = ok;
204 int ok = 0, fail = 0, httpcode = 0;
206 get_validation_table_entry(w->instance_id, i, &ok, &fail, NULL);
226 if (ok++ > conf->valid_ping_ok) {
227 ok = conf->valid_ping_ok;
234 ok = 0;
237 set_validation_table_entry(w->instance_id, i, ok, fail);
279 default_ok = e->ok;
281 if (e->instance_id == w->instance_id && e->ok > 0) {
282 next_ok = e->ok;