Lines Matching refs:ev1
1230 __u64 ev1, ev2; in super_90_load() local
1242 ev1 = md_event(sb); in super_90_load()
1245 if (!spare_disk && ev1 > ev2) in super_90_load()
1274 __u64 ev1 = md_event(sb); in super_90_validate() local
1295 mddev->events = ev1; in super_90_validate()
1349 ++ev1; in super_90_validate()
1352 if (ev1 < mddev->events) in super_90_validate()
1358 if (ev1 < mddev->bitmap->events_cleared) in super_90_validate()
1360 if (ev1 < mddev->events) in super_90_validate()
1363 if (ev1 < mddev->events) in super_90_validate()
1752 __u64 ev1, ev2; in super_1_load() local
1764 ev1 = le64_to_cpu(sb->events); in super_1_load()
1767 if (!spare_disk && ev1 > ev2) in super_1_load()
1785 __u64 ev1 = le64_to_cpu(sb->events); in super_1_validate() local
1805 mddev->events = ev1; in super_1_validate()
1886 if (ev1 + 1 < mddev->events) in super_1_validate()
1892 if (ev1 < mddev->bitmap->events_cleared) in super_1_validate()
1894 if (ev1 < mddev->events) in super_1_validate()
1897 if (ev1 < mddev->events) in super_1_validate()
1907 } else if (mddev->pers == NULL && freshest && ev1 < mddev->events) { in super_1_validate()