Home
last modified time | relevance | path

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

/fs/ocfs2/
Dmmap.c69 pgoff_t last_index; in __ocfs2_page_mkwrite() local
74 last_index = (size - 1) >> PAGE_CACHE_SHIFT; in __ocfs2_page_mkwrite()
104 if (page->index == last_index) in __ocfs2_page_mkwrite()
/fs/xfs/
Dxfs_aops.c978 pgoff_t end_index, last_index; in xfs_vm_writepage() local
1012 last_index = (offset - 1) >> PAGE_CACHE_SHIFT; in xfs_vm_writepage()
1192 if (end_index > last_index) in xfs_vm_writepage()
1193 end_index = last_index; in xfs_vm_writepage()
/fs/gfs2/
Dfile.c390 unsigned long last_index; in gfs2_page_mkwrite() local
456 last_index = (size - 1) >> PAGE_CACHE_SHIFT; in gfs2_page_mkwrite()
458 if (size == 0 || (page->index > last_index)) in gfs2_page_mkwrite()
/fs/ufs/
Dballoc.c243 pgoff_t index, cur_index, last_index; in ufs_change_blocknr() local
258 last_index = end >> (PAGE_CACHE_SHIFT - inode->i_blkbits); in ufs_change_blocknr()
282 if (unlikely(index == last_index)) in ufs_change_blocknr()
/fs/btrfs/
Drelocation.c3100 unsigned long last_index; local
3126 last_index = (cluster->end - offset) >> PAGE_CACHE_SHIFT;
3127 while (index <= last_index) {
3136 last_index + 1 - index);
3150 last_index + 1 - index);
Dioctl.c1265 unsigned long last_index; in btrfs_defrag_file() local
1320 last_index = min_t(u64, isize - 1, in btrfs_defrag_file()
1323 last_index = (isize - 1) >> PAGE_CACHE_SHIFT; in btrfs_defrag_file()
1342 max_to_defrag = last_index + 1; in btrfs_defrag_file()
1351 while (i <= last_index && defrag_count < max_to_defrag && in btrfs_defrag_file()
Dfree-space-cache.c249 unsigned long last_index; in readahead_cache() local
256 last_index = (i_size_read(inode) - 1) >> PAGE_CACHE_SHIFT; in readahead_cache()
258 page_cache_sync_readahead(inode->i_mapping, ra, NULL, 0, last_index); in readahead_cache()
Dsend.c4279 pgoff_t last_index; in fill_read_buf() local
4300 last_index = (offset + len - 1) >> PAGE_CACHE_SHIFT; in fill_read_buf()
4306 last_index - index + 1); in fill_read_buf()
4308 while (index <= last_index) { in fill_read_buf()