NBD_RT_DISCONNECTED
if (test_bit(NBD_RT_DISCONNECTED, &config->runtime_flags))
test_bit(NBD_RT_DISCONNECTED,
return !test_bit(NBD_RT_DISCONNECTED, &config->runtime_flags);
clear_bit(NBD_RT_DISCONNECTED, &config->runtime_flags);
return test_bit(NBD_RT_DISCONNECTED, &config->runtime_flags) ||
set_bit(NBD_RT_DISCONNECTED,
if (test_and_set_bit(NBD_RT_DISCONNECTED, &config->runtime_flags))