Lines Matching refs:drbd_md_test_flag
1933 if (drbd_md_test_flag(nbc, MDF_CONSISTENT) && nsz < eff) { in drbd_adm_attach()
1978 if (drbd_md_test_flag(device->ldev, MDF_CRASHED_PRIMARY)) in drbd_adm_attach()
1983 if (drbd_md_test_flag(device->ldev, MDF_PRIMARY_IND) && in drbd_adm_attach()
2010 drbd_md_test_flag(device->ldev, MDF_PRIMARY_IND) && in drbd_adm_attach()
2011 !drbd_md_test_flag(device->ldev, MDF_CONNECTED_IND)) in drbd_adm_attach()
2021 if (drbd_md_test_flag(device->ldev, MDF_FULL_SYNC) || in drbd_adm_attach()
2023 drbd_md_test_flag(device->ldev, MDF_AL_DISABLED))) { in drbd_adm_attach()
2052 if (drbd_md_test_flag(device->ldev, MDF_CONSISTENT)) { in drbd_adm_attach()
2053 if (drbd_md_test_flag(device->ldev, MDF_WAS_UP_TO_DATE)) in drbd_adm_attach()
2061 if (drbd_md_test_flag(device->ldev, MDF_PEER_OUT_DATED)) in drbd_adm_attach()
3579 (drbd_md_test_flag(device->ldev, MDF_CONNECTED_IND) ? in peer_device_to_statistics()
3581 (drbd_md_test_flag(device->ldev, MDF_CONSISTENT) && in peer_device_to_statistics()
3582 !drbd_md_test_flag(device->ldev, MDF_WAS_UP_TO_DATE) ? in peer_device_to_statistics()
3585 (drbd_md_test_flag(device->ldev, MDF_FULL_SYNC) ? in peer_device_to_statistics()