Lines Matching refs:cluster_start
512 unsigned int cluster_start = 0, cluster_end = PAGE_SIZE; in ocfs2_figure_cluster_boundaries() local
519 cluster_start = cpos % cpp; in ocfs2_figure_cluster_boundaries()
520 cluster_start = cluster_start << osb->s_clustersize_bits; in ocfs2_figure_cluster_boundaries()
522 cluster_end = cluster_start + osb->s_clustersize; in ocfs2_figure_cluster_boundaries()
525 BUG_ON(cluster_start > PAGE_SIZE); in ocfs2_figure_cluster_boundaries()
529 *start = cluster_start; in ocfs2_figure_cluster_boundaries()
547 unsigned int cluster_start, cluster_end; in ocfs2_clear_page_regions() local
549 ocfs2_figure_cluster_boundaries(osb, cpos, &cluster_start, &cluster_end); in ocfs2_clear_page_regions()
554 if (from > cluster_start) in ocfs2_clear_page_regions()
555 memset(kaddr + cluster_start, 0, from - cluster_start); in ocfs2_clear_page_regions()
559 memset(kaddr + cluster_start, 0, cluster_end - cluster_start); in ocfs2_clear_page_regions()
949 unsigned int cluster_start, cluster_end; in ocfs2_prepare_page_for_write() local
953 &cluster_start, &cluster_end); in ocfs2_prepare_page_for_write()
967 cluster_start, cluster_end, in ocfs2_prepare_page_for_write()
980 map_from = cluster_start; in ocfs2_prepare_page_for_write()
991 map_from = cluster_start; in ocfs2_prepare_page_for_write()
995 cluster_start, cluster_end, new); in ocfs2_prepare_page_for_write()