Home
last modified time | relevance | path

Searched refs:end_index (Results 1 – 19 of 19) sorted by relevance

/fs/ntfs/
Dbitmap.c51 pgoff_t index, end_index; in __ntfs_bitmap_set_bits_in_run() local
71 end_index = (start_bit + cnt - 1) >> (3 + PAGE_CACHE_SHIFT); in __ntfs_bitmap_set_bits_in_run()
120 while (index < end_index) { in __ntfs_bitmap_set_bits_in_run()
Dmft.c52 unsigned long index, end_index; in map_mft_record_page() local
68 end_index = i_size >> PAGE_CACHE_SHIFT; in map_mft_record_page()
71 if (unlikely(index >= end_index)) { in map_mft_record_page()
72 if (index > end_index || (i_size & ~PAGE_CACHE_MASK) < ofs + in map_mft_record_page()
2097 pgoff_t index, end_index; in ntfs_mft_record_format() local
2110 end_index = i_size >> PAGE_CACHE_SHIFT; in ntfs_mft_record_format()
2111 if (unlikely(index >= end_index)) { in ntfs_mft_record_format()
2112 if (unlikely(index > end_index || ofs + vol->mft_record_size >= in ntfs_mft_record_format()
Dfile.c117 pgoff_t index, end_index; in ntfs_attr_extend_initialized() local
228 end_index = (new_init_size + PAGE_CACHE_SIZE - 1) >> PAGE_CACHE_SHIFT; in ntfs_attr_extend_initialized()
285 } while (++index < end_index); in ntfs_attr_extend_initialized()
/fs/nfs/
Dinternal.h274 pgoff_t end_index = (i_size - 1) >> PAGE_CACHE_SHIFT; in nfs_page_length() local
275 if (page->index < end_index) in nfs_page_length()
277 if (page->index == end_index) in nfs_page_length()
Dwrite.c137 pgoff_t end_index; in nfs_grow_file() local
141 end_index = (i_size - 1) >> PAGE_CACHE_SHIFT; in nfs_grow_file()
142 if (i_size > 0 && page->index < end_index) in nfs_grow_file()
/fs/ubifs/
Dfile.c603 pgoff_t end_index; in populate_page() local
610 end_index = (i_size - 1) >> PAGE_CACHE_SHIFT; in populate_page()
611 if (!i_size || page->index > end_index) { in populate_page()
661 if (end_index == page->index) { in populate_page()
702 pgoff_t offset = page1->index, end_index; in ubifs_do_bulk_read() local
762 end_index = ((isize - 1) >> PAGE_CACHE_SHIFT); in ubifs_do_bulk_read()
768 if (page_offset > end_index) in ubifs_do_bulk_read()
985 pgoff_t end_index = i_size >> PAGE_CACHE_SHIFT; in ubifs_writepage() local
994 if (page->index > end_index || (page->index == end_index && !len)) { in ubifs_writepage()
1004 if (page->index < end_index) { in ubifs_writepage()
/fs/btrfs/
Dcompression.c243 unsigned long end_index = (start + ram_size - 1) >> PAGE_CACHE_SHIFT; in end_compressed_writeback() local
245 unsigned long nr_pages = end_index - index + 1; in end_compressed_writeback()
440 unsigned long end_index; in add_ra_bio_pages() local
463 end_index = (i_size_read(inode) - 1) >> PAGE_CACHE_SHIFT; in add_ra_bio_pages()
469 if (page_index > end_index) in add_ra_bio_pages()
526 if (page->index == end_index) { in add_ra_bio_pages()
Dextent_io.c960 unsigned long end_index = end >> PAGE_CACHE_SHIFT; in set_range_dirty() local
963 while (index <= end_index) { in set_range_dirty()
980 unsigned long end_index = end >> PAGE_CACHE_SHIFT; in set_range_writeback() local
983 while (index <= end_index) { in set_range_writeback()
1128 unsigned long end_index = end >> PAGE_CACHE_SHIFT; in __unlock_for_delalloc() local
1129 unsigned long nr_pages = end_index - index + 1; in __unlock_for_delalloc()
1132 if (index == locked_page->index && end_index == index) in __unlock_for_delalloc()
1158 unsigned long end_index = delalloc_end >> PAGE_CACHE_SHIFT; in lock_delalloc_pages() local
1166 if (index == locked_page->index && index == end_index) in lock_delalloc_pages()
1170 nrpages = end_index - index + 1; in lock_delalloc_pages()
[all …]
/fs/smbfs/
Dfile.c178 unsigned long end_index; in smb_writepage() local
186 end_index = inode->i_size >> PAGE_CACHE_SHIFT; in smb_writepage()
189 if (page->index < end_index) in smb_writepage()
194 if (page->index >= end_index+1 || !offset) in smb_writepage()
/fs/
Dmpage.c450 unsigned long end_index; in __mpage_writepage() local
552 end_index = i_size >> PAGE_CACHE_SHIFT; in __mpage_writepage()
553 if (page->index >= end_index) { in __mpage_writepage()
564 if (page->index > end_index || !offset) in __mpage_writepage()
Dsplice.c279 pgoff_t index, end_index; in __generic_file_splice_read() local
430 end_index = (isize - 1) >> PAGE_CACHE_SHIFT; in __generic_file_splice_read()
431 if (unlikely(!isize || index > end_index)) in __generic_file_splice_read()
438 if (end_index == index) { in __generic_file_splice_read()
Dbuffer.c2727 const pgoff_t end_index = i_size >> PAGE_CACHE_SHIFT; in nobh_writepage() local
2732 if (page->index < end_index) in nobh_writepage()
2737 if (page->index >= end_index+1 || !offset) { in nobh_writepage()
2927 const pgoff_t end_index = i_size >> PAGE_CACHE_SHIFT; in block_write_full_page() local
2931 if (page->index < end_index) in block_write_full_page()
2936 if (page->index >= end_index+1 || !offset) { in block_write_full_page()
/fs/gfs2/
Dops_address.c104 pgoff_t end_index = i_size >> PAGE_CACHE_SHIFT; in gfs2_writepage_common() local
113 if (page->index > end_index || (page->index == end_index && !offset)) { in gfs2_writepage_common()
271 pgoff_t end_index = i_size >> PAGE_CACHE_SHIFT; in gfs2_write_jdata_pagevec() local
308 if (page->index > end_index || (page->index == end_index && !offset)) { in gfs2_write_jdata_pagevec()
/fs/hugetlbfs/
Dinode.c238 unsigned long end_index; in hugetlbfs_read() local
252 end_index = (isize - 1) >> huge_page_shift(h); in hugetlbfs_read()
260 if (index >= end_index) { in hugetlbfs_read()
261 if (index > end_index) in hugetlbfs_read()
/fs/squashfs/
Dfile.c386 int end_index = start_index | mask; in squashfs_readpage() local
452 for (i = start_index; i <= end_index && bytes > 0; i++, in squashfs_readpage()
/fs/xfs/linux-2.6/
Dxfs_aops.c978 pgoff_t end_index, last_index, tlast; in xfs_page_state_convert() local
992 end_index = offset >> PAGE_CACHE_SHIFT; in xfs_page_state_convert()
994 if (page->index >= end_index) { in xfs_page_state_convert()
995 if ((page->index >= end_index + 1) || in xfs_page_state_convert()
/fs/hostfs/
Dhostfs_kern.c444 int end_index = inode->i_size >> PAGE_CACHE_SHIFT; in hostfs_writepage() local
447 if (page->index >= end_index) in hostfs_writepage()
/fs/yaffs2/
Dyaffs_fs.c676 unsigned long end_index; in yaffs_writepage() local
699 end_index = inode->i_size >> PAGE_CACHE_SHIFT; in yaffs_writepage()
702 if (page->index < end_index) in yaffs_writepage()
/fs/reiserfs/
Dinode.c2324 unsigned long end_index = inode->i_size >> PAGE_CACHE_SHIFT; in reiserfs_write_full_page() local
2358 if (page->index >= end_index) { in reiserfs_write_full_page()
2363 if (page->index >= end_index + 1 || !last_offset) { in reiserfs_write_full_page()