Lines Matching defs:self
179 hp_node_t self, branch;
191 if ((self = new_device_node(parent, dev)) == NULL)
199 if ((rv = copy_hotplug(self, dev, NULL, flags,
200 &self->hp_child)) != 0) {
201 free(self);
204 *rootp = self;
216 if ((rv = copy_devices(self, child, flags, &branch)) != 0) {
218 free(self);
224 self->hp_child = children.head;
227 *rootp = self;