Searched refs:s_clustersize_bits (Results 1 – 12 of 12) sorted by relevance
354 int s_clustersize_bits; member725 int c_to_b_bits = OCFS2_SB(sb)->s_clustersize_bits - in ocfs2_clusters_to_blocks()734 int b_to_c_bits = OCFS2_SB(sb)->s_clustersize_bits - in ocfs2_clusters_for_blocks()744 int b_to_c_bits = OCFS2_SB(sb)->s_clustersize_bits - in ocfs2_blocks_to_clusters()753 int cl_bits = OCFS2_SB(sb)->s_clustersize_bits; in ocfs2_clusters_for_bytes()766 int cl_bits = OCFS2_SB(sb)->s_clustersize_bits; in ocfs2_bytes_to_clusters()783 return (u64)clusters << OCFS2_SB(sb)->s_clustersize_bits; in ocfs2_clusters_to_bytes()789 int bits = OCFS2_SB(sb)->s_clustersize_bits - sb->s_blocksize_bits; in ocfs2_block_to_cluster_start()799 int cl_bits = OCFS2_SB(sb)->s_clustersize_bits; in ocfs2_align_bytes_to_clusters()824 unsigned int cbits = OCFS2_SB(sb)->s_clustersize_bits; in ocfs2_page_index_to_clusters()[all …]
783 cpos = map_start >> osb->s_clustersize_bits; in ocfs2_fiemap()809 len_bytes = (u64)le16_to_cpu(rec.e_leaf_clusters) << osb->s_clustersize_bits; in ocfs2_fiemap()811 virt_bytes = (u64)le32_to_cpu(rec.e_cpos) << osb->s_clustersize_bits; in ocfs2_fiemap()840 u16 cs_bits = OCFS2_SB(inode->i_sb)->s_clustersize_bits; in ocfs2_seek_data_hole_offset()
399 bits_per_unit = osb->s_clustersize_bits - in ocfs2_find_victim_alloc_group()475 int c_to_b = 1 << (osb->s_clustersize_bits - in ocfs2_validate_and_adjust_move_goal()799 osb->s_clustersize_bits; in __ocfs2_move_extents_range()806 defrag_thresh = range->me_threshold >> osb->s_clustersize_bits; in __ocfs2_move_extents_range()
1553 local_alloc_megs = osb->local_alloc_bits >> (20 - osb->s_clustersize_bits); in ocfs2_show_options()2062 cbits = le32_to_cpu(di->id2.i_super.s_clustersize_bits); in ocfs2_initialize_super()2247 osb->s_clustersize_bits = in ocfs2_initialize_super()2248 le32_to_cpu(di->id2.i_super.s_clustersize_bits); in ocfs2_initialize_super()2249 osb->s_clustersize = 1 << osb->s_clustersize_bits; in ocfs2_initialize_super()2289 osb->s_clustersize_bits); in ocfs2_initialize_super()2387 } else if (le32_to_cpu(di->id2.i_super.s_clustersize_bits) < 12 || in ocfs2_verify_volume()2388 le32_to_cpu(di->id2.i_super.s_clustersize_bits) > 20) { in ocfs2_verify_volume()2390 1 << le32_to_cpu(di->id2.i_super.s_clustersize_bits)); in ocfs2_verify_volume()
161 int c_to_s_bits = OCFS2_SB(inode->i_sb)->s_clustersize_bits - 9; in ocfs2_inode_sector_count()
516 if (unlikely(PAGE_SHIFT > osb->s_clustersize_bits)) { in ocfs2_figure_cluster_boundaries()519 cpp = 1 << (PAGE_SHIFT - osb->s_clustersize_bits); in ocfs2_figure_cluster_boundaries()522 cluster_start = cluster_start << osb->s_clustersize_bits; in ocfs2_figure_cluster_boundaries()852 wc->w_cpos = pos >> osb->s_clustersize_bits; in ocfs2_alloc_write_ctxt()854 cend = (pos + len - 1) >> osb->s_clustersize_bits; in ocfs2_alloc_write_ctxt()860 if (unlikely(PAGE_SHIFT > osb->s_clustersize_bits)) in ocfs2_alloc_write_ctxt()
354 u32 phys, cpos = offset >> OCFS2_SB(inode->i_sb)->s_clustersize_bits; in ocfs2_cow_file_pos()882 zero_start >> OCFS2_SB(inode->i_sb)->s_clustersize_bits; in ocfs2_zero_extend_get_range()1443 cpos = start >> OCFS2_SB(inode->i_sb)->s_clustersize_bits; in ocfs2_allocate_unwritten_extents()1743 trunc_end = (byte_start + byte_len) >> osb->s_clustersize_bits; in ocfs2_remove_inode_range()2048 cpos = pos >> OCFS2_SB(sb)->s_clustersize_bits; in ocfs2_check_range_for_refcount()2091 u32 cpos = pos >> OCFS2_SB(inode->i_sb)->s_clustersize_bits; in ocfs2_prepare_inode_for_refcount()
165 le64_add_cpu(&fe->i_size, (u64)new_clusters << osb->s_clustersize_bits); in ocfs2_update_last_group_and_inode()575 le64_add_cpu(&fe->i_size, (u64)input->clusters << osb->s_clustersize_bits); in ocfs2_group_add()
2930 offset = ((loff_t)cpos) << OCFS2_SB(sb)->s_clustersize_bits; in ocfs2_duplicate_clusters_by_page()2931 end = offset + (new_len << OCFS2_SB(sb)->s_clustersize_bits); in ocfs2_duplicate_clusters_by_page()3157 offset = ((loff_t)cpos) << OCFS2_SB(sb)->s_clustersize_bits; in ocfs2_cow_sync_writeback()3158 end = offset + (num_clusters << OCFS2_SB(sb)->s_clustersize_bits); in ocfs2_cow_sync_writeback()
642 __le32 s_clustersize_bits; /* Clustersize for this fs */ member
6763 BUG_ON(start >> OCFS2_SB(sb)->s_clustersize_bits != in ocfs2_grab_eof_pages()6764 (end - 1) >> OCFS2_SB(sb)->s_clustersize_bits); in ocfs2_grab_eof_pages()7394 start = range->start >> osb->s_clustersize_bits; in ocfs2_trim_fs()7395 len = range->len >> osb->s_clustersize_bits; in ocfs2_trim_fs()7396 minlen = range->minlen >> osb->s_clustersize_bits; in ocfs2_trim_fs()7424 len = range->len >> osb->s_clustersize_bits; in ocfs2_trim_fs()
318 return (1 << osb->s_clustersize_bits) / OCFS2_XATTR_BUCKET_SIZE; in ocfs2_xattr_buckets_per_cluster()5146 (prev_clusters + num_bits) << osb->s_clustersize_bits <= in ocfs2_add_new_xattr_cluster()