Searched refs:s_clustersize_bits (Results 1 – 12 of 12) sorted by relevance
365 int s_clustersize_bits; member745 int c_to_b_bits = OCFS2_SB(sb)->s_clustersize_bits - in ocfs2_clusters_to_blocks()754 int b_to_c_bits = OCFS2_SB(sb)->s_clustersize_bits - in ocfs2_clusters_for_blocks()764 int b_to_c_bits = OCFS2_SB(sb)->s_clustersize_bits - in ocfs2_blocks_to_clusters()773 int cl_bits = OCFS2_SB(sb)->s_clustersize_bits; in ocfs2_clusters_for_bytes()786 int cl_bits = OCFS2_SB(sb)->s_clustersize_bits; in ocfs2_bytes_to_clusters()819 int cl_bits = OCFS2_SB(sb)->s_clustersize_bits; in ocfs2_align_bytes_to_clusters()844 unsigned int cbits = OCFS2_SB(sb)->s_clustersize_bits; in ocfs2_page_index_to_clusters()860 unsigned int cbits = OCFS2_SB(sb)->s_clustersize_bits; in ocfs2_align_clusters_to_page_index()874 unsigned int cbits = OCFS2_SB(sb)->s_clustersize_bits; in ocfs2_pages_per_cluster()[all …]
766 cpos = map_start >> osb->s_clustersize_bits; in ocfs2_fiemap()792 len_bytes = (u64)le16_to_cpu(rec.e_leaf_clusters) << osb->s_clustersize_bits; in ocfs2_fiemap()794 virt_bytes = (u64)le32_to_cpu(rec.e_cpos) << osb->s_clustersize_bits; in ocfs2_fiemap()834 cpos = map_start >> osb->s_clustersize_bits; in ocfs2_overwrite_io()867 u16 cs_bits = OCFS2_SB(inode->i_sb)->s_clustersize_bits; in ocfs2_seek_data_hole_offset()
145 int c_to_s_bits = OCFS2_SB(inode->i_sb)->s_clustersize_bits - 9; in ocfs2_inode_sector_count()
397 bits_per_unit = osb->s_clustersize_bits - in ocfs2_find_victim_alloc_group()473 int c_to_b = 1 << (osb->s_clustersize_bits - in ocfs2_validate_and_adjust_move_goal()796 osb->s_clustersize_bits; in __ocfs2_move_extents_range()803 defrag_thresh = range->me_threshold >> osb->s_clustersize_bits; in __ocfs2_move_extents_range()
1514 local_alloc_megs = osb->local_alloc_bits >> (20 - osb->s_clustersize_bits); in ocfs2_show_options()2029 cbits = le32_to_cpu(di->id2.i_super.s_clustersize_bits); in ocfs2_initialize_super()2197 osb->s_clustersize_bits = in ocfs2_initialize_super()2198 le32_to_cpu(di->id2.i_super.s_clustersize_bits); in ocfs2_initialize_super()2199 osb->s_clustersize = 1 << osb->s_clustersize_bits; in ocfs2_initialize_super()2239 osb->s_clustersize_bits); in ocfs2_initialize_super()2359 } else if (le32_to_cpu(di->id2.i_super.s_clustersize_bits) < 12 || in ocfs2_verify_volume()2360 le32_to_cpu(di->id2.i_super.s_clustersize_bits) > 20) { in ocfs2_verify_volume()2362 1 << le32_to_cpu(di->id2.i_super.s_clustersize_bits)); in ocfs2_verify_volume()
512 if (unlikely(PAGE_SHIFT > osb->s_clustersize_bits)) { in ocfs2_figure_cluster_boundaries()515 cpp = 1 << (PAGE_SHIFT - osb->s_clustersize_bits); in ocfs2_figure_cluster_boundaries()518 cluster_start = cluster_start << osb->s_clustersize_bits; in ocfs2_figure_cluster_boundaries()848 wc->w_cpos = pos >> osb->s_clustersize_bits; in ocfs2_alloc_write_ctxt()850 cend = (pos + len - 1) >> osb->s_clustersize_bits; in ocfs2_alloc_write_ctxt()856 if (unlikely(PAGE_SHIFT > osb->s_clustersize_bits)) in ocfs2_alloc_write_ctxt()
149 le64_add_cpu(&fe->i_size, (u64)new_clusters << osb->s_clustersize_bits); in ocfs2_update_last_group_and_inode()559 le64_add_cpu(&fe->i_size, (u64)input->clusters << osb->s_clustersize_bits); in ocfs2_group_add()
344 u32 phys, cpos = offset >> OCFS2_SB(inode->i_sb)->s_clustersize_bits; in ocfs2_cow_file_pos()865 zero_start >> OCFS2_SB(inode->i_sb)->s_clustersize_bits; in ocfs2_zero_extend_get_range()1468 cpos = start >> OCFS2_SB(inode->i_sb)->s_clustersize_bits; in ocfs2_allocate_unwritten_extents()1835 trunc_end = (byte_start + byte_len) >> osb->s_clustersize_bits; in ocfs2_remove_inode_range()2154 cpos = pos >> OCFS2_SB(sb)->s_clustersize_bits; in ocfs2_check_range_for_refcount()2336 cpos = pos >> OCFS2_SB(inode->i_sb)->s_clustersize_bits; in ocfs2_prepare_inode_for_write()
600 __le32 s_clustersize_bits; /* Clustersize for this fs */ member
2921 offset = ((loff_t)cpos) << OCFS2_SB(sb)->s_clustersize_bits; in ocfs2_duplicate_clusters_by_page()2922 end = offset + (new_len << OCFS2_SB(sb)->s_clustersize_bits); in ocfs2_duplicate_clusters_by_page()3157 start = ((loff_t)cpos) << OCFS2_SB(sb)->s_clustersize_bits; in ocfs2_cow_sync_writeback()3158 end = start + (num_clusters << OCFS2_SB(sb)->s_clustersize_bits) - 1; in ocfs2_cow_sync_writeback()
6919 BUG_ON(start >> OCFS2_SB(sb)->s_clustersize_bits != in ocfs2_grab_eof_pages()6920 (end - 1) >> OCFS2_SB(sb)->s_clustersize_bits); in ocfs2_grab_eof_pages()7538 start = range->start >> osb->s_clustersize_bits; in ocfs2_trim_mainbm()7539 len = range->len >> osb->s_clustersize_bits; in ocfs2_trim_mainbm()7540 minlen = range->minlen >> osb->s_clustersize_bits; in ocfs2_trim_mainbm()
304 return (1 << osb->s_clustersize_bits) / OCFS2_XATTR_BUCKET_SIZE; in ocfs2_xattr_buckets_per_cluster()5143 (prev_clusters + num_bits) << osb->s_clustersize_bits <= in ocfs2_add_new_xattr_cluster()