Lines Matching refs:parent
289 struct udev_device *parent;
294 parent = udev_device_get_parent(dev);
296 /* there can only ever be one virtio bus per parent device, so we can
299 while (parent && streq_ptr("virtio", udev_device_get_subsystem(parent)))
300 parent = udev_device_get_parent(parent);
302 if (!parent)
305 /* check if our direct parent is a PCI device with no other bus in-between */
306 if (streq_ptr("pci", udev_device_get_subsystem(parent))) {
308 names->pcidev = parent;