Home
last modified time | relevance | path

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

/drivers/mtd/devices/
Dblock2mtd.c272 if ((long)dev->blkdev->bd_inode->i_size % erase_size) { in add_device()
287 dev->mtd.size = dev->blkdev->bd_inode->i_size & PAGE_MASK; in add_device()
/drivers/gpu/drm/i915/gt/
Dshmem_utils.c58 n_pages = file->f_mapping->host->i_size >> PAGE_SHIFT; in shmem_pin_map()
/drivers/gpu/drm/nouveau/
Dnouveau_debugfs.c251 d_inode(dentry)->i_size = drm->vbios.length; in nouveau_drm_debugfs_init()
/drivers/gpu/drm/rockchip/
Dcdn-dp-reg.h458 u32 i_size, const u32 *d_mem, u32 d_size);
Dcdn-dp-reg.c282 u32 i_size, const u32 *d_mem, u32 d_size) in cdn_dp_load_firmware() argument
291 for (i = 0; i < i_size; i += 4) in cdn_dp_load_firmware()
/drivers/md/bcache/
Dutil.h591 return bdev->bd_inode->i_size >> 9; in bdev_sectors()
/drivers/usb/gadget/udc/
Datmel_usba_udc.c149 data = kmalloc(inode->i_size, GFP_KERNEL); in regs_dbg_open()
154 for (i = 0; i < inode->i_size / 4; i++) in regs_dbg_open()
176 file_inode(file)->i_size); in regs_dbg_read()
/drivers/scsi/csiostor/
Dcsio_init.c67 loff_t avail = file_inode(file)->i_size; in csio_mem_read()
/drivers/dma-buf/
Ddma-buf.c496 inode->i_size = dmabuf->size; in dma_buf_getfile()
/drivers/staging/gasket/
Dgasket_core.c1182 inode->i_size = 0; in gasket_open()
/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_debugfs.c1623 loff_t avail = file_inode(file)->i_size; in flash_read()
3272 loff_t avail = file_inode(file)->i_size; in mem_read()