Home
last modified time | relevance | path

Searched refs:isize (Results 1 – 4 of 4) sorted by relevance

/mm/
Dfilemap_xip.c62 loff_t isize, pos; in do_xip_mapping_read() local
71 isize = i_size_read(inode); in do_xip_mapping_read()
72 if (!isize) in do_xip_mapping_read()
75 end_index = (isize - 1) >> PAGE_CACHE_SHIFT; in do_xip_mapping_read()
87 nr = ((isize - 1) & ~PAGE_CACHE_MASK) + 1; in do_xip_mapping_read()
Dfilemap.c1485 loff_t isize; in do_generic_file_read() local
1528 isize = i_size_read(inode); in do_generic_file_read()
1529 end_index = (isize - 1) >> PAGE_CACHE_SHIFT; in do_generic_file_read()
1530 if (unlikely(!isize || index > end_index)) { in do_generic_file_read()
1538 nr = ((isize - 1) & ~PAGE_CACHE_MASK) + 1; in do_generic_file_read()
2320 loff_t isize; in generic_write_checks() local
2323 isize = i_size_read(inode); in generic_write_checks()
2324 if (*pos >= isize) { in generic_write_checks()
2325 if (*count || *pos > isize) in generic_write_checks()
2329 if (*pos + *count > isize) in generic_write_checks()
[all …]
Dreadahead.c162 loff_t isize = i_size_read(inode); in __do_page_cache_readahead() local
164 if (isize == 0) in __do_page_cache_readahead()
167 end_index = ((isize - 1) >> PAGE_CACHE_SHIFT); in __do_page_cache_readahead()
Dshmem.c1640 loff_t isize, left; in shmem_file_splice_read() local
1651 isize = i_size_read(inode); in shmem_file_splice_read()
1652 if (unlikely(*ppos >= isize)) in shmem_file_splice_read()
1655 left = isize - *ppos; in shmem_file_splice_read()
1704 isize = i_size_read(inode); in shmem_file_splice_read()
1705 end_index = (isize - 1) >> PAGE_CACHE_SHIFT; in shmem_file_splice_read()
1706 if (unlikely(!isize || index > end_index)) in shmem_file_splice_read()
1712 plen = ((isize - 1) & ~PAGE_CACHE_MASK) + 1; in shmem_file_splice_read()