Searched refs:UI_CURRENT (Results 1 – 7 of 7) sorted by relevance
/linux-6.6.21/include/linux/ |
D | drbd.h | 325 UI_CURRENT, enumerator
|
/linux-6.6.21/drivers/block/drbd/ |
D | drbd_receiver.c | 3209 (unsigned long long)uuid[UI_CURRENT], in drbd_uuid_dump() 3238 self = device->ldev->md.uuid[UI_CURRENT] & ~((u64)1); in drbd_uuid_compare() 3239 peer = device->p_uuid[UI_CURRENT] & ~((u64)1); in drbd_uuid_compare() 3381 self = device->ldev->md.uuid[UI_CURRENT] & ~((u64)1); in drbd_uuid_compare() 3390 peer = device->p_uuid[UI_CURRENT] & ~((u64)1); in drbd_uuid_compare() 3420 peer = device->p_uuid[UI_CURRENT] & ~((u64)1); in drbd_uuid_compare() 4249 for (i = UI_CURRENT; i < UI_EXTENDED_SIZE; i++) in receive_uuids() 4258 (device->ed_uuid & ~((u64)1)) != (p_uuid[UI_CURRENT] & ~((u64)1))) { in receive_uuids() 4269 device->ldev->md.uuid[UI_CURRENT] == UUID_JUST_CREATED && in receive_uuids() 4276 _drbd_uuid_set(device, UI_CURRENT, p_uuid[UI_CURRENT]); in receive_uuids() [all …]
|
D | drbd_main.c | 839 for (i = UI_CURRENT; i < UI_SIZE; i++) in _drbd_send_uuids() 872 (unsigned long long)uuid[UI_CURRENT], in drbd_print_uuids() 3005 for (i = UI_CURRENT; i < UI_SIZE; i++) in drbd_md_write() 3264 for (i = UI_CURRENT; i < UI_SIZE; i++) in drbd_md_read() 3330 if (idx == UI_CURRENT) { in __drbd_uuid_set() 3383 device->ldev->md.uuid[UI_BITMAP] = device->ldev->md.uuid[UI_CURRENT]; in drbd_uuid_new_current() 3384 __drbd_uuid_set(device, UI_CURRENT, val); in drbd_uuid_new_current()
|
D | drbd_worker.c | 965 drbd_uuid_set(device, UI_BITMAP, device->ldev->md.uuid[UI_CURRENT]); in drbd_resync_finished() 966 _drbd_uuid_set(device, UI_CURRENT, device->p_uuid[UI_CURRENT]); in drbd_resync_finished() 981 for (i = UI_CURRENT ; i <= UI_HISTORY_END ; i++) in drbd_resync_finished()
|
D | drbd_nl.c | 720 device->ldev->md.uuid[UI_CURRENT] &= ~(u64)1; in drbd_set_role() 736 device->ldev->md.uuid[UI_CURRENT] |= (u64)1; in drbd_set_role() 1923 (device->ed_uuid & ~((u64)1)) != (nbc->md.uuid[UI_CURRENT] & ~((u64)1))) { in drbd_adm_attach() 2111 device->ldev->md.uuid[UI_CURRENT] |= (u64)1; in drbd_adm_attach() 2113 device->ldev->md.uuid[UI_CURRENT] &= ~(u64)1; in drbd_adm_attach() 3314 s->dev_current_uuid = md->uuid[UI_CURRENT]; in device_to_statistics() 4148 device->ldev->md.uuid[UI_CURRENT] == UUID_JUST_CREATED && args.clear_bm) { in drbd_adm_new_c_uuid()
|
D | drbd_debugfs.c | 729 for (idx = UI_CURRENT; idx <= UI_HISTORY_END; idx++) { in device_data_gen_id_show()
|
D | drbd_state.c | 1093 if (device->ed_uuid == device->ldev->md.uuid[UI_CURRENT]) { in sanitize_state() 1436 drbd_set_ed_uuid(device, device->ldev->md.uuid[UI_CURRENT]); in _drbd_set_state()
|