Searched refs:s_clustersize_bits (Results 1 – 12 of 12) sorted by relevance
355 int s_clustersize_bits; member733 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()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()[all …]
784 cpos = map_start >> osb->s_clustersize_bits; in ocfs2_fiemap()810 len_bytes = (u64)le16_to_cpu(rec.e_leaf_clusters) << osb->s_clustersize_bits; in ocfs2_fiemap()812 virt_bytes = (u64)le32_to_cpu(rec.e_cpos) << osb->s_clustersize_bits; in ocfs2_fiemap()852 cpos = map_start >> osb->s_clustersize_bits; in ocfs2_overwrite_io()885 u16 cs_bits = OCFS2_SB(inode->i_sb)->s_clustersize_bits; in ocfs2_seek_data_hole_offset()
161 int c_to_s_bits = OCFS2_SB(inode->i_sb)->s_clustersize_bits - 9; in ocfs2_inode_sector_count()
407 bits_per_unit = osb->s_clustersize_bits - in ocfs2_find_victim_alloc_group()483 int c_to_b = 1 << (osb->s_clustersize_bits - in ocfs2_validate_and_adjust_move_goal()806 osb->s_clustersize_bits; in __ocfs2_move_extents_range()813 defrag_thresh = range->me_threshold >> osb->s_clustersize_bits; in __ocfs2_move_extents_range()
1569 local_alloc_megs = osb->local_alloc_bits >> (20 - osb->s_clustersize_bits); in ocfs2_show_options()2081 cbits = le32_to_cpu(di->id2.i_super.s_clustersize_bits); in ocfs2_initialize_super()2271 osb->s_clustersize_bits = in ocfs2_initialize_super()2272 le32_to_cpu(di->id2.i_super.s_clustersize_bits); in ocfs2_initialize_super()2273 osb->s_clustersize = 1 << osb->s_clustersize_bits; in ocfs2_initialize_super()2313 osb->s_clustersize_bits); in ocfs2_initialize_super()2411 } else if (le32_to_cpu(di->id2.i_super.s_clustersize_bits) < 12 || in ocfs2_verify_volume()2412 le32_to_cpu(di->id2.i_super.s_clustersize_bits) > 20) { in ocfs2_verify_volume()2414 1 << le32_to_cpu(di->id2.i_super.s_clustersize_bits)); in ocfs2_verify_volume()
538 if (unlikely(PAGE_SHIFT > osb->s_clustersize_bits)) { in ocfs2_figure_cluster_boundaries()541 cpp = 1 << (PAGE_SHIFT - osb->s_clustersize_bits); in ocfs2_figure_cluster_boundaries()544 cluster_start = cluster_start << osb->s_clustersize_bits; in ocfs2_figure_cluster_boundaries()875 wc->w_cpos = pos >> osb->s_clustersize_bits; in ocfs2_alloc_write_ctxt()877 cend = (pos + len - 1) >> osb->s_clustersize_bits; in ocfs2_alloc_write_ctxt()883 if (unlikely(PAGE_SHIFT > osb->s_clustersize_bits)) in ocfs2_alloc_write_ctxt()
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()
356 u32 phys, cpos = offset >> OCFS2_SB(inode->i_sb)->s_clustersize_bits; in ocfs2_cow_file_pos()881 zero_start >> OCFS2_SB(inode->i_sb)->s_clustersize_bits; in ocfs2_zero_extend_get_range()1477 cpos = start >> OCFS2_SB(inode->i_sb)->s_clustersize_bits; in ocfs2_allocate_unwritten_extents()1836 trunc_end = (byte_start + byte_len) >> osb->s_clustersize_bits; in ocfs2_remove_inode_range()2153 cpos = pos >> OCFS2_SB(sb)->s_clustersize_bits; in ocfs2_check_range_for_refcount()2338 cpos = pos >> OCFS2_SB(inode->i_sb)->s_clustersize_bits; in ocfs2_prepare_inode_for_write()
641 __le32 s_clustersize_bits; /* Clustersize for this fs */ member
6920 BUG_ON(start >> OCFS2_SB(sb)->s_clustersize_bits != in ocfs2_grab_eof_pages()6921 (end - 1) >> OCFS2_SB(sb)->s_clustersize_bits); in ocfs2_grab_eof_pages()7534 start = range->start >> osb->s_clustersize_bits; in ocfs2_trim_fs()7535 len = range->len >> osb->s_clustersize_bits; in ocfs2_trim_fs()7536 minlen = range->minlen >> osb->s_clustersize_bits; in ocfs2_trim_fs()7564 len = range->len >> osb->s_clustersize_bits; in ocfs2_trim_fs()
2928 offset = ((loff_t)cpos) << OCFS2_SB(sb)->s_clustersize_bits; in ocfs2_duplicate_clusters_by_page()2929 end = offset + (new_len << OCFS2_SB(sb)->s_clustersize_bits); in ocfs2_duplicate_clusters_by_page()3163 offset = ((loff_t)cpos) << OCFS2_SB(sb)->s_clustersize_bits; in ocfs2_cow_sync_writeback()3164 end = offset + (num_clusters << OCFS2_SB(sb)->s_clustersize_bits); in ocfs2_cow_sync_writeback()
318 return (1 << osb->s_clustersize_bits) / OCFS2_XATTR_BUCKET_SIZE; in ocfs2_xattr_buckets_per_cluster()5149 (prev_clusters + num_bits) << osb->s_clustersize_bits <= in ocfs2_add_new_xattr_cluster()