Home
last modified time | relevance | path

Searched refs:UI_BITMAP (Results 1 – 6 of 6) sorted by relevance

/linux-6.6.21/drivers/block/drbd/
Ddrbd_receiver.c3020 self = device->ldev->md.uuid[UI_BITMAP] & 1; in drbd_asb_recover_0p()
3021 peer = device->p_uuid[UI_BITMAP] & 1; in drbd_asb_recover_0p()
3210 (unsigned long long)uuid[UI_BITMAP], in drbd_uuid_dump()
3258 if (device->p_uuid[UI_BITMAP] == (u64)0 && device->ldev->md.uuid[UI_BITMAP] != (u64)0) { in drbd_uuid_compare()
3263 …if ((device->ldev->md.uuid[UI_BITMAP] & ~((u64)1)) == (device->p_uuid[UI_HISTORY_START] & ~((u64)1… in drbd_uuid_compare()
3267 device->ldev->md.uuid[UI_HISTORY_START] = device->ldev->md.uuid[UI_BITMAP]; in drbd_uuid_compare()
3268 device->ldev->md.uuid[UI_BITMAP] = 0; in drbd_uuid_compare()
3281 if (device->ldev->md.uuid[UI_BITMAP] == (u64)0 && device->p_uuid[UI_BITMAP] != (u64)0) { in drbd_uuid_compare()
3286 …if ((device->ldev->md.uuid[UI_HISTORY_START] & ~((u64)1)) == (device->p_uuid[UI_BITMAP] & ~((u64)1… in drbd_uuid_compare()
3291 device->p_uuid[UI_HISTORY_START] = device->p_uuid[UI_BITMAP]; in drbd_uuid_compare()
[all …]
Ddrbd_main.c873 (unsigned long long)uuid[UI_BITMAP], in drbd_print_uuids()
893 uuid = device->ldev->md.uuid[UI_BITMAP]; in drbd_gen_and_send_sync_uuid()
898 drbd_uuid_set(device, UI_BITMAP, uuid); in drbd_gen_and_send_sync_uuid()
3378 bm_uuid = device->ldev->md.uuid[UI_BITMAP]; in drbd_uuid_new_current()
3383 device->ldev->md.uuid[UI_BITMAP] = device->ldev->md.uuid[UI_CURRENT]; in drbd_uuid_new_current()
3395 if (device->ldev->md.uuid[UI_BITMAP] == 0 && val == 0) in drbd_uuid_set_bm()
3401 device->ldev->md.uuid[UI_HISTORY_START] = device->ldev->md.uuid[UI_BITMAP]; in drbd_uuid_set_bm()
3402 device->ldev->md.uuid[UI_BITMAP] = 0; in drbd_uuid_set_bm()
3404 unsigned long long bm_uuid = device->ldev->md.uuid[UI_BITMAP]; in drbd_uuid_set_bm()
3408 device->ldev->md.uuid[UI_BITMAP] = val & ~((u64)1); in drbd_uuid_set_bm()
Ddrbd_worker.c963 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()
Ddrbd_nl.c733 && device->ldev->md.uuid[UI_BITMAP] == 0) || forced) in drbd_set_role()
3585 s->peer_dev_bitmap_uuid = md->uuid[UI_BITMAP]; in peer_device_to_statistics()
4156 drbd_uuid_set(device, UI_BITMAP, 0); /* Rotate UI_BITMAP to History 1, etc... */ in drbd_adm_new_c_uuid()
4168 _drbd_uuid_set(device, UI_BITMAP, 0); in drbd_adm_new_c_uuid()
Ddrbd_state.c1821 device->ldev->md.uuid[UI_BITMAP] == 0 && ns.disk >= D_UP_TO_DATE) { in after_state_ch()
1835 device->ldev->md.uuid[UI_BITMAP] == 0 && ns.disk >= D_UP_TO_DATE) { in after_state_ch()
/linux-6.6.21/include/linux/
Ddrbd.h326 UI_BITMAP, enumerator