Searched refs:s_clustersize (Results 1 – 13 of 13) sorted by relevance
542 sbi->s_clustersize = be32_to_cpu(omfs_rb->r_clustersize); in omfs_fill_super()560 if (sbi->s_clustersize < 1 || in omfs_fill_super()561 sbi->s_clustersize > OMFS_MAX_CLUSTER_SIZE) { in omfs_fill_super()563 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()
231 osb->sb->s_blocksize, osb->s_clustersize); in ocfs2_osb_dump()1648 (osb->s_clustersize >> osb->sb->s_blocksize_bits); in ocfs2_statfs()1650 (osb->s_clustersize >> osb->sb->s_blocksize_bits); in ocfs2_statfs()2196 osb->s_clustersize = 1 << osb->s_clustersize_bits; in ocfs2_initialize_super()2198 if (osb->s_clustersize < OCFS2_MIN_CLUSTERSIZE || in ocfs2_initialize_super()2199 osb->s_clustersize > OCFS2_MAX_CLUSTERSIZE) { in ocfs2_initialize_super()2201 osb->s_clustersize); in ocfs2_initialize_super()
517 cluster_end = cluster_start + osb->s_clustersize; in ocfs2_figure_cluster_boundaries()1235 cluster_off = pos & (osb->s_clustersize - 1); in ocfs2_write_cluster_by_desc()1236 if ((cluster_off + local_len) > osb->s_clustersize) in ocfs2_write_cluster_by_desc()1237 local_len = osb->s_clustersize - cluster_off; in ocfs2_write_cluster_by_desc()2155 len = osb->s_clustersize - (pos & (osb->s_clustersize - 1)); in ocfs2_dio_wr_get_block()
353 if ((offset & (OCFS2_SB(inode->i_sb)->s_clustersize - 1)) == 0) in ocfs2_cow_file_pos()1334 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()
364 int s_clustersize; member776 bytes += OCFS2_SB(sb)->s_clustersize - 1; in ocfs2_clusters_for_bytes()
117 if ((sb->s_blocksize == 512 && osb->s_clustersize <= 8192) in ocfs2_la_default_mb()118 || (sb->s_blocksize == 1024 && osb->s_clustersize == 4096)) in ocfs2_la_default_mb()
171 oic.ic_clustersize = osb->s_clustersize; in ocfs2_info_handle_clustersize()
504 if ((le16_to_cpu(bg->bg_bits) - goal_bit) * osb->s_clustersize < in ocfs2_validate_and_adjust_move_goal()
3223 OCFS2_SB(inode->i_sb)->s_clustersize) { in ocfs2_calc_xattr_set_need()4518 BUG_ON(OCFS2_XATTR_BUCKET_SIZE == OCFS2_SB(sb)->s_clustersize); in ocfs2_mv_xattr_bucket_cross_cluster()4981 BUG_ON(OCFS2_XATTR_BUCKET_SIZE < OCFS2_SB(inode->i_sb)->s_clustersize); in ocfs2_divide_xattr_cluster()
7102 osb->s_clustersize); in ocfs2_convert_inline_data_to_extents()7652 range->len = trimmed * osb->s_clustersize; in ocfs2_trim_mainbm()
2947 if (PAGE_SIZE <= OCFS2_SB(sb)->s_clustersize) { in ocfs2_duplicate_clusters_by_page()