Lines Matching refs:OCFS2_SB
112 if (le32_to_cpu(rb->rf_fs_generation) != OCFS2_SB(sb)->fs_generation) { in ocfs2_validate_refcount_block()
248 ocfs2_simple_drop_lockres(OCFS2_SB(tree->rf_sb), &tree->rf_lockres); in ocfs2_free_refcount_tree()
558 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_create_refcount_tree()
699 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_set_refcount_tree()
761 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_remove_refcount_tree()
1569 new_rb->rf_fs_generation = cpu_to_le32(OCFS2_SB(sb)->fs_generation); in ocfs2_new_leaf_refcount_block()
2299 ret = ocfs2_get_refcount_tree(OCFS2_SB(inode->i_sb), ref_blkno, &tree); in ocfs2_decrease_refcount()
2342 if (!ocfs2_refcount_tree(OCFS2_SB(inode->i_sb))) { in ocfs2_mark_extent_refcounted()
2525 if (!ocfs2_refcount_tree(OCFS2_SB(inode->i_sb))) { in ocfs2_prepare_refcount_change_for_del()
2533 ret = ocfs2_get_refcount_tree(OCFS2_SB(inode->i_sb), in ocfs2_prepare_refcount_change_for_del()
2863 ret = ocfs2_reserve_new_metadata_blocks(OCFS2_SB(sb), meta_add, in ocfs2_lock_refcount_allocators()
2871 ret = ocfs2_reserve_clusters(OCFS2_SB(sb), num_clusters, in ocfs2_lock_refcount_allocators()
2914 offset = ((loff_t)cpos) << OCFS2_SB(sb)->s_clustersize_bits; in ocfs2_duplicate_clusters_by_page()
2915 end = offset + (new_len << OCFS2_SB(sb)->s_clustersize_bits); in ocfs2_duplicate_clusters_by_page()
2947 if (PAGE_SIZE <= OCFS2_SB(sb)->s_clustersize) { in ocfs2_duplicate_clusters_by_page()
3006 struct ocfs2_super *osb = OCFS2_SB(sb); in ocfs2_duplicate_clusters_by_jbd()
3150 start = ((loff_t)cpos) << OCFS2_SB(sb)->s_clustersize_bits; in ocfs2_cow_sync_writeback()
3151 end = start + (num_clusters << OCFS2_SB(sb)->s_clustersize_bits) - 1; in ocfs2_cow_sync_writeback()
3177 struct ocfs2_super *osb = OCFS2_SB(sb); in ocfs2_make_clusters_writable()
3327 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_replace_cow()
3380 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_refcount_cow_hunk()
3659 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_add_refcount_flag()
3732 handle = ocfs2_start_trans(OCFS2_SB(inode->i_sb), in ocfs2_change_ctime()
3754 ocfs2_commit_trans(OCFS2_SB(inode->i_sb), handle); in ocfs2_change_ctime()
3766 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_attach_refcount_tree()
3872 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_add_refcounted_extent()
3928 struct ocfs2_super *osb = OCFS2_SB(s_inode->i_sb); in ocfs2_duplicate_inline_data()
4028 handle = ocfs2_start_trans(OCFS2_SB(t_inode->i_sb), in ocfs2_complete_reflink()
4083 ocfs2_commit_trans(OCFS2_SB(t_inode->i_sb), handle); in ocfs2_complete_reflink()
4096 struct ocfs2_super *osb = OCFS2_SB(s_inode->i_sb); in ocfs2_create_reflink_node()
4245 if (!ocfs2_refcount_tree(OCFS2_SB(inode->i_sb))) in ocfs2_reflink()
4415 if (!ocfs2_refcount_tree(OCFS2_SB(inode->i_sb))) in ocfs2_reflink_ioctl()
4461 handle = ocfs2_start_trans(OCFS2_SB(dest->i_sb), in ocfs2_reflink_update_dest()
4483 ocfs2_commit_trans(OCFS2_SB(dest->i_sb), handle); in ocfs2_reflink_update_dest()
4509 osb = OCFS2_SB(s_inode->i_sb); in ocfs2_reflink_remap_extent()
4616 osb = OCFS2_SB(s_inode->i_sb); in ocfs2_reflink_remap_blocks()