Searched refs:s_clustersize_bits (Results 1 – 12 of 12) sorted by relevance
339 int s_clustersize_bits; member694 int c_to_b_bits = OCFS2_SB(sb)->s_clustersize_bits - in ocfs2_clusters_to_blocks()703 int b_to_c_bits = OCFS2_SB(sb)->s_clustersize_bits - in ocfs2_blocks_to_clusters()712 int cl_bits = OCFS2_SB(sb)->s_clustersize_bits; in ocfs2_clusters_for_bytes()732 return (u64)clusters << OCFS2_SB(sb)->s_clustersize_bits; in ocfs2_clusters_to_bytes()738 int bits = OCFS2_SB(sb)->s_clustersize_bits - sb->s_blocksize_bits; in ocfs2_block_to_cluster_start()748 int cl_bits = OCFS2_SB(sb)->s_clustersize_bits; in ocfs2_align_bytes_to_clusters()773 unsigned int cbits = OCFS2_SB(sb)->s_clustersize_bits; in ocfs2_page_index_to_clusters()789 unsigned int cbits = OCFS2_SB(sb)->s_clustersize_bits; in ocfs2_align_clusters_to_page_index()803 unsigned int cbits = OCFS2_SB(sb)->s_clustersize_bits; in ocfs2_pages_per_cluster()[all …]
781 cpos = map_start >> osb->s_clustersize_bits; in ocfs2_fiemap()807 len_bytes = (u64)le16_to_cpu(rec.e_leaf_clusters) << osb->s_clustersize_bits; in ocfs2_fiemap()809 virt_bytes = (u64)le32_to_cpu(rec.e_cpos) << osb->s_clustersize_bits; in ocfs2_fiemap()838 u16 cs_bits = OCFS2_SB(inode->i_sb)->s_clustersize_bits; in ocfs2_seek_data_hole_offset()
401 bits_per_unit = osb->s_clustersize_bits - in ocfs2_find_victim_alloc_group()477 int c_to_b = 1 << (osb->s_clustersize_bits - in ocfs2_validate_and_adjust_move_goal()801 osb->s_clustersize_bits; in __ocfs2_move_extents_range()808 defrag_thresh = range->me_threshold >> osb->s_clustersize_bits; in __ocfs2_move_extents_range()
1563 local_alloc_megs = osb->local_alloc_bits >> (20 - osb->s_clustersize_bits); in ocfs2_show_options()2080 cbits = le32_to_cpu(di->id2.i_super.s_clustersize_bits); in ocfs2_initialize_super()2264 osb->s_clustersize_bits = in ocfs2_initialize_super()2265 le32_to_cpu(di->id2.i_super.s_clustersize_bits); in ocfs2_initialize_super()2266 osb->s_clustersize = 1 << osb->s_clustersize_bits; in ocfs2_initialize_super()2306 osb->s_clustersize_bits); in ocfs2_initialize_super()2398 } else if (le32_to_cpu(di->id2.i_super.s_clustersize_bits) < 12 || in ocfs2_verify_volume()2399 le32_to_cpu(di->id2.i_super.s_clustersize_bits) > 20) { in ocfs2_verify_volume()2401 1 << le32_to_cpu(di->id2.i_super.s_clustersize_bits)); in ocfs2_verify_volume()
163 int c_to_s_bits = OCFS2_SB(inode->i_sb)->s_clustersize_bits - 9; in ocfs2_inode_sector_count()
632 if (unlikely(PAGE_CACHE_SHIFT > osb->s_clustersize_bits)) { in ocfs2_figure_cluster_boundaries()635 cpp = 1 << (PAGE_CACHE_SHIFT - osb->s_clustersize_bits); in ocfs2_figure_cluster_boundaries()638 cluster_start = cluster_start << osb->s_clustersize_bits; in ocfs2_figure_cluster_boundaries()938 wc->w_cpos = pos >> osb->s_clustersize_bits; in ocfs2_alloc_write_ctxt()940 cend = (pos + len - 1) >> osb->s_clustersize_bits; in ocfs2_alloc_write_ctxt()945 if (unlikely(PAGE_CACHE_SHIFT > osb->s_clustersize_bits)) in ocfs2_alloc_write_ctxt()
350 u32 phys, cpos = offset >> OCFS2_SB(inode->i_sb)->s_clustersize_bits; in ocfs2_cow_file_pos()871 zero_start >> OCFS2_SB(inode->i_sb)->s_clustersize_bits; in ocfs2_zero_extend_get_range()1372 cpos = pos >> OCFS2_SB(sb)->s_clustersize_bits; in ocfs2_check_range_for_holes()1452 cpos = start >> OCFS2_SB(inode->i_sb)->s_clustersize_bits; in ocfs2_allocate_unwritten_extents()1752 trunc_end = (byte_start + byte_len) >> osb->s_clustersize_bits; in ocfs2_remove_inode_range()2057 cpos = pos >> OCFS2_SB(sb)->s_clustersize_bits; in ocfs2_check_range_for_refcount()2100 u32 cpos = pos >> OCFS2_SB(inode->i_sb)->s_clustersize_bits; in ocfs2_prepare_inode_for_refcount()
156 le64_add_cpu(&fe->i_size, (u64)new_clusters << osb->s_clustersize_bits); in ocfs2_update_last_group_and_inode()566 le64_add_cpu(&fe->i_size, (u64)input->clusters << osb->s_clustersize_bits); in ocfs2_group_add()
2945 OCFS2_SB(sb)->s_clustersize_bits) >> PAGE_CACHE_SHIFT; in ocfs2_duplicate_clusters_by_page()2946 offset = ((loff_t)cpos) << OCFS2_SB(sb)->s_clustersize_bits; in ocfs2_duplicate_clusters_by_page()2947 end = offset + (new_len << OCFS2_SB(sb)->s_clustersize_bits); in ocfs2_duplicate_clusters_by_page()3175 offset = ((loff_t)cpos) << OCFS2_SB(sb)->s_clustersize_bits; in ocfs2_cow_sync_writeback()3176 end = offset + (num_clusters << OCFS2_SB(sb)->s_clustersize_bits); in ocfs2_cow_sync_writeback()
633 __le32 s_clustersize_bits; /* Clustersize for this fs */ member
6706 BUG_ON(start >> OCFS2_SB(sb)->s_clustersize_bits != in ocfs2_grab_eof_pages()6707 (end - 1) >> OCFS2_SB(sb)->s_clustersize_bits); in ocfs2_grab_eof_pages()7319 start = range->start >> osb->s_clustersize_bits; in ocfs2_trim_fs()7320 len = range->len >> osb->s_clustersize_bits; in ocfs2_trim_fs()7321 minlen = range->minlen >> osb->s_clustersize_bits; in ocfs2_trim_fs()7349 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()5131 (prev_clusters + num_bits) << osb->s_clustersize_bits <= in ocfs2_add_new_xattr_cluster()