Lines Matching refs:link

244 			dev = list_entry(dentry, struct mtd_device, link);  in index_partitions()
481 list_del(&part->link); in part_del()
505 part_tmp = list_entry(entry, struct part_info, link); in part_delall()
529 list_add(&part->link, &dev->parts); in part_sort_add()
535 new_pi = list_entry(&part->link, struct part_info, link); in part_sort_add()
545 pi = list_entry(entry, struct part_info, link); in part_sort_add()
554 list_add_tail(&part->link, entry); in part_sort_add()
569 list_add_tail(&part->link, &dev->parts); in part_sort_add()
704 INIT_LIST_HEAD(&part->link); in part_parse()
747 dev_tmp = list_entry(entry, struct mtd_device, link); in device_delall()
767 list_del(&dev->link); in device_del()
777 current_mtd_dev = list_entry(devices.next, struct mtd_device, link); in device_del()
802 dev_tmp = list_entry(entry, struct mtd_device, link); in device_find()
826 list_add_tail(&dev->link, &devices); in device_add()
893 part = list_entry(dev->parts.prev, struct part_info, link); in device_parse()
915 list_add_tail(&part->link, &tmp_list); in device_parse()
951 INIT_LIST_HEAD(&dev->link); in device_parse()
955 part = list_entry(entry, struct part_info, link); in device_parse()
994 id = list_entry(entry, struct mtdids, link); in id_find()
1021 id = list_entry(entry, struct mtdids, link); in id_find_by_mtd_id()
1106 dev = list_entry(dentry, struct mtd_device, link); in generate_mtdparts()
1121 part = list_entry(pentry, struct part_info, link); in generate_mtdparts()
1258 dev = list_entry(dentry, struct mtd_device, link);
1276 part = list_entry(pentry, struct part_info, link);
1290 part = list_entry(pentry, struct part_info, link);
1361 *dev = list_entry(dentry, struct mtd_device, link);
1363 *part = list_entry(pentry, struct part_info, link);
1496 dev = list_entry(dentry, struct mtd_device, link);
1504 part = list_entry(pentry, struct part_info, link);
1594 list_add_tail(&dev->link, &devices);
1629 id_tmp = list_entry(entry, struct mtdids, link);
1670 id_tmp = list_entry(entry, struct mtdids, link);
1694 INIT_LIST_HEAD(&id->link);
1700 list_add_tail(&id->link, &mtdids);
1706 id_tmp = list_entry(entry, struct mtdids, link);
1827 current_mtd_dev = list_entry(devices.next, struct mtd_device, link);
1896 part = list_entry(entry, struct part_info, link);
2033 p = list_entry(dev->parts.next, struct part_info, link);