Lines Matching refs:drbd_md_test_flag
2008 if (drbd_md_test_flag(nbc, MDF_CONSISTENT) && nsz < eff) { in drbd_adm_attach()
2053 if (drbd_md_test_flag(device->ldev, MDF_CRASHED_PRIMARY)) in drbd_adm_attach()
2058 if (drbd_md_test_flag(device->ldev, MDF_PRIMARY_IND) && in drbd_adm_attach()
2085 drbd_md_test_flag(device->ldev, MDF_PRIMARY_IND) && in drbd_adm_attach()
2086 !drbd_md_test_flag(device->ldev, MDF_CONNECTED_IND)) in drbd_adm_attach()
2096 if (drbd_md_test_flag(device->ldev, MDF_FULL_SYNC) || in drbd_adm_attach()
2098 drbd_md_test_flag(device->ldev, MDF_AL_DISABLED))) { in drbd_adm_attach()
2125 if (drbd_md_test_flag(device->ldev, MDF_CONSISTENT)) { in drbd_adm_attach()
2126 if (drbd_md_test_flag(device->ldev, MDF_WAS_UP_TO_DATE)) in drbd_adm_attach()
2134 if (drbd_md_test_flag(device->ldev, MDF_PEER_OUT_DATED)) in drbd_adm_attach()
3656 (drbd_md_test_flag(device->ldev, MDF_CONNECTED_IND) ? in peer_device_to_statistics()
3658 (drbd_md_test_flag(device->ldev, MDF_CONSISTENT) && in peer_device_to_statistics()
3659 !drbd_md_test_flag(device->ldev, MDF_WAS_UP_TO_DATE) ? in peer_device_to_statistics()
3662 (drbd_md_test_flag(device->ldev, MDF_FULL_SYNC) ? in peer_device_to_statistics()