Home
last modified time | relevance | path

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

/drivers/block/drbd/
Ddrbd_receiver.c2931 peer = device->p_uuid[UI_BITMAP] & 1; in drbd_asb_recover_0p()
2933 ch_peer = device->p_uuid[UI_SIZE]; in drbd_asb_recover_0p()
3146 peer = device->p_uuid[UI_CURRENT] & ~((u64)1); in drbd_uuid_compare()
3165 if (device->p_uuid[UI_BITMAP] == (u64)0 && device->ldev->md.uuid[UI_BITMAP] != (u64)0) { in drbd_uuid_compare()
3170 …if ((device->ldev->md.uuid[UI_BITMAP] & ~((u64)1)) == (device->p_uuid[UI_HISTORY_START] & ~((u64)1… in drbd_uuid_compare()
3171 …(device->ldev->md.uuid[UI_HISTORY_START] & ~((u64)1)) == (device->p_uuid[UI_HISTORY_START + 1] & ~… in drbd_uuid_compare()
3188 if (device->ldev->md.uuid[UI_BITMAP] == (u64)0 && device->p_uuid[UI_BITMAP] != (u64)0) { in drbd_uuid_compare()
3193 …if ((device->ldev->md.uuid[UI_HISTORY_START] & ~((u64)1)) == (device->p_uuid[UI_BITMAP] & ~((u64)1… in drbd_uuid_compare()
3194 …(device->ldev->md.uuid[UI_HISTORY_START + 1] & ~((u64)1)) == (device->p_uuid[UI_HISTORY_START] & ~… in drbd_uuid_compare()
3197 device->p_uuid[UI_HISTORY_START + 1] = device->p_uuid[UI_HISTORY_START]; in drbd_uuid_compare()
[all …]
Ddrbd_worker.c974 if (device->p_uuid) { in drbd_resync_finished()
977 _drbd_uuid_set(device, i, device->p_uuid[i]); in drbd_resync_finished()
979 _drbd_uuid_set(device, UI_CURRENT, device->p_uuid[UI_CURRENT]); in drbd_resync_finished()
990 if (device->p_uuid) { in drbd_resync_finished()
995 device->p_uuid[i] = device->ldev->md.uuid[i]; in drbd_resync_finished()
Ddrbd_state.c1730 if (device->p_uuid) in after_state_ch()
1731 device->p_uuid[UI_FLAGS] &= ~((u64)2); in after_state_ch()
Ddrbd_int.h937 u64 *p_uuid; member
Ddrbd_nl.c2124 kfree(device->p_uuid); in drbd_adm_attach()
2125 device->p_uuid = NULL; in drbd_adm_attach()
Ddrbd_main.c2275 kfree(device->p_uuid); in drbd_destroy_device()