Displaying 1 result from an estimated 1 matches for "node_src".
Did you mean:
node_arch
2008 Dec 25
0
[PATCH 2/4] dom0 linux: Add "guestdev=" boot parameter.
...+ list_for_each_safe(head, tmp, &guestdev_list) {
+ gdev = list_entry(head, struct guestdev, root_list);
+ pci_free_guestdev(gdev);
+ }
+}
+
+/* Copy guestdev and nodes */
+struct guestdev *pci_copy_guestdev(struct guestdev *gdev_src)
+{
+ struct guestdev *gdev;
+ struct guestdev_node *node, *node_src, *node_upper;
+
+ gdev = kmalloc(sizeof(*gdev), GFP_KERNEL);
+ if (!gdev)
+ goto allocate_err_end;
+
+ memset(gdev, 0, sizeof(*gdev));
+ INIT_LIST_HEAD(&gdev->root_list);
+ strcpy(gdev->hid, gdev_src->hid);
+ strcpy(gdev->uid, gdev_src->uid);
+ gdev->seg = gdev_src->seg;
+...