Lines Matching refs:cluster_end
511 unsigned int cluster_start = 0, cluster_end = PAGE_SIZE; in ocfs2_figure_cluster_boundaries() local
521 cluster_end = cluster_start + osb->s_clustersize; in ocfs2_figure_cluster_boundaries()
525 BUG_ON(cluster_end > PAGE_SIZE); in ocfs2_figure_cluster_boundaries()
530 *end = cluster_end; 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()
555 if (to < cluster_end) in ocfs2_clear_page_regions()
556 memset(kaddr + to, 0, cluster_end - to); 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()
980 map_to = cluster_end; in ocfs2_prepare_page_for_write()
991 map_to = cluster_end; in ocfs2_prepare_page_for_write()
994 cluster_start, cluster_end, new); in ocfs2_prepare_page_for_write()