Home
last modified time | relevance | path

Searched refs:file_end (Results 1 – 5 of 5) sorted by relevance

/linux/arch/arm/boot/
H A Ddeflate_xip_data.sh46 file_end=$(${CONFIG_SHELL} "${srctree}/scripts/file-size.sh" "$XIPIMAGE")
47 if [ "$file_end" != "$data_end" ]; then
49 $(($file_end + $base_offset)) $_edata_loc 1>&2
/linux/fs/squashfs/
H A Dfile.c467 int file_end = i_size_read(inode) >> msblk->block_log; in squashfs_read_folio() local
468 int expected = index == file_end ? in squashfs_read_folio()
480 if (index < file_end || squashfs_i(inode)->fragment_block == in squashfs_read_folio()
586 loff_t file_end = i_size_read(inode) >> msblk->block_log; in squashfs_readahead() local
601 expected = start >> msblk->block_log == file_end ? in squashfs_readahead()
614 if (start >> msblk->block_log == file_end && in squashfs_readahead()
641 if (start >> msblk->block_log == file_end && bytes && last_page) in squashfs_readahead()
676 u64 file_end = (i_size_read(inode) + msblk->block_size - 1) >> msblk->block_log; in seek_hole_data() local
685 if (index + 1 == file_end && in seek_hole_data()
704 if (++ index == file_end) in seek_hole_data()
[all …]
/linux/scripts/
H A Drecordmcount.c62 static void *file_end; /* pointer to the end of the mapped file */ variable
117 if (file_ptr + count >= file_end) { in uwrite()
118 off_t aoffset = (file_ptr + count) - file_end; in uwrite()
133 if (file_ptr < file_end) { in uwrite()
134 cnt = file_end - file_ptr; in uwrite()
220 file_end = file_map + sb.st_size; in mmap_file()
/linux/mm/
H A Dfilemap.c3818 unsigned long *rss, pgoff_t file_end) in filemap_map_folio_range()
3837 if ((file_end >= folio_next_index(folio) || shmem_mapping(mapping)) && in filemap_map_folio_range()
3931 pgoff_t file_end, last_pgoff = start_pgoff; in filemap_map_pages()
3940 * Recalculate end_pgoff based on file_end before calling in filemap_map_pages()
3944 file_end = DIV_ROUND_UP(i_size_read(mapping->host), PAGE_SIZE) - 1; in filemap_map_pages()
3945 end_pgoff = min(end_pgoff, file_end); in filemap_map_pages()
3959 if ((file_end >= folio_next_index(folio) || shmem_mapping(mapping)) && in filemap_map_pages()
4000 file_end); in filemap_map_pages()
3792 filemap_map_folio_range(struct vm_fault * vmf,struct folio * folio,unsigned long start,unsigned long addr,unsigned int nr_pages,unsigned long * rss,pgoff_t file_end) filemap_map_folio_range() argument
3905 pgoff_t file_end, last_pgoff = start_pgoff; filemap_map_pages() local
H A Dmemory.c5931 pgoff_t file_end;
5933 file_end = DIV_ROUND_UP(i_size_read(mapping->host), PAGE_SIZE);
5943 file_end < folio_next_index(folio); in do_fault_around()
5791 pgoff_t file_end; finish_fault() local