Home
last modified time | relevance | path

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

/linux-6.1.9/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()
2030 enum drbd_conns oc;
2043 enum drbd_conns oc = acscw->oc; in w_after_conn_state_ch()
[all …]
Ddrbd_int.h693 enum drbd_conns cstate; /* Only C_STANDALONE to C_WF_REPORT_PARAMS */
1490 extern void drbd_start_resync(struct drbd_device *device, enum drbd_conns side);
2050 static inline bool is_sync_target_state(enum drbd_conns connection_state) in is_sync_target_state()
2056 static inline bool is_sync_source_state(enum drbd_conns connection_state) in is_sync_source_state()
2062 static inline bool is_sync_state(enum drbd_conns connection_state) in is_sync_state()
2148 switch ((enum drbd_conns)s.conn) { in drbd_state_is_stable()
Ddrbd_state.h172 enum drbd_conns conn_lowest_conn(struct drbd_connection *connection);
Ddrbd_receiver.c3434 static enum drbd_conns drbd_sync_handshake(struct drbd_peer_device *peer_device, in drbd_sync_handshake()
3439 enum drbd_conns rv = C_MASK; in drbd_sync_handshake()
4299 static enum drbd_conns c_tab[] = { in convert_state()
5094 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.c2475 max_t(enum drbd_conns, C_WF_REPORT_PARAMS, device->state.conn); in peer_device_to_info()
2634 enum drbd_conns cstate; in conn_try_disconnect()
/linux-6.1.9/include/linux/ !
Ddrbd.h192 enum drbd_conns { enum