Searched refs:drbd_role (Results 1 – 9 of 9) sorted by relevance
7 enum drbd_role role[2];21 enum drbd_role peer_role[2];
6 extern const char *drbd_role_str(enum drbd_role);
167 enum drbd_role conn_highest_role(struct drbd_connection *connection);168 enum drbd_role conn_highest_peer(struct drbd_connection *connection);
91 const char *drbd_role_str(enum drbd_role s) in drbd_role_str()
317 static enum drbd_role max_role(enum drbd_role role1, enum drbd_role role2) in max_role()326 static enum drbd_role min_role(enum drbd_role role1, enum drbd_role role2) in min_role()335 enum drbd_role conn_highest_role(struct drbd_connection *connection) in conn_highest_role()337 enum drbd_role role = R_SECONDARY; in conn_highest_role()351 enum drbd_role conn_highest_peer(struct drbd_connection *connection) in conn_highest_peer()353 enum drbd_role peer = R_UNKNOWN; in conn_highest_peer()
1411 enum drbd_role new_role,
3231 enum drbd_role const peer_role, int *rule_nr) __must_hold(local) in drbd_uuid_compare()3450 enum drbd_role peer_role, in drbd_sync_handshake()
615 drbd_set_role(struct drbd_device *const device, enum drbd_role new_role, int force) in drbd_set_role()
173 enum drbd_role { enum