Searched refs:ubus (Results 1 - 3 of 3) sorted by relevance

/freebsd-9.3-release/lib/libdevinfo/
H A Ddevinfo.c102 struct u_businfo ubus; local
118 ub_size = sizeof(ubus);
119 if (sysctlbyname("hw.bus.info", &ubus,
124 if ((ub_size != sizeof(ubus)) ||
125 (ubus.ub_version != BUS_USER_VERSION)) {
129 debug("generation count is %d", ubus.ub_generation);
134 if (ubus.ub_generation == devinfo_generation)
144 if ((error = devinfo_init_devices(ubus.ub_generation)) != 0) {
150 if ((error = devinfo_init_resources(ubus.ub_generation)) != 0) {
157 devinfo_generation = ubus
[all...]
/freebsd-9.3-release/sys/dev/usb/
H A Dusb_pf.c69 usbpf_attach(struct usb_bus *ubus) argument
74 ubus->ifp = NULL;
78 ifp = ubus->ifp = if_alloc(IFT_USB);
80 device_printf(ubus->parent, "usbpf: Could not allocate "
85 if_initname(ifp, "usbus", device_get_unit(ubus->bdev));
98 device_printf(ubus->parent, "usbpf: Attached\n");
102 usbpf_detach(struct usb_bus *ubus) argument
104 struct ifnet *ifp = ubus->ifp;
112 ubus->ifp = NULL;
/freebsd-9.3-release/sys/kern/
H A Dsubr_bus.c4750 struct u_businfo ubus; local
4752 ubus.ub_version = BUS_USER_VERSION;
4753 ubus.ub_generation = bus_data_generation;
4755 return (SYSCTL_OUT(req, &ubus, sizeof(ubus)));

Completed in 134 milliseconds