Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/block/drbd/
Ddrbd_state_change.h15 enum drbd_disk_state disk_state[2];
26 enum drbd_disk_state disk_state[2];
Ddrbd_state.h169 enum drbd_disk_state conn_highest_disk(struct drbd_connection *connection);
170 enum drbd_disk_state conn_lowest_disk(struct drbd_connection *connection);
171 enum drbd_disk_state conn_highest_pdsk(struct drbd_connection *connection);
Ddrbd_strings.h7 extern const char *drbd_disk_str(enum drbd_disk_state);
Ddrbd_state.c367 enum drbd_disk_state conn_highest_disk(struct drbd_connection *connection) in conn_highest_disk()
369 enum drbd_disk_state disk_state = D_DISKLESS; in conn_highest_disk()
376 disk_state = max_t(enum drbd_disk_state, disk_state, device->state.disk); in conn_highest_disk()
383 enum drbd_disk_state conn_lowest_disk(struct drbd_connection *connection) in conn_lowest_disk()
385 enum drbd_disk_state disk_state = D_MASK; in conn_lowest_disk()
392 disk_state = min_t(enum drbd_disk_state, disk_state, device->state.disk); in conn_lowest_disk()
399 enum drbd_disk_state conn_highest_pdsk(struct drbd_connection *connection) in conn_highest_pdsk()
401 enum drbd_disk_state disk_state = D_DISKLESS; in conn_highest_pdsk()
408 disk_state = max_t(enum drbd_disk_state, disk_state, device->state.pdsk); in conn_highest_pdsk()
1056 enum drbd_disk_state disk_min, disk_max, pdsk_min, pdsk_max; in sanitize_state()
[all …]
Ddrbd_strings.c96 const char *drbd_disk_str(enum drbd_disk_state s) in drbd_disk_str()
Ddrbd_int.h2082 enum drbd_disk_state disk_state = device->state.disk; in put_ldev()
2107 static inline int _get_ldev_if_state(struct drbd_device *device, enum drbd_disk_state mins) in _get_ldev_if_state()
2122 extern int _get_ldev_if_state(struct drbd_device *device, enum drbd_disk_state mins);
2189 switch ((enum drbd_disk_state)s.disk) { in drbd_state_is_stable()
Ddrbd_worker.c990 enum drbd_disk_state disk_state = D_MASK; in drbd_resync_finished()
991 enum drbd_disk_state pdsk_state = D_MASK; in drbd_resync_finished()
1001 disk_state = min_t(enum drbd_disk_state, disk_state, device->state.disk); in drbd_resync_finished()
1002 pdsk_state = min_t(enum drbd_disk_state, pdsk_state, device->state.pdsk); in drbd_resync_finished()
Ddrbd_receiver.c3436 enum drbd_disk_state peer_disk) __must_hold(local) in drbd_sync_handshake()
3440 enum drbd_disk_state mydisk; in drbd_sync_handshake()
4385 enum drbd_disk_state real_peer_disk; in receive_state()
Ddrbd_main.c145 int _get_ldev_if_state(struct drbd_device *device, enum drbd_disk_state mins) in _get_ldev_if_state()
/Linux-v6.1/include/linux/
Ddrbd.h231 enum drbd_disk_state { enum