Lines Matching defs:rv
73 int rv;
86 if ((rv = copy_devinfo(basepath, connection, flags, &root)) != 0) {
89 return (rv);
116 if ((rv = copy_usage(root)) != 0) {
118 return (rv);
141 int rv;
158 rv = copy_hotplug(NULL, di_root, connection, flags, &hp_root);
160 rv = copy_devices(NULL, di_root, flags, &hp_root);
165 *rootp = (rv == 0) ? hp_root : NULL;
166 return (rv);
181 int rv = 0;
199 if ((rv = copy_hotplug(self, dev, NULL, flags,
202 return (rv);
216 if ((rv = copy_devices(self, child, flags, &branch)) != 0) {
219 return (rv);
249 int rv, physnum;
286 rv = ENOMEM;
295 if ((rv = copy_devices(node, child_dev, child_flags,
319 rv = ENOMEM;
338 rv = ENOMEM;
345 if ((rv = copy_devices(port_node, child_dev,
362 return (rv);