Searched refs:all_mddevs (Results 1 – 2 of 2) sorted by relevance
250 static LIST_HEAD(all_mddevs);264 tmp = all_mddevs.next; \266 ({ if (tmp != &all_mddevs) \267 mddev_get(list_entry(tmp, mddev_t, all_mddevs));\270 mddev = list_entry(tmp, mddev_t, all_mddevs); \271 tmp != &all_mddevs;}); \522 list_del(&mddev->all_mddevs); in mddev_put()547 INIT_LIST_HEAD(&mddev->all_mddevs); in mddev_init()575 list_for_each_entry(mddev, &all_mddevs, all_mddevs) in mddev_find()584 list_add(&new->all_mddevs, &all_mddevs); in mddev_find()[all …]
319 struct list_head all_mddevs; member