Searched refs:UI_BITMAP (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.4/drivers/block/drbd/ |
D | drbd_receiver.c | 3058 self = device->ldev->md.uuid[UI_BITMAP] & 1; in drbd_asb_recover_0p() 3059 peer = device->p_uuid[UI_BITMAP] & 1; in drbd_asb_recover_0p() 3248 (unsigned long long)uuid[UI_BITMAP], in drbd_uuid_dump() 3295 if (device->p_uuid[UI_BITMAP] == (u64)0 && device->ldev->md.uuid[UI_BITMAP] != (u64)0) { in drbd_uuid_compare() 3300 …if ((device->ldev->md.uuid[UI_BITMAP] & ~((u64)1)) == (device->p_uuid[UI_HISTORY_START] & ~((u64)1… in drbd_uuid_compare() 3304 device->ldev->md.uuid[UI_HISTORY_START] = device->ldev->md.uuid[UI_BITMAP]; in drbd_uuid_compare() 3305 device->ldev->md.uuid[UI_BITMAP] = 0; in drbd_uuid_compare() 3318 if (device->ldev->md.uuid[UI_BITMAP] == (u64)0 && device->p_uuid[UI_BITMAP] != (u64)0) { in drbd_uuid_compare() 3323 …if ((device->ldev->md.uuid[UI_HISTORY_START] & ~((u64)1)) == (device->p_uuid[UI_BITMAP] & ~((u64)1… in drbd_uuid_compare() 3328 device->p_uuid[UI_HISTORY_START] = device->p_uuid[UI_BITMAP]; in drbd_uuid_compare() [all …]
|
D | drbd_main.c | 878 (unsigned long long)uuid[UI_BITMAP], in drbd_print_uuids() 898 uuid = device->ldev->md.uuid[UI_BITMAP]; in drbd_gen_and_send_sync_uuid() 903 drbd_uuid_set(device, UI_BITMAP, uuid); in drbd_gen_and_send_sync_uuid() 3492 bm_uuid = device->ldev->md.uuid[UI_BITMAP]; in drbd_uuid_new_current() 3497 device->ldev->md.uuid[UI_BITMAP] = device->ldev->md.uuid[UI_CURRENT]; in drbd_uuid_new_current() 3509 if (device->ldev->md.uuid[UI_BITMAP] == 0 && val == 0) in drbd_uuid_set_bm() 3515 device->ldev->md.uuid[UI_HISTORY_START] = device->ldev->md.uuid[UI_BITMAP]; in drbd_uuid_set_bm() 3516 device->ldev->md.uuid[UI_BITMAP] = 0; in drbd_uuid_set_bm() 3518 unsigned long long bm_uuid = device->ldev->md.uuid[UI_BITMAP]; in drbd_uuid_set_bm() 3522 device->ldev->md.uuid[UI_BITMAP] = val & ~((u64)1); in drbd_uuid_set_bm()
|
D | drbd_worker.c | 963 for (i = UI_BITMAP ; i <= UI_HISTORY_END ; i++) in drbd_resync_finished() 965 drbd_uuid_set(device, UI_BITMAP, device->ldev->md.uuid[UI_CURRENT]); in drbd_resync_finished()
|
D | drbd_nl.c | 734 && device->ldev->md.uuid[UI_BITMAP] == 0) || forced) in drbd_set_role() 3653 s->peer_dev_bitmap_uuid = md->uuid[UI_BITMAP]; in peer_device_to_statistics() 4225 drbd_uuid_set(device, UI_BITMAP, 0); /* Rotate UI_BITMAP to History 1, etc... */ in drbd_adm_new_c_uuid() 4237 _drbd_uuid_set(device, UI_BITMAP, 0); in drbd_adm_new_c_uuid()
|
D | drbd_state.c | 1817 device->ldev->md.uuid[UI_BITMAP] == 0 && ns.disk >= D_UP_TO_DATE) { in after_state_ch() 1831 device->ldev->md.uuid[UI_BITMAP] == 0 && ns.disk >= D_UP_TO_DATE) { in after_state_ch()
|
/Linux-v5.4/include/linux/ |
D | drbd.h | 333 UI_BITMAP, enumerator
|