Lines Matching defs:i_size
1733 * Buffers outside i_size may be dirtied by __set_page_dirty_buffers;
1751 * mapped buffers outside i_size will occur, because
1752 * this page can be outside i_size when there is a
2173 loff_t old_size = inode->i_size;
2179 * No need to use i_size_read() here, the i_size cannot change under us
2182 * But it's important to update i_size while still holding page lock:
2183 * page writeout could otherwise come in and zero beyond i_size.
2185 if (pos + copied > inode->i_size) {
2735 if (pos+copied > inode->i_size) {
2762 loff_t i_size = i_size_read(inode);
2763 const pgoff_t end_index = i_size >> PAGE_SHIFT;
2767 /* Is the page fully inside i_size? */
2771 /* Is the page fully outside i_size? (truncate in progress) */
2772 offset = i_size & (PAGE_SIZE-1);
2779 * The page straddles i_size. It must be zeroed out on each and every
2956 loff_t i_size = i_size_read(inode);
2957 const pgoff_t end_index = i_size >> PAGE_SHIFT;
2960 /* Is the page fully inside i_size? */
2965 /* Is the page fully outside i_size? (truncate in progress) */
2966 offset = i_size & (PAGE_SIZE-1);
2973 * The page straddles i_size. It must be zeroed out on each and every