Searched refs:UI_BITMAP (Results 1 – 6 of 6) sorted by relevance
/linux-6.12.1/drivers/block/drbd/ |
D | drbd_receiver.c | 3020 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 …]
|
D | drbd_main.c | 859 (unsigned long long)uuid[UI_BITMAP], in drbd_print_uuids() 879 uuid = device->ldev->md.uuid[UI_BITMAP]; in drbd_gen_and_send_sync_uuid() 884 drbd_uuid_set(device, UI_BITMAP, uuid); in drbd_gen_and_send_sync_uuid() 3371 bm_uuid = device->ldev->md.uuid[UI_BITMAP]; in drbd_uuid_new_current() 3376 device->ldev->md.uuid[UI_BITMAP] = device->ldev->md.uuid[UI_CURRENT]; in drbd_uuid_new_current() 3389 if (device->ldev->md.uuid[UI_BITMAP] == 0 && val == 0) { in drbd_uuid_set_bm() 3396 device->ldev->md.uuid[UI_HISTORY_START] = device->ldev->md.uuid[UI_BITMAP]; in drbd_uuid_set_bm() 3397 device->ldev->md.uuid[UI_BITMAP] = 0; in drbd_uuid_set_bm() 3399 unsigned long long bm_uuid = device->ldev->md.uuid[UI_BITMAP]; in drbd_uuid_set_bm() 3403 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 | 733 && device->ldev->md.uuid[UI_BITMAP] == 0) || forced) in drbd_set_role() 3576 s->peer_dev_bitmap_uuid = md->uuid[UI_BITMAP]; in peer_device_to_statistics() 4147 drbd_uuid_set(device, UI_BITMAP, 0); /* Rotate UI_BITMAP to History 1, etc... */ in drbd_adm_new_c_uuid() 4159 _drbd_uuid_set(device, UI_BITMAP, 0); in drbd_adm_new_c_uuid()
|
D | drbd_state.c | 1825 device->ldev->md.uuid[UI_BITMAP] == 0 && ns.disk >= D_UP_TO_DATE) { in after_state_ch() 1839 device->ldev->md.uuid[UI_BITMAP] == 0 && ns.disk >= D_UP_TO_DATE) { in after_state_ch()
|
/linux-6.12.1/include/linux/ |
D | drbd.h | 326 UI_BITMAP, enumerator
|