Lines Matching refs:cluster_start
984 unsigned int cluster_start = 0, cluster_end = PAGE_CACHE_SIZE; in ocfs2_figure_cluster_boundaries() local
991 cluster_start = cpos % cpp; in ocfs2_figure_cluster_boundaries()
992 cluster_start = cluster_start << osb->s_clustersize_bits; in ocfs2_figure_cluster_boundaries()
994 cluster_end = cluster_start + osb->s_clustersize; in ocfs2_figure_cluster_boundaries()
997 BUG_ON(cluster_start > PAGE_SIZE); in ocfs2_figure_cluster_boundaries()
1001 *start = cluster_start; in ocfs2_figure_cluster_boundaries()
1019 unsigned int cluster_start, cluster_end; in ocfs2_clear_page_regions() local
1021 ocfs2_figure_cluster_boundaries(osb, cpos, &cluster_start, &cluster_end); in ocfs2_clear_page_regions()
1026 if (from > cluster_start) in ocfs2_clear_page_regions()
1027 memset(kaddr + cluster_start, 0, from - cluster_start); in ocfs2_clear_page_regions()
1031 memset(kaddr + cluster_start, 0, cluster_end - cluster_start); in ocfs2_clear_page_regions()
1387 unsigned int cluster_start, cluster_end; in ocfs2_prepare_page_for_write() local
1391 &cluster_start, &cluster_end); in ocfs2_prepare_page_for_write()
1405 cluster_start, cluster_end, in ocfs2_prepare_page_for_write()
1418 map_from = cluster_start; in ocfs2_prepare_page_for_write()
1429 map_from = cluster_start; in ocfs2_prepare_page_for_write()
1433 cluster_start, cluster_end, new); in ocfs2_prepare_page_for_write()