Home
last modified time | relevance | path

Searched refs:drbd_conns (Results 1 – 10 of 10) sorted by relevance

/Linux-v5.4/drivers/block/drbd/
Ddrbd_state_change.h20 enum drbd_conns cstate[2]; /* drbd9: enum drbd_conn_state */
27 enum drbd_conns repl_state[2]; /* drbd9: enum drbd_repl_state */
Ddrbd_strings.h5 extern const char *drbd_conn_str(enum drbd_conns);
Ddrbd_strings.c85 const char *drbd_conn_str(enum drbd_conns s) in drbd_conn_str()
Ddrbd_state.c139 max_t(enum drbd_conns, in remember_old_state()
201 max_t(enum drbd_conns, C_WF_REPORT_PARAMS, state.conn); in remember_new_state()
415 enum drbd_conns conn_lowest_conn(struct drbd_connection *connection) in conn_lowest_conn()
417 enum drbd_conns conn = C_MASK; in conn_lowest_conn()
424 conn = min_t(enum drbd_conns, conn, device->state.conn); in conn_lowest_conn()
974 is_valid_conn_transition(enum drbd_conns oc, enum drbd_conns nc) in is_valid_conn_transition()
1118 switch ((enum drbd_conns)ns.conn) { in sanitize_state()
1225 static void set_ov_position(struct drbd_device *device, enum drbd_conns cs) in set_ov_position()
2029 enum drbd_conns oc;
2042 enum drbd_conns oc = acscw->oc; in w_after_conn_state_ch()
[all …]
Ddrbd_state.h172 enum drbd_conns conn_lowest_conn(struct drbd_connection *connection);
Ddrbd_int.h697 enum drbd_conns cstate; /* Only C_STANDALONE to C_WF_REPORT_PARAMS */
1497 extern void drbd_start_resync(struct drbd_device *device, enum drbd_conns side);
2088 static inline bool is_sync_target_state(enum drbd_conns connection_state) in is_sync_target_state()
2094 static inline bool is_sync_source_state(enum drbd_conns connection_state) in is_sync_source_state()
2100 static inline bool is_sync_state(enum drbd_conns connection_state) in is_sync_state()
2186 switch ((enum drbd_conns)s.conn) { in drbd_state_is_stable()
Ddrbd_receiver.c3486 static enum drbd_conns drbd_sync_handshake(struct drbd_peer_device *peer_device, in drbd_sync_handshake()
3491 enum drbd_conns rv = C_MASK; in drbd_sync_handshake()
4360 static enum drbd_conns c_tab[] = { in convert_state()
5156 enum drbd_conns oc; in conn_disconnect()
Ddrbd_worker.c1732 void drbd_start_resync(struct drbd_device *device, enum drbd_conns side) in drbd_start_resync()
Ddrbd_nl.c2561 max_t(enum drbd_conns, C_WF_REPORT_PARAMS, device->state.conn); in peer_device_to_info()
2719 enum drbd_conns cstate; in conn_try_disconnect()
/Linux-v5.4/include/linux/
Ddrbd.h192 enum drbd_conns { enum