Searched refs:i_size (Results 1 – 9 of 9) sorted by relevance
664 int i_size; in usbfs_add_device() local678 i_size = sizeof (struct usb_device_descriptor); in usbfs_add_device()682 i_size += le16_to_cpu(config->wTotalLength); in usbfs_add_device()685 dev->usbfs_dentry->d_inode->i_size = i_size; in usbfs_add_device()
16 mdev->this_bdev->bd_inode->i_size = (loff_t)size << 9; in drbd_set_my_capacity()
634 bdev->bd_inode->i_size = nbd->bytesize; in __nbd_ioctl()641 bdev->bd_inode->i_size = nbd->bytesize; in __nbd_ioctl()652 bdev->bd_inode->i_size = nbd->bytesize; in __nbd_ioctl()690 bdev->bd_inode->i_size = 0; in __nbd_ioctl()
35 new = inode->i_size + off; in proc_bus_pci_lseek()38 if (new < 0 || new > inode->i_size) in proc_bus_pci_lseek()
253 de->d_inode->i_size = 4096; in setup_debugfs()258 de->d_inode->i_size = 4096; in setup_debugfs()
266 dev->mtd.size = dev->blkdev->bd_inode->i_size & PAGE_MASK; in add_device()
150 data = kmalloc(inode->i_size, GFP_KERNEL); in regs_dbg_open()155 for (i = 0; i < inode->i_size / 4; i++) in regs_dbg_open()177 file->f_dentry->d_inode->i_size); in regs_dbg_read()275 regs->d_inode->i_size = resource_size(regs_resource); in usba_init_debugfs()
2007 loff_t avail = file->f_path.dentry->d_inode->i_size; in mem_read()2059 de->d_inode->i_size = size_mb << 20; in add_debugfs_mem()
195 …ength =0x%lx to be downloaded at =0x%x", path, (unsigned long)flp->f_dentry->d_inode->i_size, loc); in BcmFileDownload()