Lines Matching refs:osb

91 	struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);  in ocfs2_fileattr_set()  local
119 handle = ocfs2_start_trans(osb, OCFS2_INODE_UPDATE_CREDITS); in ocfs2_fileattr_set()
133 ocfs2_commit_trans(osb, handle); in ocfs2_fileattr_set()
165 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_info_handle_clustersize() local
170 oic.ic_clustersize = osb->s_clustersize; in ocfs2_info_handle_clustersize()
184 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_info_handle_maxslots() local
189 oim.im_max_slots = osb->max_slots; in ocfs2_info_handle_maxslots()
203 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_info_handle_label() local
208 memcpy(oil.il_label, osb->vol_label, OCFS2_MAX_VOL_LABEL_LEN); in ocfs2_info_handle_label()
222 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_info_handle_uuid() local
227 memcpy(oiu.iu_uuid_str, osb->uuid_str, OCFS2_TEXT_UUID_LEN + 1); in ocfs2_info_handle_uuid()
241 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_info_handle_fs_features() local
246 oif.if_compat_features = osb->s_feature_compat; in ocfs2_info_handle_fs_features()
247 oif.if_incompat_features = osb->s_feature_incompat; in ocfs2_info_handle_fs_features()
248 oif.if_ro_compat_features = osb->s_feature_ro_compat; in ocfs2_info_handle_fs_features()
262 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_info_handle_journal_size() local
267 oij.ij_journal_size = i_size_read(osb->journal->j_inode); in ocfs2_info_handle_journal_size()
277 static int ocfs2_info_scan_inode_alloc(struct ocfs2_super *osb, in ocfs2_info_scan_inode_alloc() argument
298 status = ocfs2_read_blocks_sync(osb, blkno, 1, &bh); in ocfs2_info_scan_inode_alloc()
333 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_info_handle_freeinode() local
348 oifi->ifi_slotnum = osb->max_slots; in ocfs2_info_handle_freeinode()
352 inode_alloc = ocfs2_get_system_file_inode(osb, type, i); in ocfs2_info_handle_freeinode()
363 status = ocfs2_lookup_ino_from_name(osb->sys_root_inode, in ocfs2_info_handle_freeinode()
373 status = ocfs2_info_scan_inode_alloc(osb, inode_alloc, blkno, oifi, i); in ocfs2_info_handle_freeinode()
432 static int ocfs2_info_freefrag_scan_chain(struct ocfs2_super *osb, in ocfs2_info_freefrag_scan_chain() argument
468 status = ocfs2_read_blocks_sync(osb, blkno, 1, &bh); in ocfs2_info_freefrag_scan_chain()
535 static int ocfs2_info_freefrag_scan_bitmap(struct ocfs2_super *osb, in ocfs2_info_freefrag_scan_bitmap() argument
558 status = ocfs2_read_blocks_sync(osb, blkno, 1, &bh); in ocfs2_info_freefrag_scan_bitmap()
589 status = ocfs2_info_freefrag_scan_chain(osb, gb_inode, in ocfs2_info_freefrag_scan_bitmap()
621 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_info_handle_freefrag() local
645 gb_inode = ocfs2_get_system_file_inode(osb, type, in ocfs2_info_handle_freefrag()
655 status = ocfs2_lookup_ino_from_name(osb->sys_root_inode, in ocfs2_info_handle_freefrag()
665 status = ocfs2_info_freefrag_scan_bitmap(osb, gb_inode, blkno, oiff); in ocfs2_info_handle_freefrag()