Searched refs:file_end (Results 1 – 5 of 5) sorted by relevance
/linux-4.4.14/scripts/ |
D | recordmcount.c | 57 static void *file_end; /* pointer to the end of the mapped file */ variable 141 if (file_ptr + count >= file_end) { in uwrite() 142 off_t aoffset = (file_ptr + count) - file_end; in uwrite() 152 if (file_ptr < file_end) { in uwrite() 153 cnt = file_end - file_ptr; in uwrite() 259 file_end = file_map + sb.st_size; in mmap_file()
|
/linux-4.4.14/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.4.14/drivers/staging/lustre/lustre/lov/ |
D | lov_lock.c | 297 u64 file_end; in lov_lock_sub_init() local 305 file_end = cl_offset(lov2cl(loo), parent->cll_descr.cld_end + 1) - 1; in lov_lock_sub_init() 314 file_start, file_end, &start, &end)) in lov_lock_sub_init() 333 file_start, file_end, &start, &end)) { in lov_lock_sub_init()
|
/linux-4.4.14/fs/btrfs/ |
D | ioctl.c | 1107 unsigned long file_end; in cluster_pages_for_defrag() local 1120 file_end = (isize - 1) >> PAGE_CACHE_SHIFT; in cluster_pages_for_defrag() 1121 if (!isize || start_index > file_end) in cluster_pages_for_defrag() 1124 page_cnt = min_t(u64, (u64)num_pages, (u64)file_end - start_index + 1); in cluster_pages_for_defrag()
|