WDT_FLAGS_OPEN
clear_bit(WDT_FLAGS_OPEN, &wdt_flags);
if (test_and_set_bit(WDT_FLAGS_OPEN, &wdt_flags))