Home
last modified time | relevance | path

Searched refs:UI_CURRENT (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.4/include/linux/
Ddrbd.h332 UI_CURRENT, enumerator
/Linux-v5.4/drivers/block/drbd/
Ddrbd_receiver.c3247 (unsigned long long)uuid[UI_CURRENT], in drbd_uuid_dump()
3275 self = device->ldev->md.uuid[UI_CURRENT] & ~((u64)1); in drbd_uuid_compare()
3276 peer = device->p_uuid[UI_CURRENT] & ~((u64)1); in drbd_uuid_compare()
3418 self = device->ldev->md.uuid[UI_CURRENT] & ~((u64)1); in drbd_uuid_compare()
3427 peer = device->p_uuid[UI_CURRENT] & ~((u64)1); in drbd_uuid_compare()
3457 peer = device->p_uuid[UI_CURRENT] & ~((u64)1); in drbd_uuid_compare()
4295 for (i = UI_CURRENT; i < UI_EXTENDED_SIZE; i++) in receive_uuids()
4304 (device->ed_uuid & ~((u64)1)) != (p_uuid[UI_CURRENT] & ~((u64)1))) { in receive_uuids()
4315 device->ldev->md.uuid[UI_CURRENT] == UUID_JUST_CREATED && in receive_uuids()
4322 _drbd_uuid_set(device, UI_CURRENT, p_uuid[UI_CURRENT]); in receive_uuids()
[all …]
Ddrbd_worker.c965 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()
Ddrbd_main.c844 for (i = UI_CURRENT; i < UI_SIZE; i++) in _drbd_send_uuids()
877 (unsigned long long)uuid[UI_CURRENT], in drbd_print_uuids()
3108 for (i = UI_CURRENT; i < UI_SIZE; i++) in drbd_md_write()
3367 for (i = UI_CURRENT; i < UI_SIZE; i++) in drbd_md_read()
3444 if (idx == UI_CURRENT) { in __drbd_uuid_set()
3497 device->ldev->md.uuid[UI_BITMAP] = device->ldev->md.uuid[UI_CURRENT]; in drbd_uuid_new_current()
3498 __drbd_uuid_set(device, UI_CURRENT, val); in drbd_uuid_new_current()
Ddrbd_nl.c721 device->ldev->md.uuid[UI_CURRENT] &= ~(u64)1; in drbd_set_role()
737 device->ldev->md.uuid[UI_CURRENT] |= (u64)1; in drbd_set_role()
1991 (device->ed_uuid & ~((u64)1)) != (nbc->md.uuid[UI_CURRENT] & ~((u64)1))) { in drbd_adm_attach()
2177 device->ldev->md.uuid[UI_CURRENT] |= (u64)1; in drbd_adm_attach()
2179 device->ldev->md.uuid[UI_CURRENT] &= ~(u64)1; in drbd_adm_attach()
3377 s->dev_current_uuid = md->uuid[UI_CURRENT]; in device_to_statistics()
4217 device->ldev->md.uuid[UI_CURRENT] == UUID_JUST_CREATED && args.clear_bm) { in drbd_adm_new_c_uuid()
Ddrbd_debugfs.c729 for (idx = UI_CURRENT; idx <= UI_HISTORY_END; idx++) { in device_data_gen_id_show()
Ddrbd_state.c1093 if (device->ed_uuid == device->ldev->md.uuid[UI_CURRENT]) { in sanitize_state()
1434 drbd_set_ed_uuid(device, device->ldev->md.uuid[UI_CURRENT]); in _drbd_set_state()