Lines Matching refs:osb

84 	struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);  in ocfs2_set_inode_attr()  local
113 handle = ocfs2_start_trans(osb, OCFS2_INODE_UPDATE_CREDITS); in ocfs2_set_inode_attr()
127 ocfs2_commit_trans(osb, handle); in ocfs2_set_inode_attr()
161 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_info_handle_clustersize() local
166 oic.ic_clustersize = osb->s_clustersize; in ocfs2_info_handle_clustersize()
180 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_info_handle_maxslots() local
185 oim.im_max_slots = osb->max_slots; in ocfs2_info_handle_maxslots()
199 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_info_handle_label() local
204 memcpy(oil.il_label, osb->vol_label, OCFS2_MAX_VOL_LABEL_LEN); in ocfs2_info_handle_label()
218 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_info_handle_uuid() local
223 memcpy(oiu.iu_uuid_str, osb->uuid_str, OCFS2_TEXT_UUID_LEN + 1); in ocfs2_info_handle_uuid()
237 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_info_handle_fs_features() local
242 oif.if_compat_features = osb->s_feature_compat; in ocfs2_info_handle_fs_features()
243 oif.if_incompat_features = osb->s_feature_incompat; in ocfs2_info_handle_fs_features()
244 oif.if_ro_compat_features = osb->s_feature_ro_compat; in ocfs2_info_handle_fs_features()
258 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_info_handle_journal_size() local
263 oij.ij_journal_size = i_size_read(osb->journal->j_inode); in ocfs2_info_handle_journal_size()
273 static int ocfs2_info_scan_inode_alloc(struct ocfs2_super *osb, in ocfs2_info_scan_inode_alloc() argument
294 status = ocfs2_read_blocks_sync(osb, blkno, 1, &bh); in ocfs2_info_scan_inode_alloc()
329 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_info_handle_freeinode() local
344 oifi->ifi_slotnum = osb->max_slots; in ocfs2_info_handle_freeinode()
348 inode_alloc = ocfs2_get_system_file_inode(osb, type, i); in ocfs2_info_handle_freeinode()
359 status = ocfs2_lookup_ino_from_name(osb->sys_root_inode, in ocfs2_info_handle_freeinode()
369 status = ocfs2_info_scan_inode_alloc(osb, inode_alloc, blkno, oifi, i); in ocfs2_info_handle_freeinode()
428 static int ocfs2_info_freefrag_scan_chain(struct ocfs2_super *osb, in ocfs2_info_freefrag_scan_chain() argument
464 status = ocfs2_read_blocks_sync(osb, blkno, 1, &bh); in ocfs2_info_freefrag_scan_chain()
531 static int ocfs2_info_freefrag_scan_bitmap(struct ocfs2_super *osb, in ocfs2_info_freefrag_scan_bitmap() argument
554 status = ocfs2_read_blocks_sync(osb, blkno, 1, &bh); in ocfs2_info_freefrag_scan_bitmap()
585 status = ocfs2_info_freefrag_scan_chain(osb, gb_inode, in ocfs2_info_freefrag_scan_bitmap()
617 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_info_handle_freefrag() local
641 gb_inode = ocfs2_get_system_file_inode(osb, type, in ocfs2_info_handle_freefrag()
651 status = ocfs2_lookup_ino_from_name(osb->sys_root_inode, in ocfs2_info_handle_freefrag()
661 status = ocfs2_info_freefrag_scan_bitmap(osb, gb_inode, blkno, oiff); in ocfs2_info_handle_freefrag()