Searched refs:connection_state (Results 1 – 2 of 2) sorted by relevance
1979 static inline bool is_sync_target_state(enum drbd_conns connection_state) in is_sync_target_state() argument1981 return connection_state == C_SYNC_TARGET || in is_sync_target_state()1982 connection_state == C_PAUSED_SYNC_T; in is_sync_target_state()1985 static inline bool is_sync_source_state(enum drbd_conns connection_state) in is_sync_source_state() argument1987 return connection_state == C_SYNC_SOURCE || in is_sync_source_state()1988 connection_state == C_PAUSED_SYNC_S; in is_sync_source_state()1991 static inline bool is_sync_state(enum drbd_conns connection_state) in is_sync_state() argument1993 return is_sync_source_state(connection_state) || in is_sync_state()1994 is_sync_target_state(connection_state); in is_sync_state()
714 u8 connection_state; member