Searched refs:s_clustersize_bits (Results 1 – 12 of 12) sorted by relevance
340 int s_clustersize_bits; member705 int c_to_b_bits = OCFS2_SB(sb)->s_clustersize_bits - in ocfs2_clusters_to_blocks()714 int b_to_c_bits = OCFS2_SB(sb)->s_clustersize_bits - in ocfs2_blocks_to_clusters()723 int cl_bits = OCFS2_SB(sb)->s_clustersize_bits; in ocfs2_clusters_for_bytes()743 return (u64)clusters << OCFS2_SB(sb)->s_clustersize_bits; in ocfs2_clusters_to_bytes()749 int bits = OCFS2_SB(sb)->s_clustersize_bits - sb->s_blocksize_bits; in ocfs2_block_to_cluster_start()759 int cl_bits = OCFS2_SB(sb)->s_clustersize_bits; in ocfs2_align_bytes_to_clusters()784 unsigned int cbits = OCFS2_SB(sb)->s_clustersize_bits; in ocfs2_page_index_to_clusters()800 unsigned int cbits = OCFS2_SB(sb)->s_clustersize_bits; in ocfs2_align_clusters_to_page_index()814 unsigned int cbits = OCFS2_SB(sb)->s_clustersize_bits; in ocfs2_pages_per_cluster()[all …]
782 cpos = map_start >> osb->s_clustersize_bits; in ocfs2_fiemap()808 len_bytes = (u64)le16_to_cpu(rec.e_leaf_clusters) << osb->s_clustersize_bits; in ocfs2_fiemap()810 virt_bytes = (u64)le32_to_cpu(rec.e_cpos) << osb->s_clustersize_bits; in ocfs2_fiemap()839 u16 cs_bits = OCFS2_SB(inode->i_sb)->s_clustersize_bits; in ocfs2_seek_data_hole_offset()
1573 local_alloc_megs = osb->local_alloc_bits >> (20 - osb->s_clustersize_bits); in ocfs2_show_options()2094 cbits = le32_to_cpu(di->id2.i_super.s_clustersize_bits); in ocfs2_initialize_super()2275 osb->s_clustersize_bits = in ocfs2_initialize_super()2276 le32_to_cpu(di->id2.i_super.s_clustersize_bits); in ocfs2_initialize_super()2277 osb->s_clustersize = 1 << osb->s_clustersize_bits; in ocfs2_initialize_super()2319 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()
400 bits_per_unit = osb->s_clustersize_bits - in ocfs2_find_victim_alloc_group()476 int c_to_b = 1 << (osb->s_clustersize_bits - in ocfs2_validate_and_adjust_move_goal()874 osb->s_clustersize_bits; in __ocfs2_move_extents_range()881 defrag_thresh = range->me_threshold >> osb->s_clustersize_bits; in __ocfs2_move_extents_range()
160 int c_to_s_bits = OCFS2_SB(inode->i_sb)->s_clustersize_bits - 9; in ocfs2_inode_sector_count()
655 if (unlikely(PAGE_CACHE_SHIFT > osb->s_clustersize_bits)) { in ocfs2_figure_cluster_boundaries()658 cpp = 1 << (PAGE_CACHE_SHIFT - osb->s_clustersize_bits); in ocfs2_figure_cluster_boundaries()661 cluster_start = cluster_start << osb->s_clustersize_bits; in ocfs2_figure_cluster_boundaries()957 wc->w_cpos = pos >> osb->s_clustersize_bits; in ocfs2_alloc_write_ctxt()959 cend = (pos + len - 1) >> osb->s_clustersize_bits; in ocfs2_alloc_write_ctxt()964 if (unlikely(PAGE_CACHE_SHIFT > osb->s_clustersize_bits)) in ocfs2_alloc_write_ctxt()
351 u32 phys, cpos = offset >> OCFS2_SB(inode->i_sb)->s_clustersize_bits; in ocfs2_cow_file_pos()856 zero_start >> OCFS2_SB(inode->i_sb)->s_clustersize_bits; in ocfs2_zero_extend_get_range()1370 cpos = pos >> OCFS2_SB(sb)->s_clustersize_bits; in ocfs2_check_range_for_holes()1450 cpos = start >> OCFS2_SB(inode->i_sb)->s_clustersize_bits; in ocfs2_allocate_unwritten_extents()1735 trunc_end = (byte_start + byte_len) >> osb->s_clustersize_bits; in ocfs2_remove_inode_range()2032 cpos = pos >> OCFS2_SB(sb)->s_clustersize_bits; in ocfs2_check_range_for_refcount()2082 u32 cpos = pos >> OCFS2_SB(inode->i_sb)->s_clustersize_bits; in ocfs2_prepare_inode_for_refcount()
160 le64_add_cpu(&fe->i_size, new_clusters << osb->s_clustersize_bits); in ocfs2_update_last_group_and_inode()569 le64_add_cpu(&fe->i_size, 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()3177 offset = ((loff_t)cpos) << OCFS2_SB(sb)->s_clustersize_bits; in ocfs2_cow_sync_writeback()3178 end = offset + (num_clusters << OCFS2_SB(sb)->s_clustersize_bits); in ocfs2_cow_sync_writeback()3433 int cs_bits = OCFS2_SB(inode->i_sb)->s_clustersize_bits; in ocfs2_readahead_for_cow()
633 __le32 s_clustersize_bits; /* Clustersize for this fs */ member
6676 BUG_ON(start >> OCFS2_SB(sb)->s_clustersize_bits != in ocfs2_grab_eof_pages()6677 (end - 1) >> OCFS2_SB(sb)->s_clustersize_bits); in ocfs2_grab_eof_pages()7261 start = range->start >> osb->s_clustersize_bits; in ocfs2_trim_fs()7262 len = range->len >> osb->s_clustersize_bits; in ocfs2_trim_fs()7263 minlen = range->minlen >> 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()5121 (prev_clusters + num_bits) << osb->s_clustersize_bits <= in ocfs2_add_new_xattr_cluster()