Searched refs:node_detected_dev (Results 1 – 1 of 1) sorted by relevance
10159 struct detected_devices_node *node_detected_dev; in md_autodetect_dev() local10161 node_detected_dev = kzalloc(sizeof(*node_detected_dev), GFP_KERNEL); in md_autodetect_dev()10162 if (node_detected_dev) { in md_autodetect_dev()10163 node_detected_dev->dev = dev; in md_autodetect_dev()10165 list_add_tail(&node_detected_dev->list, &all_detected_devices); in md_autodetect_dev()10173 struct detected_devices_node *node_detected_dev; in md_autostart_arrays() local10185 node_detected_dev = list_entry(all_detected_devices.next, in md_autostart_arrays()10187 list_del(&node_detected_dev->list); in md_autostart_arrays()10188 dev = node_detected_dev->dev; in md_autostart_arrays()10189 kfree(node_detected_dev); in md_autostart_arrays()