Lines Matching refs:cluster_start
523 unsigned int cluster_start = 0, cluster_end = PAGE_SIZE; in ocfs2_figure_cluster_boundaries() local
530 cluster_start = cpos % cpp; in ocfs2_figure_cluster_boundaries()
531 cluster_start = cluster_start << osb->s_clustersize_bits; in ocfs2_figure_cluster_boundaries()
533 cluster_end = cluster_start + osb->s_clustersize; in ocfs2_figure_cluster_boundaries()
536 BUG_ON(cluster_start > PAGE_SIZE); in ocfs2_figure_cluster_boundaries()
540 *start = cluster_start; in ocfs2_figure_cluster_boundaries()
558 unsigned int cluster_start, cluster_end; in ocfs2_clear_page_regions() local
560 ocfs2_figure_cluster_boundaries(osb, cpos, &cluster_start, &cluster_end); in ocfs2_clear_page_regions()
565 if (from > cluster_start) in ocfs2_clear_page_regions()
566 memset(kaddr + cluster_start, 0, from - cluster_start); in ocfs2_clear_page_regions()
570 memset(kaddr + cluster_start, 0, cluster_end - cluster_start); in ocfs2_clear_page_regions()
961 unsigned int cluster_start, cluster_end; in ocfs2_prepare_page_for_write() local
965 &cluster_start, &cluster_end); in ocfs2_prepare_page_for_write()
979 cluster_start, cluster_end, in ocfs2_prepare_page_for_write()
992 map_from = cluster_start; in ocfs2_prepare_page_for_write()
1003 map_from = cluster_start; in ocfs2_prepare_page_for_write()
1007 cluster_start, cluster_end, new); in ocfs2_prepare_page_for_write()