Searched refs:connection_state (Results 1 – 2 of 2) sorted by relevance
2103 static inline bool is_sync_target_state(enum drbd_conns connection_state) in is_sync_target_state() argument2105 return connection_state == C_SYNC_TARGET || in is_sync_target_state()2106 connection_state == C_PAUSED_SYNC_T; in is_sync_target_state()2109 static inline bool is_sync_source_state(enum drbd_conns connection_state) in is_sync_source_state() argument2111 return connection_state == C_SYNC_SOURCE || in is_sync_source_state()2112 connection_state == C_PAUSED_SYNC_S; in is_sync_source_state()2115 static inline bool is_sync_state(enum drbd_conns connection_state) in is_sync_state() argument2117 return is_sync_source_state(connection_state) || in is_sync_state()2118 is_sync_target_state(connection_state); in is_sync_state()
625 u8 connection_state; member