Lines Matching refs:hd
663 hd_t *hd, *devlist, *partlist = NULL; in ntfs_device_get_geo() local
685 for (hd = devlist; hd; hd = hd->next) { in ntfs_device_get_geo()
686 if (hd->unix_dev_name && !strncmp(dev->d_name, in ntfs_device_get_geo()
687 hd->unix_dev_name, d_name_len)) in ntfs_device_get_geo()
689 if (hd->unix_dev_name2 && !strncmp(dev->d_name, in ntfs_device_get_geo()
690 hd->unix_dev_name2, d_name_len)) in ntfs_device_get_geo()
692 for (names = hd->unix_dev_names; names; in ntfs_device_get_geo()
705 for (hd = partlist; hd; hd = hd->next) { in ntfs_device_get_geo()
706 if (hd->unix_dev_name && !strncmp(dev->d_name, in ntfs_device_get_geo()
707 hd->unix_dev_name, d_name_len)) in ntfs_device_get_geo()
709 if (hd->unix_dev_name2 && !strncmp(dev->d_name, in ntfs_device_get_geo()
710 hd->unix_dev_name2, d_name_len)) in ntfs_device_get_geo()
712 for (names = hd->unix_dev_names; names; in ntfs_device_get_geo()
723 hd = hd_get_device_by_idx(hddata, hd->attached_to); in ntfs_device_get_geo()
724 if (!hd) in ntfs_device_get_geo()
735 for (res = hd->res; res; res = res->next) { in ntfs_device_get_geo()