Searched refs:p_uuid (Results 1 – 6 of 6) sorted by relevance
3007 peer = device->p_uuid[UI_BITMAP] & 1; in drbd_asb_recover_0p()3009 ch_peer = device->p_uuid[UI_SIZE]; in drbd_asb_recover_0p()3224 peer = device->p_uuid[UI_CURRENT] & ~((u64)1); in drbd_uuid_compare()3243 if (device->p_uuid[UI_BITMAP] == (u64)0 && device->ldev->md.uuid[UI_BITMAP] != (u64)0) { in drbd_uuid_compare()3248 …if ((device->ldev->md.uuid[UI_BITMAP] & ~((u64)1)) == (device->p_uuid[UI_HISTORY_START] & ~((u64)1… in drbd_uuid_compare()3249 …(device->ldev->md.uuid[UI_HISTORY_START] & ~((u64)1)) == (device->p_uuid[UI_HISTORY_START + 1] & ~… in drbd_uuid_compare()3266 if (device->ldev->md.uuid[UI_BITMAP] == (u64)0 && device->p_uuid[UI_BITMAP] != (u64)0) { in drbd_uuid_compare()3271 …if ((device->ldev->md.uuid[UI_HISTORY_START] & ~((u64)1)) == (device->p_uuid[UI_BITMAP] & ~((u64)1… in drbd_uuid_compare()3272 …(device->ldev->md.uuid[UI_HISTORY_START + 1] & ~((u64)1)) == (device->p_uuid[UI_HISTORY_START] & ~… in drbd_uuid_compare()3275 device->p_uuid[UI_HISTORY_START + 1] = device->p_uuid[UI_HISTORY_START]; in drbd_uuid_compare()[all …]
957 if (device->p_uuid) { in drbd_resync_finished()960 _drbd_uuid_set(device, i, device->p_uuid[i]); in drbd_resync_finished()962 _drbd_uuid_set(device, UI_CURRENT, device->p_uuid[UI_CURRENT]); in drbd_resync_finished()973 if (device->p_uuid) { in drbd_resync_finished()978 device->p_uuid[i] = device->ldev->md.uuid[i]; in drbd_resync_finished()
1719 if (device->p_uuid) in after_state_ch()1720 device->p_uuid[UI_FLAGS] &= ~((u64)2); in after_state_ch()
923 u64 *p_uuid; member
2079 kfree(device->p_uuid); in drbd_adm_attach()2080 device->p_uuid = NULL; in drbd_adm_attach()
2204 kfree(device->p_uuid); in drbd_destroy_device()