Lines Matching refs:OCFS2_SB
486 #define OCFS2_SB(sb) ((struct ocfs2_super *)(sb)->s_fs_info) macro
497 if (OCFS2_SB(inode->i_sb)->s_mount_opt & OCFS2_MOUNT_DATA_WRITEBACK) in ocfs2_should_order_data()
733 int c_to_b_bits = OCFS2_SB(sb)->s_clustersize_bits - in ocfs2_clusters_to_blocks()
742 int b_to_c_bits = OCFS2_SB(sb)->s_clustersize_bits - in ocfs2_clusters_for_blocks()
752 int b_to_c_bits = OCFS2_SB(sb)->s_clustersize_bits - in ocfs2_blocks_to_clusters()
761 int cl_bits = OCFS2_SB(sb)->s_clustersize_bits; in ocfs2_clusters_for_bytes()
764 bytes += OCFS2_SB(sb)->s_clustersize - 1; in ocfs2_clusters_for_bytes()
774 int cl_bits = OCFS2_SB(sb)->s_clustersize_bits; in ocfs2_bytes_to_clusters()
791 return (u64)clusters << OCFS2_SB(sb)->s_clustersize_bits; in ocfs2_clusters_to_bytes()
797 int bits = OCFS2_SB(sb)->s_clustersize_bits - sb->s_blocksize_bits; in ocfs2_block_to_cluster_start()
807 int cl_bits = OCFS2_SB(sb)->s_clustersize_bits; in ocfs2_align_bytes_to_clusters()
832 unsigned int cbits = OCFS2_SB(sb)->s_clustersize_bits; in ocfs2_page_index_to_clusters()
848 unsigned int cbits = OCFS2_SB(sb)->s_clustersize_bits; in ocfs2_align_clusters_to_page_index()
862 unsigned int cbits = OCFS2_SB(sb)->s_clustersize_bits; in ocfs2_pages_per_cluster()
876 return megs << (20 - OCFS2_SB(sb)->s_clustersize_bits); in ocfs2_megabytes_to_clusters()
882 return clusters >> (20 - OCFS2_SB(sb)->s_clustersize_bits); in ocfs2_clusters_to_megabytes()