Searched refs:drbd_disk_state (Results 1 – 10 of 10) sorted by relevance
/Linux-v6.1/drivers/block/drbd/ |
D | drbd_state_change.h | 15 enum drbd_disk_state disk_state[2]; 26 enum drbd_disk_state disk_state[2];
|
D | drbd_state.h | 169 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);
|
D | drbd_strings.h | 7 extern const char *drbd_disk_str(enum drbd_disk_state);
|
D | drbd_state.c | 367 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 …]
|
D | drbd_strings.c | 96 const char *drbd_disk_str(enum drbd_disk_state s) in drbd_disk_str()
|
D | drbd_int.h | 2082 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()
|
D | drbd_worker.c | 990 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()
|
D | drbd_receiver.c | 3436 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()
|
D | drbd_main.c | 145 int _get_ldev_if_state(struct drbd_device *device, enum drbd_disk_state mins) in _get_ldev_if_state()
|
/Linux-v6.1/include/linux/ |
D | drbd.h | 231 enum drbd_disk_state { enum
|