Home
last modified time | relevance | path

Searched refs:disk_state (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/drivers/block/drbd/
Ddrbd_state_change.h15 enum drbd_disk_state disk_state[2]; member
26 enum drbd_disk_state disk_state[2]; member
Ddrbd_state.c127 device_state_change->disk_state[OLD] = device->state.disk; in remember_old_state()
136 peer_device_state_change->disk_state[OLD] = in remember_old_state()
178 device_state_change->disk_state[NEW] = device->state.disk; in remember_new_state()
199 peer_device_state_change->disk_state[NEW] = state.pdsk; in remember_new_state()
236 OLD_TO_NEW(device_state_change->disk_state); in copy_old_to_new_state_change()
244 OLD_TO_NEW(p->disk_state); in copy_old_to_new_state_change()
369 enum drbd_disk_state disk_state = D_DISKLESS; in conn_highest_disk() local
376 disk_state = max_t(enum drbd_disk_state, disk_state, device->state.disk); in conn_highest_disk()
380 return disk_state; in conn_highest_disk()
385 enum drbd_disk_state disk_state = D_MASK; in conn_lowest_disk() local
[all …]
Ddrbd_int.h2011 enum drbd_disk_state disk_state = device->state.disk; in put_ldev() local
2024 if (disk_state == D_DISKLESS) in put_ldev()
2027 if (disk_state == D_FAILED) in put_ldev()
Ddrbd_worker.c994 enum drbd_disk_state disk_state = D_MASK; in drbd_resync_finished() local
1005 disk_state = min_t(enum drbd_disk_state, disk_state, device->state.disk); in drbd_resync_finished()
1010 if (disk_state == D_UP_TO_DATE && pdsk_state == D_UP_TO_DATE) in drbd_resync_finished()