Lines Matching refs:clusters

721 					   u32 clusters)  in ocfs2_clusters_to_blocks()  argument
726 return (u64)clusters << c_to_b_bits; in ocfs2_clusters_to_blocks()
752 unsigned int clusters; in ocfs2_clusters_for_bytes() local
756 clusters = (unsigned int)(bytes >> cl_bits); in ocfs2_clusters_for_bytes()
758 return clusters; in ocfs2_clusters_for_bytes()
765 unsigned int clusters; in ocfs2_bytes_to_clusters() local
767 clusters = (unsigned int)(bytes >> cl_bits); in ocfs2_bytes_to_clusters()
768 return clusters; in ocfs2_bytes_to_clusters()
779 u32 clusters) in ocfs2_clusters_to_bytes() argument
781 return (u64)clusters << OCFS2_SB(sb)->s_clustersize_bits; in ocfs2_clusters_to_bytes()
788 unsigned int clusters; in ocfs2_block_to_cluster_start() local
790 clusters = ocfs2_blocks_to_clusters(sb, blocks); in ocfs2_block_to_cluster_start()
791 return (u64)clusters << bits; in ocfs2_block_to_cluster_start()
798 unsigned int clusters; in ocfs2_align_bytes_to_clusters() local
800 clusters = ocfs2_clusters_for_bytes(sb, bytes); in ocfs2_align_bytes_to_clusters()
801 return (u64)clusters << cl_bits; in ocfs2_align_bytes_to_clusters()
821 u32 clusters = pg_index; in ocfs2_page_index_to_clusters() local
825 clusters = pg_index << (PAGE_SHIFT - cbits); in ocfs2_page_index_to_clusters()
827 clusters = pg_index >> (cbits - PAGE_SHIFT); in ocfs2_page_index_to_clusters()
829 return clusters; in ocfs2_page_index_to_clusters()
836 u32 clusters) in ocfs2_align_clusters_to_page_index() argument
839 pgoff_t index = clusters; in ocfs2_align_clusters_to_page_index()
842 index = (pgoff_t)clusters >> (PAGE_SHIFT - cbits); in ocfs2_align_clusters_to_page_index()
844 index = (pgoff_t)clusters << (cbits - PAGE_SHIFT); in ocfs2_align_clusters_to_page_index()
870 unsigned int clusters) in ocfs2_clusters_to_megabytes() argument
872 return clusters >> (20 - OCFS2_SB(sb)->s_clustersize_bits); in ocfs2_clusters_to_megabytes()