Searched refs:s_clustersize (Results 1 – 13 of 13) sorted by relevance
545 sbi->s_clustersize = be32_to_cpu(omfs_rb->r_clustersize); in omfs_fill_super()563 if (sbi->s_clustersize < 1 || in omfs_fill_super()564 sbi->s_clustersize > OMFS_MAX_CLUSTER_SIZE) { in omfs_fill_super()566 sbi->s_clustersize); in omfs_fill_super()
18 u32 s_clustersize; member
162 ret = omfs_allocate_range(inode->i_sb, 1, sbi->s_clustersize, in omfs_grow_extent()
234 osb->sb->s_blocksize, osb->s_clustersize); in ocfs2_osb_dump()1652 (osb->s_clustersize >> osb->sb->s_blocksize_bits); in ocfs2_statfs()1654 (osb->s_clustersize >> osb->sb->s_blocksize_bits); in ocfs2_statfs()2227 osb->s_clustersize = 1 << osb->s_clustersize_bits; in ocfs2_initialize_super()2229 if (osb->s_clustersize < OCFS2_MIN_CLUSTERSIZE || in ocfs2_initialize_super()2230 osb->s_clustersize > OCFS2_MAX_CLUSTERSIZE) { in ocfs2_initialize_super()2232 osb->s_clustersize); in ocfs2_initialize_super()
524 cluster_end = cluster_start + osb->s_clustersize; in ocfs2_figure_cluster_boundaries()1242 cluster_off = pos & (osb->s_clustersize - 1); in ocfs2_write_cluster_by_desc()1243 if ((cluster_off + local_len) > osb->s_clustersize) in ocfs2_write_cluster_by_desc()1244 local_len = osb->s_clustersize - cluster_off; in ocfs2_write_cluster_by_desc()2147 len = osb->s_clustersize - (pos & (osb->s_clustersize - 1)); in ocfs2_dio_wr_get_block()
342 int s_clustersize; member752 bytes += OCFS2_SB(sb)->s_clustersize - 1; in ocfs2_clusters_for_bytes()
351 if ((offset & (OCFS2_SB(inode->i_sb)->s_clustersize - 1)) == 0) in ocfs2_cow_file_pos()1335 stat->blksize = osb->s_clustersize; in ocfs2_getattr()1528 end = end & ~(osb->s_clustersize - 1); in ocfs2_truncate_cluster_pages()1582 unsigned int csize = osb->s_clustersize; in ocfs2_zero_partial_clusters()1644 tmpend = (u64)osb->s_clustersize + in ocfs2_zero_partial_clusters()1645 (start & ~(osb->s_clustersize - 1)); in ocfs2_zero_partial_clusters()1665 start = end & ~(osb->s_clustersize - 1); in ocfs2_zero_partial_clusters()
119 if ((sb->s_blocksize == 512 && osb->s_clustersize <= 8192) in ocfs2_la_default_mb()120 || (sb->s_blocksize == 1024 && osb->s_clustersize == 4096)) in ocfs2_la_default_mb()
166 oic.ic_clustersize = osb->s_clustersize; in ocfs2_info_handle_clustersize()
516 if ((le16_to_cpu(bg->bg_bits) - goal_bit) * osb->s_clustersize < in ocfs2_validate_and_adjust_move_goal()
3221 OCFS2_SB(inode->i_sb)->s_clustersize) { in ocfs2_calc_xattr_set_need()4525 BUG_ON(OCFS2_XATTR_BUCKET_SIZE == OCFS2_SB(sb)->s_clustersize); in ocfs2_mv_xattr_bucket_cross_cluster()4988 BUG_ON(OCFS2_XATTR_BUCKET_SIZE < OCFS2_SB(inode->i_sb)->s_clustersize); in ocfs2_divide_xattr_cluster()
2955 if (PAGE_SIZE <= OCFS2_SB(sb)->s_clustersize) { in ocfs2_duplicate_clusters_by_page()
7090 osb->s_clustersize); in ocfs2_convert_inline_data_to_extents()