Lines Matching refs:PAGE_CACHE_SIZE
237 if (size > PAGE_CACHE_SIZE || in ocfs2_read_inline_data()
250 memset(kaddr + size, 0, PAGE_CACHE_SIZE - size); in ocfs2_read_inline_data()
984 unsigned int cluster_start = 0, cluster_end = PAGE_CACHE_SIZE; in ocfs2_figure_cluster_boundaries()
1157 #if (PAGE_CACHE_SIZE >= OCFS2_MAX_CLUSTERSIZE)
1160 #define OCFS2_MAX_CTXT_PAGES (OCFS2_MAX_CLUSTERSIZE / PAGE_CACHE_SIZE)
1163 #define OCFS2_MAX_CLUSTERS_PER_PAGE (PAGE_CACHE_SIZE / OCFS2_MIN_CLUSTERSIZE)
1361 unsigned from = user_pos & (PAGE_CACHE_SIZE - 1), in ocfs2_write_failure()
1400 map_from = user_pos & (PAGE_CACHE_SIZE - 1); in ocfs2_prepare_page_for_write()
1700 wc->w_target_from = pos & (PAGE_CACHE_SIZE - 1); in ocfs2_set_target_boundaries()
1737 wc->w_target_to = PAGE_CACHE_SIZE; in ocfs2_set_target_boundaries()
2340 unsigned from, to, start = pos & (PAGE_CACHE_SIZE - 1); in ocfs2_write_end_nolock()
2369 BUG_ON(from > PAGE_CACHE_SIZE || in ocfs2_write_end_nolock()
2370 to > PAGE_CACHE_SIZE || in ocfs2_write_end_nolock()
2379 to = PAGE_CACHE_SIZE; in ocfs2_write_end_nolock()