Lines Matching refs:osb
83 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_set_inode_attr() local
119 handle = ocfs2_start_trans(osb, OCFS2_INODE_UPDATE_CREDITS); in ocfs2_set_inode_attr()
133 ocfs2_commit_trans(osb, handle); in ocfs2_set_inode_attr()
167 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_info_handle_clustersize() local
172 oic.ic_clustersize = osb->s_clustersize; in ocfs2_info_handle_clustersize()
186 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_info_handle_maxslots() local
191 oim.im_max_slots = osb->max_slots; in ocfs2_info_handle_maxslots()
205 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_info_handle_label() local
210 memcpy(oil.il_label, osb->vol_label, OCFS2_MAX_VOL_LABEL_LEN); in ocfs2_info_handle_label()
224 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_info_handle_uuid() local
229 memcpy(oiu.iu_uuid_str, osb->uuid_str, OCFS2_TEXT_UUID_LEN + 1); in ocfs2_info_handle_uuid()
243 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_info_handle_fs_features() local
248 oif.if_compat_features = osb->s_feature_compat; in ocfs2_info_handle_fs_features()
249 oif.if_incompat_features = osb->s_feature_incompat; in ocfs2_info_handle_fs_features()
250 oif.if_ro_compat_features = osb->s_feature_ro_compat; in ocfs2_info_handle_fs_features()
264 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_info_handle_journal_size() local
269 oij.ij_journal_size = i_size_read(osb->journal->j_inode); in ocfs2_info_handle_journal_size()
279 static int ocfs2_info_scan_inode_alloc(struct ocfs2_super *osb, in ocfs2_info_scan_inode_alloc() argument
300 status = ocfs2_read_blocks_sync(osb, blkno, 1, &bh); in ocfs2_info_scan_inode_alloc()
335 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_info_handle_freeinode() local
350 oifi->ifi_slotnum = osb->max_slots; in ocfs2_info_handle_freeinode()
354 inode_alloc = ocfs2_get_system_file_inode(osb, type, i); in ocfs2_info_handle_freeinode()
365 status = ocfs2_lookup_ino_from_name(osb->sys_root_inode, in ocfs2_info_handle_freeinode()
375 status = ocfs2_info_scan_inode_alloc(osb, inode_alloc, blkno, oifi, i); in ocfs2_info_handle_freeinode()
434 static int ocfs2_info_freefrag_scan_chain(struct ocfs2_super *osb, in ocfs2_info_freefrag_scan_chain() argument
470 status = ocfs2_read_blocks_sync(osb, blkno, 1, &bh); in ocfs2_info_freefrag_scan_chain()
537 static int ocfs2_info_freefrag_scan_bitmap(struct ocfs2_super *osb, in ocfs2_info_freefrag_scan_bitmap() argument
560 status = ocfs2_read_blocks_sync(osb, blkno, 1, &bh); in ocfs2_info_freefrag_scan_bitmap()
591 status = ocfs2_info_freefrag_scan_chain(osb, gb_inode, in ocfs2_info_freefrag_scan_bitmap()
625 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_info_handle_freefrag() local
649 gb_inode = ocfs2_get_system_file_inode(osb, type, in ocfs2_info_handle_freefrag()
659 status = ocfs2_lookup_ino_from_name(osb->sys_root_inode, in ocfs2_info_handle_freefrag()
669 status = ocfs2_info_freefrag_scan_bitmap(osb, gb_inode, blkno, oiff); in ocfs2_info_handle_freefrag()