/fs/ntfs/ |
D | bitmap.c | 51 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()
|
D | mft.c | 52 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()
|
D | file.c | 117 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/ |
D | internal.h | 274 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()
|
D | write.c | 137 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/ |
D | file.c | 603 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/ |
D | compression.c | 243 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()
|
D | extent_io.c | 960 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/ |
D | file.c | 178 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/ |
D | mpage.c | 450 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()
|
D | splice.c | 279 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()
|
D | buffer.c | 2727 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/ |
D | ops_address.c | 104 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/ |
D | inode.c | 238 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/ |
D | file.c | 386 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/ |
D | xfs_aops.c | 978 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/ |
D | hostfs_kern.c | 444 int end_index = inode->i_size >> PAGE_CACHE_SHIFT; in hostfs_writepage() local 447 if (page->index >= end_index) in hostfs_writepage()
|
/fs/yaffs2/ |
D | yaffs_fs.c | 676 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/ |
D | inode.c | 2324 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()
|