Lines Matching refs:cluster_start
511 unsigned int cluster_start = 0, cluster_end = PAGE_SIZE; in ocfs2_figure_cluster_boundaries() local
518 cluster_start = cpos % cpp; in ocfs2_figure_cluster_boundaries()
519 cluster_start = cluster_start << osb->s_clustersize_bits; in ocfs2_figure_cluster_boundaries()
521 cluster_end = cluster_start + osb->s_clustersize; in ocfs2_figure_cluster_boundaries()
524 BUG_ON(cluster_start > PAGE_SIZE); in ocfs2_figure_cluster_boundaries()
528 *start = cluster_start; in ocfs2_figure_cluster_boundaries()
546 unsigned int cluster_start, cluster_end; in ocfs2_clear_page_regions() local
548 ocfs2_figure_cluster_boundaries(osb, cpos, &cluster_start, &cluster_end); in ocfs2_clear_page_regions()
553 if (from > cluster_start) in ocfs2_clear_page_regions()
554 memset(kaddr + cluster_start, 0, from - cluster_start); in ocfs2_clear_page_regions()
558 memset(kaddr + cluster_start, 0, cluster_end - cluster_start); in ocfs2_clear_page_regions()
948 unsigned int cluster_start, cluster_end; in ocfs2_prepare_page_for_write() local
952 &cluster_start, &cluster_end); in ocfs2_prepare_page_for_write()
966 cluster_start, cluster_end, in ocfs2_prepare_page_for_write()
979 map_from = cluster_start; in ocfs2_prepare_page_for_write()
990 map_from = cluster_start; in ocfs2_prepare_page_for_write()
994 cluster_start, cluster_end, new); in ocfs2_prepare_page_for_write()