Lines Matching refs:runtime_flags

88 	unsigned long runtime_flags;  member
257 return test_bit(NBD_RT_DISCONNECTED, &config->runtime_flags) || in nbd_disconnected()
258 test_bit(NBD_RT_DISCONNECT_REQUESTED, &config->runtime_flags); in nbd_disconnected()
277 &nbd->config->runtime_flags)) { in nbd_mark_nsock_dead()
279 &nbd->config->runtime_flags); in nbd_mark_nsock_dead()
354 if (test_and_set_bit(NBD_RT_DISCONNECTED, &config->runtime_flags)) in sock_shutdown()
460 set_bit(NBD_RT_TIMEDOUT, &config->runtime_flags); in nbd_xmit_timeout()
842 if (test_bit(NBD_RT_DISCONNECTED, &config->runtime_flags)) in find_fallback()
886 &config->runtime_flags) || in wait_for_reconnect()
891 return !test_bit(NBD_RT_DISCONNECTED, &config->runtime_flags); in wait_for_reconnect()
1046 !test_bit(NBD_RT_BOUND, &config->runtime_flags)) in nbd_add_socket()
1051 test_bit(NBD_RT_BOUND, &config->runtime_flags))) { in nbd_add_socket()
1138 clear_bit(NBD_RT_DISCONNECTED, &config->runtime_flags); in nbd_reconnect_socket()
1209 set_bit(NBD_RT_DISCONNECT_REQUESTED, &config->runtime_flags); in nbd_disconnect()
1230 &config->runtime_flags)) in nbd_config_put()
1295 set_bit(NBD_RT_HAS_PID_FILE, &config->runtime_flags); in nbd_start_device()
1354 if (test_bit(NBD_RT_DISCONNECT_REQUESTED, &config->runtime_flags)) in nbd_start_device_ioctl()
1356 if (test_bit(NBD_RT_TIMEDOUT, &config->runtime_flags)) in nbd_start_device_ioctl()
1368 &nbd->config->runtime_flags)) in nbd_clear_sock_ioctl()
1464 if (!test_bit(NBD_RT_BOUND, &config->runtime_flags) || in nbd_ioctl()
1541 if (test_bit(NBD_RT_DISCONNECT_ON_CLOSE, &nbd->config->runtime_flags) && in nbd_release()
1954 set_bit(NBD_RT_BOUND, &config->runtime_flags); in nbd_genl_connect()
1992 &config->runtime_flags); in nbd_genl_connect()
2030 set_bit(NBD_RT_HAS_CONFIG_REF, &config->runtime_flags); in nbd_genl_connect()
2059 &nbd->config->runtime_flags)) in nbd_disconnect_and_put()
2142 if (!test_bit(NBD_RT_BOUND, &config->runtime_flags) || in nbd_genl_reconfigure()
2176 &config->runtime_flags); in nbd_genl_reconfigure()
2179 &config->runtime_flags); in nbd_genl_reconfigure()