Lines Matching refs:hd
72 #include <hd.h>
663 hd_t *hd, *devlist, *partlist = NULL;
685 for (hd = devlist; hd; hd = hd->next) {
686 if (hd->unix_dev_name && !strncmp(dev->d_name,
687 hd->unix_dev_name, d_name_len))
689 if (hd->unix_dev_name2 && !strncmp(dev->d_name,
690 hd->unix_dev_name2, d_name_len))
692 for (names = hd->unix_dev_names; names;
705 for (hd = partlist; hd; hd = hd->next) {
706 if (hd->unix_dev_name && !strncmp(dev->d_name,
707 hd->unix_dev_name, d_name_len))
709 if (hd->unix_dev_name2 && !strncmp(dev->d_name,
710 hd->unix_dev_name2, d_name_len))
712 for (names = hd->unix_dev_names; names;
723 hd = hd_get_device_by_idx(hddata, hd->attached_to);
724 if (!hd)
728 * @hd is now the whole block device either being formatted or
735 for (res = hd->res; res; res = res->next) {