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

/linux-4.1.27/arch/um/drivers/
H A Dubd_kern.c172 .lock = __SPIN_LOCK_UNLOCKED(ubd_devs.lock), \
180 static struct ubd ubd_devs[MAX_DEV] = { [0 ... MAX_DEV - 1] = DEFAULT_UBD }; variable in typeref:struct:ubd
261 * otherwise, the str pointer is used (and owned) inside ubd_devs array, so it
319 ubd_dev = &ubd_devs[n]; ubd_setup_common()
825 ubd_devs[unit].pdev.id = unit; ubd_disk_register()
826 ubd_devs[unit].pdev.name = DRIVER_NAME; ubd_disk_register()
827 ubd_devs[unit].pdev.dev.release = ubd_device_release; ubd_disk_register()
828 dev_set_drvdata(&ubd_devs[unit].pdev.dev, &ubd_devs[unit]); ubd_disk_register()
829 platform_device_register(&ubd_devs[unit].pdev); ubd_disk_register()
830 disk->driverfs_dev = &ubd_devs[unit].pdev.dev; ubd_disk_register()
833 disk->private_data = &ubd_devs[unit]; ubd_disk_register()
834 disk->queue = ubd_devs[unit].queue; ubd_disk_register()
845 struct ubd *ubd_dev = &ubd_devs[n]; ubd_add()
924 ubd_devs[n].file = NULL; ubd_config()
946 ubd_dev = &ubd_devs[n]; ubd_get_config()
985 ubd_dev = &ubd_devs[n]; ubd_remove()
1036 struct ubd *ubd_dev = &ubd_devs[0]; ubd0_init()
1105 0, "ubd", ubd_devs); ubd_driver_init()

Completed in 41 milliseconds