busid_priv 277 drivers/usb/usbip/stub_dev.c struct bus_id_priv *busid_priv; busid_priv 291 drivers/usb/usbip/stub_dev.c busid_priv = get_busid_priv(udev_busid); busid_priv 292 drivers/usb/usbip/stub_dev.c if (!busid_priv || (busid_priv->status == STUB_BUSID_REMOV) || busid_priv 293 drivers/usb/usbip/stub_dev.c (busid_priv->status == STUB_BUSID_OTHER)) { busid_priv 304 drivers/usb/usbip/stub_dev.c if (!busid_priv) busid_priv 331 drivers/usb/usbip/stub_dev.c busid_priv->shutdown_busid = 0; busid_priv 336 drivers/usb/usbip/stub_dev.c busid_priv->sdev = sdev; busid_priv 337 drivers/usb/usbip/stub_dev.c busid_priv->udev = udev; busid_priv 339 drivers/usb/usbip/stub_dev.c save_status = busid_priv->status; busid_priv 340 drivers/usb/usbip/stub_dev.c busid_priv->status = STUB_BUSID_ALLOC; busid_priv 343 drivers/usb/usbip/stub_dev.c put_busid_priv(busid_priv); busid_priv 364 drivers/usb/usbip/stub_dev.c spin_lock(&busid_priv->busid_lock); busid_priv 365 drivers/usb/usbip/stub_dev.c busid_priv->sdev = NULL; busid_priv 366 drivers/usb/usbip/stub_dev.c busid_priv->status = save_status; busid_priv 367 drivers/usb/usbip/stub_dev.c spin_unlock(&busid_priv->busid_lock); busid_priv 373 drivers/usb/usbip/stub_dev.c put_busid_priv(busid_priv); busid_priv 381 drivers/usb/usbip/stub_dev.c static void shutdown_busid(struct bus_id_priv *busid_priv) busid_priv 383 drivers/usb/usbip/stub_dev.c usbip_event_add(&busid_priv->sdev->ud, SDEV_EVENT_REMOVED); busid_priv 386 drivers/usb/usbip/stub_dev.c usbip_stop_eh(&busid_priv->sdev->ud); busid_priv 397 drivers/usb/usbip/stub_dev.c struct bus_id_priv *busid_priv; busid_priv 402 drivers/usb/usbip/stub_dev.c busid_priv = get_busid_priv(udev_busid); busid_priv 403 drivers/usb/usbip/stub_dev.c if (!busid_priv) { busid_priv 414 drivers/usb/usbip/stub_dev.c put_busid_priv(busid_priv); busid_priv 421 drivers/usb/usbip/stub_dev.c put_busid_priv(busid_priv); busid_priv 440 drivers/usb/usbip/stub_dev.c spin_lock(&busid_priv->busid_lock); busid_priv 441 drivers/usb/usbip/stub_dev.c if (!busid_priv->shutdown_busid) busid_priv 442 drivers/usb/usbip/stub_dev.c busid_priv->shutdown_busid = 1; busid_priv 444 drivers/usb/usbip/stub_dev.c spin_unlock(&busid_priv->busid_lock); busid_priv 447 drivers/usb/usbip/stub_dev.c shutdown_busid(busid_priv); busid_priv 452 drivers/usb/usbip/stub_dev.c spin_lock(&busid_priv->busid_lock); busid_priv 454 drivers/usb/usbip/stub_dev.c busid_priv->sdev = NULL; busid_priv 457 drivers/usb/usbip/stub_dev.c if (busid_priv->status == STUB_BUSID_ALLOC) busid_priv 458 drivers/usb/usbip/stub_dev.c busid_priv->status = STUB_BUSID_ADDED; busid_priv 460 drivers/usb/usbip/stub_dev.c spin_unlock(&busid_priv->busid_lock); busid_priv 203 drivers/usb/usbip/stub_main.c static int do_rebind(char *busid, struct bus_id_priv *busid_priv) busid_priv 208 drivers/usb/usbip/stub_main.c if (busid_priv->udev->dev.parent) busid_priv 209 drivers/usb/usbip/stub_main.c device_lock(busid_priv->udev->dev.parent); busid_priv 210 drivers/usb/usbip/stub_main.c ret = device_attach(&busid_priv->udev->dev); busid_priv 211 drivers/usb/usbip/stub_main.c if (busid_priv->udev->dev.parent) busid_priv 212 drivers/usb/usbip/stub_main.c device_unlock(busid_priv->udev->dev.parent); busid_priv 214 drivers/usb/usbip/stub_main.c dev_err(&busid_priv->udev->dev, "rebind failed\n"); busid_priv 221 drivers/usb/usbip/stub_main.c struct bus_id_priv *busid_priv; busid_priv 229 drivers/usb/usbip/stub_main.c busid_priv = &(busid_table[i]); busid_priv 230 drivers/usb/usbip/stub_main.c busid_priv->status = STUB_BUSID_OTHER; busid_priv 239 drivers/usb/usbip/stub_main.c busid_priv = &(busid_table[i]); busid_priv 240 drivers/usb/usbip/stub_main.c do_rebind(busid_table[i].name, busid_priv);