Home
last modified time | relevance | path

Searched refs:all_mddevs (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/drivers/md/
Dmd.c294 static LIST_HEAD(all_mddevs);
307 _tmp = all_mddevs.next; \
309 ({ if (_tmp != &all_mddevs) \
310 mddev_get(list_entry(_tmp, struct mddev, all_mddevs));\
313 _mddev = list_entry(_tmp, struct mddev, all_mddevs); \
314 _tmp != &all_mddevs;}); \
600 list_del_init(&mddev->all_mddevs); in mddev_put()
622 INIT_LIST_HEAD(&mddev->all_mddevs); in mddev_init()
651 list_for_each_entry(mddev, &all_mddevs, all_mddevs) in mddev_find()
660 list_add(&new->all_mddevs, &all_mddevs); in mddev_find()
[all …]
Dmd.h470 struct list_head all_mddevs; member