Lines Matching refs:i_size_read

198 …mlog(ML_ERROR, "Size %llu, clusters %u\n", (unsigned long long)i_size_read(inode), OCFS2_I(inode)-…  in ocfs2_get_block()
204 past_eof = ocfs2_blocks_for_bytes(inode->i_sb, i_size_read(inode)); in ocfs2_get_block()
231 size = i_size_read(inode); in ocfs2_read_inline_data()
317 if (start >= i_size_read(inode)) { in ocfs2_read_folio()
377 if (readahead_pos(rac) >= i_size_read(inode)) in ocfs2_readahead()
575 if (i_size_read(inode) > offset) in ocfs2_should_read_blk()
954 new = new | ((i_size_read(inode) <= page_offset(page)) && in ocfs2_prepare_page_for_write()
1049 last_byte = max(user_pos + user_len, i_size_read(inode)); in ocfs2_grab_pages_for_write()
1570 if (oi->ip_clusters != 0 || i_size_read(inode) != 0) in ocfs2_try_to_write_inline_data()
1616 if (newsize <= i_size_read(inode)) in ocfs2_expand_nonsparse_inode()
1626 ocfs2_clusters_for_bytes(inode->i_sb, i_size_read(inode)); in ocfs2_expand_nonsparse_inode()
1637 if (pos > i_size_read(inode)) in ocfs2_zero_tail()
1719 (long long)i_size_read(inode), in ocfs2_write_begin_nolock()
1982 new_isize = max_t(loff_t, i_size_read(inode), pos + copied); in ocfs2_write_end_nolock()
2042 if (pos > i_size_read(inode)) { in ocfs2_write_end_nolock()
2047 di->i_size = cpu_to_le64((u64)i_size_read(inode)); in ocfs2_write_end_nolock()
2151 sector_t endblk = (i_size_read(inode) - 1) >> i_blkbits; in ocfs2_dio_wr_get_block()
2181 if (pos + total_len <= i_size_read(inode)) { in ocfs2_dio_wr_get_block()
2202 ocfs2_clusters_for_bytes(inode->i_sb, i_size_read(inode)) && in ocfs2_dio_wr_get_block()
2311 end <= i_size_read(inode) && in ocfs2_dio_end_io_write()
2327 end = end > i_size_read(inode) ? end : 0; in ocfs2_dio_end_io_write()
2383 if (end > i_size_read(inode)) { in ocfs2_dio_end_io_write()
2455 if (iocb->ki_pos + iter->count > i_size_read(inode) && in ocfs2_direct_IO()