Lines Matching refs:PAGE_CACHE_SIZE

146 	if (offset != 0 || length != PAGE_CACHE_SIZE) {  in ceph_invalidatepage()
200 u64 len = PAGE_CACHE_SIZE; in readpage_nounlock()
203 zero_user_segment(page, 0, PAGE_CACHE_SIZE); in readpage_nounlock()
215 zero_user_segment(page, 0, PAGE_CACHE_SIZE); in readpage_nounlock()
237 if (err < PAGE_CACHE_SIZE) in readpage_nounlock()
239 zero_user_segment(page, err, PAGE_CACHE_SIZE); in readpage_nounlock()
281 if (bytes < (int)PAGE_CACHE_SIZE) { in finish_read()
284 zero_user_segment(page, s, PAGE_CACHE_SIZE); in finish_read()
294 bytes -= PAGE_CACHE_SIZE; in finish_read()
418 if (fsc->mount_options->rsize >= PAGE_CACHE_SIZE) in ceph_readpages()
419 max = (fsc->mount_options->rsize + PAGE_CACHE_SIZE - 1) in ceph_readpages()
487 int err = 0, len = PAGE_CACHE_SIZE; in writepage_nounlock()
728 if (wsize < PAGE_CACHE_SIZE) in ceph_writepages_start()
729 wsize = PAGE_CACHE_SIZE; in ceph_writepages_start()
1107 if (pos_in_page == 0 && len == PAGE_CACHE_SIZE) in ceph_update_writeable_page()
1115 end_in_page - pos_in_page != PAGE_CACHE_SIZE)) { in ceph_update_writeable_page()
1117 page, pos_in_page, end_in_page, (int)PAGE_CACHE_SIZE); in ceph_update_writeable_page()
1120 end_in_page, PAGE_CACHE_SIZE); in ceph_update_writeable_page()
1176 unsigned from = pos & (PAGE_CACHE_SIZE - 1); in ceph_write_end()
1244 inode, ceph_vinop(inode), off, (size_t)PAGE_CACHE_SIZE); in ceph_filemap_fault()
1261 inode, off, (size_t)PAGE_CACHE_SIZE, ceph_cap_string(got)); in ceph_filemap_fault()
1270 inode, off, (size_t)PAGE_CACHE_SIZE, ceph_cap_string(got), ret); in ceph_filemap_fault()
1279 if (off >= PAGE_CACHE_SIZE) { in ceph_filemap_fault()
1300 if (ret1 < PAGE_CACHE_SIZE) in ceph_filemap_fault()
1301 zero_user_segment(page, ret1, PAGE_CACHE_SIZE); in ceph_filemap_fault()
1310 inode, off, (size_t)PAGE_CACHE_SIZE, ret); in ceph_filemap_fault()
1348 if (off + PAGE_CACHE_SIZE <= size) in ceph_page_mkwrite()
1349 len = PAGE_CACHE_SIZE; in ceph_page_mkwrite()
1452 if (len < PAGE_CACHE_SIZE) in ceph_fill_inline_data()
1453 zero_user_segment(page, len, PAGE_CACHE_SIZE); in ceph_fill_inline_data()
1504 if (len > PAGE_CACHE_SIZE) in ceph_uninline_data()
1505 len = PAGE_CACHE_SIZE; in ceph_uninline_data()