Lines Matching refs:PAGE_CACHE_SIZE

142 	if (offset != 0 || length != PAGE_CACHE_SIZE) {  in ceph_invalidatepage()
196 u64 len = PAGE_CACHE_SIZE; in readpage_nounlock()
199 zero_user_segment(page, 0, PAGE_CACHE_SIZE); in readpage_nounlock()
211 zero_user_segment(page, 0, PAGE_CACHE_SIZE); in readpage_nounlock()
233 if (err < PAGE_CACHE_SIZE) in readpage_nounlock()
235 zero_user_segment(page, err, PAGE_CACHE_SIZE); in readpage_nounlock()
277 if (bytes < (int)PAGE_CACHE_SIZE) { in finish_read()
280 zero_user_segment(page, s, PAGE_CACHE_SIZE); in finish_read()
290 bytes -= PAGE_CACHE_SIZE; in finish_read()
414 if (fsc->mount_options->rsize >= PAGE_CACHE_SIZE) in ceph_readpages()
415 max = (fsc->mount_options->rsize + PAGE_CACHE_SIZE - 1) in ceph_readpages()
482 int err = 0, len = PAGE_CACHE_SIZE; in writepage_nounlock()
720 if (wsize < PAGE_CACHE_SIZE) in ceph_writepages_start()
721 wsize = PAGE_CACHE_SIZE; in ceph_writepages_start()
1097 if (pos_in_page == 0 && len == PAGE_CACHE_SIZE) in ceph_update_writeable_page()
1105 end_in_page - pos_in_page != PAGE_CACHE_SIZE)) { in ceph_update_writeable_page()
1107 page, pos_in_page, end_in_page, (int)PAGE_CACHE_SIZE); in ceph_update_writeable_page()
1110 end_in_page, PAGE_CACHE_SIZE); in ceph_update_writeable_page()
1170 unsigned from = pos & (PAGE_CACHE_SIZE - 1); in ceph_write_end()
1239 inode, ceph_vinop(inode), off, (size_t)PAGE_CACHE_SIZE); in ceph_filemap_fault()
1256 inode, off, (size_t)PAGE_CACHE_SIZE, ceph_cap_string(got)); in ceph_filemap_fault()
1265 inode, off, (size_t)PAGE_CACHE_SIZE, ceph_cap_string(got), ret); in ceph_filemap_fault()
1274 if (off >= PAGE_CACHE_SIZE) { in ceph_filemap_fault()
1295 if (ret1 < PAGE_CACHE_SIZE) in ceph_filemap_fault()
1296 zero_user_segment(page, ret1, PAGE_CACHE_SIZE); in ceph_filemap_fault()
1305 inode, off, (size_t)PAGE_CACHE_SIZE, ret); in ceph_filemap_fault()
1337 if (off + PAGE_CACHE_SIZE <= size) in ceph_page_mkwrite()
1338 len = PAGE_CACHE_SIZE; in ceph_page_mkwrite()
1437 if (len < PAGE_CACHE_SIZE) in ceph_fill_inline_data()
1438 zero_user_segment(page, len, PAGE_CACHE_SIZE); in ceph_fill_inline_data()
1489 if (len > PAGE_CACHE_SIZE) in ceph_uninline_data()
1490 len = PAGE_CACHE_SIZE; in ceph_uninline_data()