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()
1018 unsigned int cluster_start = 0, cluster_end = PAGE_CACHE_SIZE; in ocfs2_figure_cluster_boundaries()
1191 #if (PAGE_CACHE_SIZE >= OCFS2_MAX_CLUSTERSIZE)
1194 #define OCFS2_MAX_CTXT_PAGES (OCFS2_MAX_CLUSTERSIZE / PAGE_CACHE_SIZE)
1197 #define OCFS2_MAX_CLUSTERS_PER_PAGE (PAGE_CACHE_SIZE / OCFS2_MIN_CLUSTERSIZE)
1395 unsigned from = user_pos & (PAGE_CACHE_SIZE - 1), in ocfs2_write_failure()
1434 map_from = user_pos & (PAGE_CACHE_SIZE - 1); in ocfs2_prepare_page_for_write()
1734 wc->w_target_from = pos & (PAGE_CACHE_SIZE - 1); in ocfs2_set_target_boundaries()
1771 wc->w_target_to = PAGE_CACHE_SIZE; in ocfs2_set_target_boundaries()
2371 unsigned from, to, start = pos & (PAGE_CACHE_SIZE - 1); in ocfs2_write_end_nolock()
2408 BUG_ON(from > PAGE_CACHE_SIZE || in ocfs2_write_end_nolock()
2409 to > PAGE_CACHE_SIZE || in ocfs2_write_end_nolock()
2418 to = PAGE_CACHE_SIZE; in ocfs2_write_end_nolock()