Lines Matching refs:all_mddevs
368 static LIST_HEAD(all_mddevs);
670 INIT_LIST_HEAD(&mddev->all_mddevs); in mddev_init()
692 list_for_each_entry(mddev, &all_mddevs, all_mddevs) in mddev_find_locked()
753 list_add(&new->all_mddevs, &all_mddevs); in mddev_alloc()
765 list_del(&mddev->all_mddevs); in mddev_free()
3333 list_for_each_entry(mddev, &all_mddevs, all_mddevs) { in md_rdev_overlaps()
5647 list_for_each_entry(mddev2, &all_mddevs, all_mddevs) in md_alloc()
8161 list_for_each(tmp,&all_mddevs) in md_seq_start()
8163 mddev = list_entry(tmp, struct mddev, all_mddevs); in md_seq_start()
8187 tmp = all_mddevs.next; in md_seq_next()
8190 tmp = mddev->all_mddevs.next; in md_seq_next()
8194 if (tmp == &all_mddevs) { in md_seq_next()
8199 next_mddev = list_entry(tmp, struct mddev, all_mddevs); in md_seq_next()
8203 tmp = mddev->all_mddevs.next; in md_seq_next()
8770 list_for_each_entry(mddev2, &all_mddevs, all_mddevs) { in md_do_sync()
9574 list_for_each_entry_safe(mddev, n, &all_mddevs, all_mddevs) { in md_notify_reboot()
9930 list_for_each_entry_safe(mddev, n, &all_mddevs, all_mddevs) { in md_exit()