Home
last modified time | relevance | path

Searched refs:last_index (Results 1 – 9 of 9) sorted by relevance

/fs/ocfs2/
Dmmap.c94 pgoff_t last_index; in __ocfs2_page_mkwrite() local
103 last_index = size >> PAGE_CACHE_SHIFT; in __ocfs2_page_mkwrite()
104 if (page->index > last_index) { in __ocfs2_page_mkwrite()
134 if (page->index == last_index) in __ocfs2_page_mkwrite()
/fs/gfs2/
Dops_file.c344 unsigned long last_index; in gfs2_page_mkwrite() local
386 last_index = ip->i_inode.i_size >> PAGE_CACHE_SHIFT; in gfs2_page_mkwrite()
387 if (page->index > last_index) in gfs2_page_mkwrite()
/fs/btrfs/
Dfile.c944 unsigned long last_index, size_t write_bytes) in prepare_pages() argument
1023 unsigned long last_index; in btrfs_file_write() local
1055 last_index = (pos + count) >> PAGE_CACHE_SHIFT; in btrfs_file_write()
1073 pinned[1] = grab_cache_page(inode->i_mapping, last_index); in btrfs_file_write()
1099 pos, first_index, last_index, in btrfs_file_write()
Dioctl.c369 unsigned long last_index; in btrfs_defrag_file() local
382 last_index = inode->i_size >> PAGE_CACHE_SHIFT; in btrfs_defrag_file()
383 for (i = 0; i <= last_index; i++) { in btrfs_defrag_file()
386 min(last_index, i + ra_pages - 1)); in btrfs_defrag_file()
Dextent-tree.c4484 unsigned long last_index; in relocate_inode_pages() local
4498 last_index = (start + len - 1) >> PAGE_CACHE_SHIFT; in relocate_inode_pages()
4502 first_index, last_index); in relocate_inode_pages()
4508 for (i = first_index ; i <= last_index; i++) { in relocate_inode_pages()
4511 calc_ra(i, last_index, ra->ra_pages)); in relocate_inode_pages()
Dctree.h2062 pgoff_t offset, pgoff_t last_index);
Dinode.c4440 pgoff_t offset, pgoff_t last_index) in btrfs_force_ra() argument
4442 pgoff_t req_size = last_index - offset + 1; in btrfs_force_ra()
/fs/ufs/
Dballoc.c256 pgoff_t index, cur_index, last_index; in ufs_change_blocknr() local
271 last_index = end >> (PAGE_CACHE_SHIFT - inode->i_blkbits); in ufs_change_blocknr()
295 if (unlikely(index == last_index)) in ufs_change_blocknr()
/fs/xfs/linux-2.6/
Dxfs_aops.c978 pgoff_t end_index, last_index, tlast; in xfs_page_state_convert() local
993 last_index = (offset - 1) >> PAGE_CACHE_SHIFT; in xfs_page_state_convert()
1174 tlast = min_t(pgoff_t, offset, last_index); in xfs_page_state_convert()