Lines Matching refs:osb
84 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_set_inode_attr() local
120 handle = ocfs2_start_trans(osb, OCFS2_INODE_UPDATE_CREDITS); in ocfs2_set_inode_attr()
134 ocfs2_commit_trans(osb, handle); in ocfs2_set_inode_attr()
168 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_info_handle_clustersize() local
173 oic.ic_clustersize = osb->s_clustersize; in ocfs2_info_handle_clustersize()
187 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_info_handle_maxslots() local
192 oim.im_max_slots = osb->max_slots; in ocfs2_info_handle_maxslots()
206 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_info_handle_label() local
211 memcpy(oil.il_label, osb->vol_label, OCFS2_MAX_VOL_LABEL_LEN); in ocfs2_info_handle_label()
225 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_info_handle_uuid() local
230 memcpy(oiu.iu_uuid_str, osb->uuid_str, OCFS2_TEXT_UUID_LEN + 1); in ocfs2_info_handle_uuid()
244 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_info_handle_fs_features() local
249 oif.if_compat_features = osb->s_feature_compat; in ocfs2_info_handle_fs_features()
250 oif.if_incompat_features = osb->s_feature_incompat; in ocfs2_info_handle_fs_features()
251 oif.if_ro_compat_features = osb->s_feature_ro_compat; in ocfs2_info_handle_fs_features()
265 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_info_handle_journal_size() local
270 oij.ij_journal_size = i_size_read(osb->journal->j_inode); in ocfs2_info_handle_journal_size()
280 static int ocfs2_info_scan_inode_alloc(struct ocfs2_super *osb, in ocfs2_info_scan_inode_alloc() argument
301 status = ocfs2_read_blocks_sync(osb, blkno, 1, &bh); in ocfs2_info_scan_inode_alloc()
336 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_info_handle_freeinode() local
351 oifi->ifi_slotnum = osb->max_slots; in ocfs2_info_handle_freeinode()
355 inode_alloc = ocfs2_get_system_file_inode(osb, type, i); in ocfs2_info_handle_freeinode()
366 status = ocfs2_lookup_ino_from_name(osb->sys_root_inode, in ocfs2_info_handle_freeinode()
376 status = ocfs2_info_scan_inode_alloc(osb, inode_alloc, blkno, oifi, i); in ocfs2_info_handle_freeinode()
435 static int ocfs2_info_freefrag_scan_chain(struct ocfs2_super *osb, in ocfs2_info_freefrag_scan_chain() argument
471 status = ocfs2_read_blocks_sync(osb, blkno, 1, &bh); in ocfs2_info_freefrag_scan_chain()
538 static int ocfs2_info_freefrag_scan_bitmap(struct ocfs2_super *osb, in ocfs2_info_freefrag_scan_bitmap() argument
561 status = ocfs2_read_blocks_sync(osb, blkno, 1, &bh); in ocfs2_info_freefrag_scan_bitmap()
592 status = ocfs2_info_freefrag_scan_chain(osb, gb_inode, in ocfs2_info_freefrag_scan_bitmap()
624 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_info_handle_freefrag() local
648 gb_inode = ocfs2_get_system_file_inode(osb, type, in ocfs2_info_handle_freefrag()
658 status = ocfs2_lookup_ino_from_name(osb->sys_root_inode, in ocfs2_info_handle_freefrag()
668 status = ocfs2_info_freefrag_scan_bitmap(osb, gb_inode, blkno, oiff); in ocfs2_info_handle_freefrag()