Home
last modified time | relevance | path

Searched refs:i_size (Results 1 – 9 of 9) sorted by relevance

/drivers/usb/core/
Dinode.c664 int i_size; in usbfs_add_device() local
678 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()
/drivers/block/drbd/
Ddrbd_wrappers.h16 mdev->this_bdev->bd_inode->i_size = (loff_t)size << 9; in drbd_set_my_capacity()
/drivers/block/
Dnbd.c634 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()
/drivers/pci/
Dproc.c35 new = inode->i_size + off; in proc_bus_pci_lseek()
38 if (new < 0 || new > inode->i_size) in proc_bus_pci_lseek()
/drivers/infiniband/hw/cxgb4/
Ddevice.c253 de->d_inode->i_size = 4096; in setup_debugfs()
258 de->d_inode->i_size = 4096; in setup_debugfs()
/drivers/mtd/devices/
Dblock2mtd.c266 dev->mtd.size = dev->blkdev->bd_inode->i_size & PAGE_MASK; in add_device()
/drivers/usb/gadget/
Datmel_usba_udc.c150 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()
/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_main.c2007 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()
/drivers/staging/bcm/
DMisc.c195 …ength =0x%lx to be downloaded at =0x%x", path, (unsigned long)flp->f_dentry->d_inode->i_size, loc); in BcmFileDownload()