Lines Matching refs:usbdev_i
114 inode->u.usbdev_i.p.dev = dev; in new_dev_inode()
115 list_add_tail(&inode->u.usbdev_i.slist, &sb->u.usbdevfs_sb.ilist); in new_dev_inode()
116 list_add_tail(&inode->u.usbdev_i.dlist, &dev->inodes); in new_dev_inode()
151 inode->u.usbdev_i.p.bus = bus; in new_bus_inode()
152 list_add_tail(&inode->u.usbdev_i.slist, &sb->u.usbdevfs_sb.ilist); in new_bus_inode()
153 list_add_tail(&inode->u.usbdev_i.dlist, &bus->inodes); in new_bus_inode()
158 inode->u.usbdev_i.p.bus = NULL; in free_inode()
159 inode->u.usbdev_i.p.dev = NULL; in free_inode()
163 list_del(&inode->u.usbdev_i.slist); in free_inode()
164 list_del(&inode->u.usbdev_i.dlist); in free_inode()
309 if (ITYPE(inode->i_ino) == IBUS && !inode->u.usbdev_i.p.bus) in usbdevfs_revalidate()
311 if (ITYPE(inode->i_ino) == IDEVICE && !inode->u.usbdev_i.p.dev) in usbdevfs_revalidate()
348 if (inode && ITYPE(ino) == IBUS && inode->u.usbdev_i.p.bus == NULL) { in usbdevfs_root_lookup()
371 if (inode && inode->u.usbdev_i.p.dev == NULL) { in usbdevfs_bus_lookup()
516 inode->u.usbdev_i.p.dev = NULL; in usbdevfs_read_inode()
517 inode->u.usbdev_i.p.bus = NULL; in usbdevfs_read_inode()
548 free_inode(list_entry(sb->u.usbdevfs_sb.ilist.next, struct inode, u.usbdev_i.slist)); in usbdevfs_put_super()
574 inode = list_entry(ilist, struct inode, u.usbdev_i.slist); in usbdevfs_remount()
639 list_add_tail(&inode->u.usbdev_i.slist, &s->u.usbdevfs_sb.ilist); in usbdevfs_read_super()
640 list_add_tail(&inode->u.usbdev_i.dlist, &special[i].inodes); in usbdevfs_read_super()
695 free_inode(list_entry(bus->inodes.next, struct inode, u.usbdev_i.dlist)); in usbdevfs_remove_bus()
720 free_inode(list_entry(dev->inodes.next, struct inode, u.usbdev_i.dlist)); in usbdevfs_remove_device()