Lines Matching refs:cluster_start
507 unsigned int cluster_start = 0, cluster_end = PAGE_SIZE; in ocfs2_figure_cluster_boundaries() local
514 cluster_start = cpos % cpp; in ocfs2_figure_cluster_boundaries()
515 cluster_start = cluster_start << osb->s_clustersize_bits; in ocfs2_figure_cluster_boundaries()
517 cluster_end = cluster_start + osb->s_clustersize; in ocfs2_figure_cluster_boundaries()
520 BUG_ON(cluster_start > PAGE_SIZE); in ocfs2_figure_cluster_boundaries()
524 *start = cluster_start; in ocfs2_figure_cluster_boundaries()
542 unsigned int cluster_start, cluster_end; in ocfs2_clear_page_regions() local
544 ocfs2_figure_cluster_boundaries(osb, cpos, &cluster_start, &cluster_end); in ocfs2_clear_page_regions()
549 if (from > cluster_start) in ocfs2_clear_page_regions()
550 memset(kaddr + cluster_start, 0, from - cluster_start); in ocfs2_clear_page_regions()
554 memset(kaddr + cluster_start, 0, cluster_end - cluster_start); in ocfs2_clear_page_regions()
945 unsigned int cluster_start, cluster_end; in ocfs2_prepare_page_for_write() local
949 &cluster_start, &cluster_end); in ocfs2_prepare_page_for_write()
963 cluster_start, cluster_end, in ocfs2_prepare_page_for_write()
976 map_from = cluster_start; in ocfs2_prepare_page_for_write()
987 map_from = cluster_start; in ocfs2_prepare_page_for_write()
991 cluster_start, cluster_end, new); in ocfs2_prepare_page_for_write()