Lines Matching refs:i_size
59 loff_t i_size; in ntfs_end_buffer_async_read() local
68 i_size = i_size_read(vi); in ntfs_end_buffer_async_read()
70 if (unlikely(init_size > i_size)) { in ntfs_end_buffer_async_read()
72 init_size = i_size; in ntfs_end_buffer_async_read()
166 loff_t i_size; in ntfs_read_block() local
216 i_size = i_size_read(vi); in ntfs_read_block()
218 if (unlikely(init_size > i_size)) { in ntfs_read_block()
220 init_size = i_size; in ntfs_read_block()
381 loff_t i_size; in ntfs_read_folio() local
394 i_size = i_size_read(vi); in ntfs_read_folio()
396 if (unlikely(page->index >= (i_size + PAGE_SIZE - 1) >> in ntfs_read_folio()
481 i_size = i_size_read(vi); in ntfs_read_folio()
483 if (unlikely(attr_len > i_size)) { in ntfs_read_folio()
485 attr_len = i_size; in ntfs_read_folio()
536 loff_t i_size; in ntfs_write_block() local
586 i_size = i_size_read(vi); in ntfs_write_block()
591 dblock = (i_size + blocksize - 1) >> blocksize_bits; in ntfs_write_block()
639 (initialized_size < i_size))) { in ntfs_write_block()
1340 loff_t i_size; in ntfs_writepage() local
1351 i_size = i_size_read(vi); in ntfs_writepage()
1353 if (unlikely(page->index >= (i_size + PAGE_SIZE - 1) >> in ntfs_writepage()
1403 if (page->index >= (i_size >> PAGE_SHIFT)) { in ntfs_writepage()
1405 unsigned int ofs = i_size & ~PAGE_MASK; in ntfs_writepage()
1470 i_size = i_size_read(vi); in ntfs_writepage()
1471 if (unlikely(attr_len > i_size)) { in ntfs_writepage()
1473 attr_len = i_size; in ntfs_writepage()
1552 loff_t i_size; in ntfs_bmap() local
1578 i_size = i_size_read(VFS_I(ni)); in ntfs_bmap()
1585 if (unlikely(ofs >= size || (ofs + blocksize > size && size < i_size))) in ntfs_bmap()