Lines Matching refs:osb

85 	struct ocfs2_super *osb = OCFS2_SB(bm_inode->i_sb);  in ocfs2_update_last_group_and_inode()  local
119 if (OCFS2_HAS_COMPAT_FEATURE(osb->sb, in ocfs2_update_last_group_and_inode()
156 le64_add_cpu(&fe->i_size, (u64)new_clusters << osb->s_clustersize_bits); in ocfs2_update_last_group_and_inode()
185 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in update_backups() local
194 ret = ocfs2_read_blocks_sync(osb, blkno, 1, &backup); in update_backups()
205 ret = ocfs2_write_super_or_backup(osb, backup); in update_backups()
224 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_update_super_and_backups() local
230 ret = ocfs2_read_blocks_sync(osb, OCFS2_SUPER_BLOCK_BLKNO, 1, in ocfs2_update_super_and_backups()
241 ret = ocfs2_write_super_or_backup(osb, super_bh); in ocfs2_update_super_and_backups()
247 if (OCFS2_HAS_COMPAT_FEATURE(osb->sb, OCFS2_FEATURE_COMPAT_BACKUP_SB)) in ocfs2_update_super_and_backups()
256 osb->dev_str); in ocfs2_update_super_and_backups()
274 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_group_extend() local
279 if (ocfs2_is_hard_readonly(osb) || ocfs2_is_soft_readonly(osb)) in ocfs2_group_extend()
287 main_bm_inode = ocfs2_get_system_file_inode(osb, in ocfs2_group_extend()
311 ocfs2_group_bitmap_size(osb->sb, 0, in ocfs2_group_extend()
312 osb->s_feature_incompat) * 8) { in ocfs2_group_extend()
342 handle = ocfs2_start_trans(osb, OCFS2_GROUP_EXTEND_CREDITS); in ocfs2_group_extend()
362 ocfs2_commit_trans(osb, handle); in ocfs2_group_extend()
461 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_group_add() local
469 if (ocfs2_is_hard_readonly(osb) || ocfs2_is_soft_readonly(osb)) in ocfs2_group_add()
472 main_bm_inode = ocfs2_get_system_file_inode(osb, in ocfs2_group_add()
492 ocfs2_group_bitmap_size(osb->sb, 0, in ocfs2_group_add()
493 osb->s_feature_incompat) * 8) { in ocfs2_group_add()
500 ret = ocfs2_read_blocks_sync(osb, input->group, 1, &group_bh); in ocfs2_group_add()
518 handle = ocfs2_start_trans(osb, OCFS2_GROUP_ADD_CREDITS); in ocfs2_group_add()
567 le64_add_cpu(&fe->i_size, (u64)input->clusters << osb->s_clustersize_bits); in ocfs2_group_add()
574 ocfs2_commit_trans(osb, handle); in ocfs2_group_add()