/fs/squashfs/ |
D | file_direct.c | 35 int end_index = start_index | mask; in squashfs_readpage_block() local 41 if (end_index > file_end) in squashfs_readpage_block() 42 end_index = file_end; in squashfs_readpage_block() 44 pages = end_index - start_index + 1; in squashfs_readpage_block()
|
D | file.c | 388 int start_index = page->index & ~mask, end_index = start_index | mask; in squashfs_copy_cache() local 396 for (i = start_index; i <= end_index && bytes > 0; i++, in squashfs_copy_cache()
|
/fs/ntfs/ |
D | bitmap.c | 37 pgoff_t index, end_index; in __ntfs_bitmap_set_bits_in_run() local 57 end_index = (start_bit + cnt - 1) >> (3 + PAGE_SHIFT); in __ntfs_bitmap_set_bits_in_run() 106 while (index < end_index) { in __ntfs_bitmap_set_bits_in_run()
|
D | mft.c | 42 unsigned long index, end_index; in map_mft_record_page() local 58 end_index = i_size >> PAGE_SHIFT; in map_mft_record_page() 61 if (unlikely(index >= end_index)) { in map_mft_record_page() 62 if (index > end_index || (i_size & ~PAGE_MASK) < ofs + in map_mft_record_page() 2092 pgoff_t index, end_index; in ntfs_mft_record_format() local 2105 end_index = i_size >> PAGE_SHIFT; in ntfs_mft_record_format() 2106 if (unlikely(index >= end_index)) { in ntfs_mft_record_format() 2107 if (unlikely(index > end_index || ofs + vol->mft_record_size >= in ntfs_mft_record_format()
|
D | file.c | 99 pgoff_t index, end_index; in ntfs_attr_extend_initialized() local 210 end_index = (new_init_size + PAGE_SIZE - 1) >> PAGE_SHIFT; in ntfs_attr_extend_initialized() 267 } while (++index < end_index); in ntfs_attr_extend_initialized()
|
/fs/ubifs/ |
D | file.c | 609 pgoff_t end_index; in populate_page() local 616 end_index = (i_size - 1) >> PAGE_SHIFT; in populate_page() 617 if (!i_size || page->index > end_index) { in populate_page() 674 if (end_index == page->index) { in populate_page() 715 pgoff_t offset = page1->index, end_index; in ubifs_do_bulk_read() local 776 end_index = ((isize - 1) >> PAGE_SHIFT); in ubifs_do_bulk_read() 782 if (page_offset > end_index) in ubifs_do_bulk_read() 1006 pgoff_t end_index = i_size >> PAGE_SHIFT; in ubifs_writepage() local 1015 if (page->index > end_index || (page->index == end_index && !len)) { in ubifs_writepage() 1025 if (page->index < end_index) { in ubifs_writepage()
|
/fs/isofs/ |
D | compress.c | 310 pgoff_t index = page->index, end_index; in zisofs_readpage() local 312 end_index = (inode->i_size + PAGE_SIZE - 1) >> PAGE_SHIFT; in zisofs_readpage() 317 if (index >= end_index) { in zisofs_readpage() 328 end_index - (index & ~(zisofs_pages_per_cblock - 1))); in zisofs_readpage()
|
/fs/incfs/ |
D | data_mgmt.c | 620 u32 end_index = in incfs_get_filled_blocks() local 621 arg->end_index ? arg->end_index : df->df_total_block_count; in incfs_get_filled_blocks() 628 if (end_index > df->df_total_block_count) in incfs_get_filled_blocks() 629 end_index = df->df_total_block_count; in incfs_get_filled_blocks() 635 if (arg->start_index > end_index) { in incfs_get_filled_blocks() 647 .end = end_index, in incfs_get_filled_blocks() 653 arg->index_out = end_index; in incfs_get_filled_blocks() 662 for (arg->index_out = arg->start_index; arg->index_out < end_index; in incfs_get_filled_blocks() 716 end_index == df->df_total_block_count && in incfs_get_filled_blocks()
|
/fs/gfs2/ |
D | aops.c | 95 pgoff_t end_index = i_size >> PAGE_SHIFT; in gfs2_writepage() local 104 if (page->index > end_index || (page->index == end_index && !offset)) { in gfs2_writepage() 126 const pgoff_t end_index = i_size >> PAGE_SHIFT; in gfs2_write_full_page() local 137 if (page->index == end_index && offset) in gfs2_write_full_page()
|
/fs/ |
D | mpage.c | 540 unsigned long end_index; in __mpage_writepage() local 642 end_index = i_size >> PAGE_SHIFT; in __mpage_writepage() 643 if (page->index >= end_index) { in __mpage_writepage() 654 if (page->index > end_index || !offset) in __mpage_writepage()
|
D | dax.c | 946 pgoff_t end_index = wbc->range_end >> PAGE_SHIFT; in dax_writeback_mapping_range() local 962 trace_dax_writeback_range(inode, xas.xa_index, end_index); in dax_writeback_mapping_range() 964 tag_pages_for_writeback(mapping, xas.xa_index, end_index); in dax_writeback_mapping_range() 967 xas_for_each_marked(&xas, entry, end_index, PAGECACHE_TAG_TOWRITE) { in dax_writeback_mapping_range() 983 trace_dax_writeback_range_done(inode, xas.xa_index, end_index); in dax_writeback_mapping_range()
|
D | buffer.c | 2732 const pgoff_t end_index = i_size >> PAGE_SHIFT; in nobh_writepage() local 2737 if (page->index < end_index) in nobh_writepage() 2742 if (page->index >= end_index+1 || !offset) { in nobh_writepage() 2926 const pgoff_t end_index = i_size >> PAGE_SHIFT; in block_write_full_page() local 2930 if (page->index < end_index) in block_write_full_page() 2936 if (page->index >= end_index+1 || !offset) { in block_write_full_page()
|
/fs/xfs/ |
D | xfs_aops.c | 990 pgoff_t end_index; in xfs_do_writepage() local 1029 end_index = offset >> PAGE_SHIFT; in xfs_do_writepage() 1030 if (page->index < end_index) in xfs_do_writepage() 1063 if (page->index > end_index || in xfs_do_writepage() 1064 (page->index == end_index && offset_into_page == 0)) in xfs_do_writepage()
|
/fs/btrfs/ |
D | compression.c | 215 unsigned long end_index = (cb->start + cb->len - 1) >> PAGE_SHIFT; in end_compressed_writeback() local 217 unsigned long nr_pages = end_index - index + 1; in end_compressed_writeback() 432 unsigned long end_index; in add_ra_bio_pages() local 453 end_index = (i_size_read(inode) - 1) >> PAGE_SHIFT; in add_ra_bio_pages() 458 if (pg_index > end_index) in add_ra_bio_pages() 503 if (page->index == end_index) { in add_ra_bio_pages()
|
D | extent_io.c | 1455 unsigned long end_index = end >> PAGE_SHIFT; in extent_range_clear_dirty_for_io() local 1458 while (index <= end_index) { in extent_range_clear_dirty_for_io() 1470 unsigned long end_index = end >> PAGE_SHIFT; in extent_range_redirty_for_io() local 1473 while (index <= end_index) { in extent_range_redirty_for_io() 1736 pgoff_t start_index, pgoff_t end_index, 1744 unsigned long end_index = end >> PAGE_SHIFT; in __unlock_for_delalloc() local 1747 if (index == locked_page->index && end_index == index) in __unlock_for_delalloc() 1750 __process_pages_contig(inode->i_mapping, locked_page, index, end_index, in __unlock_for_delalloc() 1761 unsigned long end_index = delalloc_end >> PAGE_SHIFT; in lock_delalloc_pages() local 1765 if (index == locked_page->index && index == end_index) in lock_delalloc_pages() [all …]
|
D | inode.c | 113 unsigned long end_index = (offset + bytes - 1) >> PAGE_SHIFT; in btrfs_cleanup_ordered_extents() local 119 while (index <= end_index) { in btrfs_cleanup_ordered_extents() 10754 unsigned long end_index = end >> PAGE_SHIFT; in btrfs_set_range_writeback() local 10757 while (index <= end_index) { in btrfs_set_range_writeback()
|
/fs/nfs/ |
D | internal.h | 683 pgoff_t end_index = (i_size - 1) >> PAGE_SHIFT; in nfs_page_length() local 684 if (index < end_index) in nfs_page_length() 686 if (index == end_index) in nfs_page_length()
|
D | write.c | 226 pgoff_t end_index; in nfs_grow_file() local 230 end_index = (i_size - 1) >> PAGE_SHIFT; in nfs_grow_file() 231 if (i_size > 0 && page_index(page) < end_index) in nfs_grow_file()
|
/fs/ocfs2/ |
D | aops.c | 1044 unsigned long start, target_index, end_index, index; in ocfs2_grab_pages_for_write() local 1067 end_index = ((last_byte - 1) >> PAGE_SHIFT) + 1; in ocfs2_grab_pages_for_write() 1068 if ((start + wc->w_num_pages) > end_index) in ocfs2_grab_pages_for_write() 1069 wc->w_num_pages = end_index - start; in ocfs2_grab_pages_for_write() 1074 end_index = (user_pos + user_len - 1) >> PAGE_SHIFT; in ocfs2_grab_pages_for_write() 1079 if (index >= target_index && index <= end_index && in ocfs2_grab_pages_for_write() 1099 } else if (index >= target_index && index <= end_index && in ocfs2_grab_pages_for_write()
|
/fs/btrfs/tests/ |
D | extent-io-tests.c | 25 unsigned long end_index = end >> PAGE_SHIFT; in process_page_range() local 26 unsigned long nr_pages = end_index - index + 1; in process_page_range()
|
/fs/hugetlbfs/ |
D | inode.c | 335 unsigned long end_index; in hugetlbfs_read_iter() local 348 end_index = (isize - 1) >> huge_page_shift(h); in hugetlbfs_read_iter() 349 if (index > end_index) in hugetlbfs_read_iter() 351 if (index == end_index) { in hugetlbfs_read_iter()
|
/fs/hostfs/ |
D | hostfs_kern.c | 405 int end_index = inode->i_size >> PAGE_SHIFT; in hostfs_writepage() local 408 if (page->index >= end_index) in hostfs_writepage()
|
/fs/reiserfs/ |
D | inode.c | 2528 unsigned long end_index = inode->i_size >> PAGE_SHIFT; in reiserfs_write_full_page() local 2564 if (page->index >= end_index) { in reiserfs_write_full_page() 2569 if (page->index >= end_index + 1 || !last_offset) { in reiserfs_write_full_page()
|
/fs/f2fs/ |
D | data.c | 2743 const pgoff_t end_index = ((unsigned long long)i_size) in f2fs_write_single_data_page() local 2785 if (page->index < end_index || in f2fs_write_single_data_page() 2795 if ((page->index >= end_index + 1) || !offset) in f2fs_write_single_data_page()
|