Searched refs:file_end (Results 1 – 3 of 3) sorted by relevance
/fs/squashfs/ |
D | file_direct.c | 116 int start_index, end_index, file_end, actor_pages, res; in squashfs_readpages_block() local 141 file_end = (i_size_read(inode) - 1) >> PAGE_SHIFT; in squashfs_readpages_block() 144 if (end_index > file_end) in squashfs_readpages_block() 145 end_index = file_end; in squashfs_readpages_block()
|
D | file.c | 459 static int squashfs_readpage_sparse(struct page *page, int index, int file_end) in squashfs_readpage_sparse() argument 463 int bytes = index == file_end ? in squashfs_readpage_sparse() 472 struct list_head *readahead_pages, int index, int file_end, in squashfs_readpages_sparse() argument 484 return squashfs_readpage_sparse(page, index, file_end); in squashfs_readpages_sparse() 493 int file_end = i_size_read(inode) >> msblk->block_log; in __squashfs_readpages() local 506 if (index < file_end || squashfs_i(inode)->fragment_block == in __squashfs_readpages() 516 readahead_pages, index, file_end, in __squashfs_readpages()
|
/fs/btrfs/ |
D | ioctl.c | 996 unsigned long file_end; in cluster_pages_for_defrag() local 1009 file_end = (isize - 1) >> PAGE_CACHE_SHIFT; in cluster_pages_for_defrag() 1010 if (!isize || start_index > file_end) in cluster_pages_for_defrag() 1013 page_cnt = min_t(u64, (u64)num_pages, (u64)file_end - start_index + 1); in cluster_pages_for_defrag()
|