Searched refs:file_end (Results 1 – 4 of 4) sorted by relevance
/linux-4.1.27/fs/squashfs/ |
D | file_direct.c | 33 int file_end = (i_size_read(inode) - 1) >> PAGE_CACHE_SHIFT; in squashfs_readpage_block() local 42 if (end_index > file_end) in squashfs_readpage_block() 43 end_index = file_end; in squashfs_readpage_block()
|
D | file.c | 441 static int squashfs_readpage_sparse(struct page *page, int index, int file_end) in squashfs_readpage_sparse() argument 445 int bytes = index == file_end ? in squashfs_readpage_sparse() 458 int file_end = i_size_read(inode) >> msblk->block_log; in squashfs_readpage() local 469 if (index < file_end || squashfs_i(inode)->fragment_block == in squashfs_readpage() 477 res = squashfs_readpage_sparse(page, index, file_end); in squashfs_readpage()
|
/linux-4.1.27/drivers/staging/lustre/lustre/lov/ |
D | lov_lock.c | 296 u64 file_end; in lov_lock_sub_init() local 304 file_end = cl_offset(lov2cl(loo), parent->cll_descr.cld_end + 1) - 1; in lov_lock_sub_init() 313 file_start, file_end, &start, &end)) in lov_lock_sub_init() 332 file_start, file_end, &start, &end)) { in lov_lock_sub_init()
|
/linux-4.1.27/fs/btrfs/ |
D | ioctl.c | 1102 unsigned long file_end; in cluster_pages_for_defrag() local 1115 file_end = (isize - 1) >> PAGE_CACHE_SHIFT; in cluster_pages_for_defrag() 1116 if (!isize || start_index > file_end) in cluster_pages_for_defrag() 1119 page_cnt = min_t(u64, (u64)num_pages, (u64)file_end - start_index + 1); in cluster_pages_for_defrag()
|