Lines Matching refs:cluster_start
1018 unsigned int cluster_start = 0, cluster_end = PAGE_CACHE_SIZE; in ocfs2_figure_cluster_boundaries() local
1025 cluster_start = cpos % cpp; in ocfs2_figure_cluster_boundaries()
1026 cluster_start = cluster_start << osb->s_clustersize_bits; in ocfs2_figure_cluster_boundaries()
1028 cluster_end = cluster_start + osb->s_clustersize; in ocfs2_figure_cluster_boundaries()
1031 BUG_ON(cluster_start > PAGE_SIZE); in ocfs2_figure_cluster_boundaries()
1035 *start = cluster_start; in ocfs2_figure_cluster_boundaries()
1053 unsigned int cluster_start, cluster_end; in ocfs2_clear_page_regions() local
1055 ocfs2_figure_cluster_boundaries(osb, cpos, &cluster_start, &cluster_end); in ocfs2_clear_page_regions()
1060 if (from > cluster_start) in ocfs2_clear_page_regions()
1061 memset(kaddr + cluster_start, 0, from - cluster_start); in ocfs2_clear_page_regions()
1065 memset(kaddr + cluster_start, 0, cluster_end - cluster_start); in ocfs2_clear_page_regions()
1421 unsigned int cluster_start, cluster_end; in ocfs2_prepare_page_for_write() local
1425 &cluster_start, &cluster_end); in ocfs2_prepare_page_for_write()
1439 cluster_start, cluster_end, in ocfs2_prepare_page_for_write()
1452 map_from = cluster_start; in ocfs2_prepare_page_for_write()
1463 map_from = cluster_start; in ocfs2_prepare_page_for_write()
1467 cluster_start, cluster_end, new); in ocfs2_prepare_page_for_write()