Lines Matching refs:state

199         if (i->probe_transaction->state == DNS_TRANSACTION_NULL) {  in dns_zone_item_probe_start()
258 if (j->state == DNS_ZONE_ITEM_ESTABLISHED) in dns_zone_put()
262 i->state = DNS_ZONE_ITEM_ESTABLISHED; in dns_zone_put()
264 i->state = DNS_ZONE_ITEM_PROBING; in dns_zone_put()
274 i->state = DNS_ZONE_ITEM_ESTABLISHED; in dns_zone_put()
324 … if (!IN_SET(j->state, DNS_ZONE_ITEM_PROBING, DNS_ZONE_ITEM_ESTABLISHED, DNS_ZONE_ITEM_VERIFYING)) in dns_zone_lookup()
350 … if (!IN_SET(j->state, DNS_ZONE_ITEM_PROBING, DNS_ZONE_ITEM_ESTABLISHED, DNS_ZONE_ITEM_VERIFYING)) in dns_zone_lookup()
360 … if (!IN_SET(j->state, DNS_ZONE_ITEM_PROBING, DNS_ZONE_ITEM_ESTABLISHED, DNS_ZONE_ITEM_VERIFYING)) in dns_zone_lookup()
391 … if (!IN_SET(j->state, DNS_ZONE_ITEM_PROBING, DNS_ZONE_ITEM_ESTABLISHED, DNS_ZONE_ITEM_VERIFYING)) in dns_zone_lookup()
396 if (j->state != DNS_ZONE_ITEM_PROBING) in dns_zone_lookup()
421 … if (!IN_SET(j->state, DNS_ZONE_ITEM_PROBING, DNS_ZONE_ITEM_ESTABLISHED, DNS_ZONE_ITEM_VERIFYING)) in dns_zone_lookup()
426 if (j->state != DNS_ZONE_ITEM_PROBING) in dns_zone_lookup()
439 … if (!IN_SET(j->state, DNS_ZONE_ITEM_PROBING, DNS_ZONE_ITEM_ESTABLISHED, DNS_ZONE_ITEM_VERIFYING)) in dns_zone_lookup()
442 if (j->state != DNS_ZONE_ITEM_PROBING) in dns_zone_lookup()
487 … if (!IN_SET(i->state, DNS_ZONE_ITEM_PROBING, DNS_ZONE_ITEM_VERIFYING, DNS_ZONE_ITEM_ESTABLISHED)) in dns_zone_item_conflict()
495 i->state = DNS_ZONE_ITEM_WITHDRAWN; in dns_zone_item_conflict()
511 …if (IN_SET(i->probe_transaction->state, DNS_TRANSACTION_NULL, DNS_TRANSACTION_PENDING, DNS_TRANSAC… in dns_zone_item_notify()
514 if (i->probe_transaction->state == DNS_TRANSACTION_SUCCESS) { in dns_zone_item_notify()
525 if (!IN_SET(i->state, DNS_ZONE_ITEM_ESTABLISHED, DNS_ZONE_ITEM_VERIFYING)) { in dns_zone_item_notify()
546 i->state = DNS_ZONE_ITEM_ESTABLISHED; in dns_zone_item_notify()
554 if (i->state != DNS_ZONE_ITEM_ESTABLISHED) in dns_zone_item_verify()
559 i->state = DNS_ZONE_ITEM_VERIFYING; in dns_zone_item_verify()
563 i->state = DNS_ZONE_ITEM_ESTABLISHED; in dns_zone_item_verify()
679 … if (!IN_SET(i->state, DNS_ZONE_ITEM_PROBING, DNS_ZONE_ITEM_ESTABLISHED, DNS_ZONE_ITEM_VERIFYING)) in dns_zone_contains_name()