Searched refs:all_mddevs (Results 1 – 2 of 2) sorted by relevance
379 static LIST_HEAD(all_mddevs);392 _tmp = all_mddevs.next; \394 ({ if (_tmp != &all_mddevs) \395 mddev_get(list_entry(_tmp, struct mddev, all_mddevs));\398 _mddev = list_entry(_tmp, struct mddev, all_mddevs); \399 _tmp != &all_mddevs;}); \674 list_del_init(&mddev->all_mddevs); in mddev_put()696 INIT_LIST_HEAD(&mddev->all_mddevs); in mddev_init()718 list_for_each_entry(mddev, &all_mddevs, all_mddevs) in mddev_find_locked()795 list_add(&new->all_mddevs, &all_mddevs); in mddev_alloc()[all …]
490 struct list_head all_mddevs; member