Lines Matching defs:osb
351 static void ocfs2_bg_discontig_add_extent(struct ocfs2_super *osb, in ocfs2_bg_discontig_add_extent()
382 struct ocfs2_super *osb = OCFS2_SB(alloc_inode->i_sb); in ocfs2_block_group_fill() local
451 ocfs2_block_group_alloc_contig(struct ocfs2_super *osb, handle_t *handle, in ocfs2_block_group_alloc_contig()
495 static int ocfs2_block_group_claim_bits(struct ocfs2_super *osb, in ocfs2_block_group_claim_bits()
523 struct ocfs2_super *osb = OCFS2_SB(alloc_inode->i_sb); in ocfs2_block_group_grow_discontig() local
619 struct ocfs2_super *osb = OCFS2_SB(alloc_inode->i_sb); in ocfs2_block_group_alloc_discontig() local
685 static int ocfs2_block_group_alloc(struct ocfs2_super *osb, in ocfs2_block_group_alloc()
796 static int ocfs2_reserve_suballoc_bits(struct ocfs2_super *osb, in ocfs2_reserve_suballoc_bits()
888 static void ocfs2_init_inode_steal_slot(struct ocfs2_super *osb) in ocfs2_init_inode_steal_slot()
896 static void ocfs2_init_meta_steal_slot(struct ocfs2_super *osb) in ocfs2_init_meta_steal_slot()
904 void ocfs2_init_steal_slots(struct ocfs2_super *osb) in ocfs2_init_steal_slots()
910 static void __ocfs2_set_steal_slot(struct ocfs2_super *osb, int slot, int type) in __ocfs2_set_steal_slot()
920 static int __ocfs2_get_steal_slot(struct ocfs2_super *osb, int type) in __ocfs2_get_steal_slot()
934 static int ocfs2_get_inode_steal_slot(struct ocfs2_super *osb) in ocfs2_get_inode_steal_slot()
939 static int ocfs2_get_meta_steal_slot(struct ocfs2_super *osb) in ocfs2_get_meta_steal_slot()
944 static int ocfs2_steal_resource(struct ocfs2_super *osb, in ocfs2_steal_resource()
977 static int ocfs2_steal_inode(struct ocfs2_super *osb, in ocfs2_steal_inode()
983 static int ocfs2_steal_meta(struct ocfs2_super *osb, in ocfs2_steal_meta()
989 int ocfs2_reserve_new_metadata_blocks(struct ocfs2_super *osb, in ocfs2_reserve_new_metadata_blocks()
1051 int ocfs2_reserve_new_metadata(struct ocfs2_super *osb, in ocfs2_reserve_new_metadata()
1060 int ocfs2_reserve_new_inode(struct ocfs2_super *osb, in ocfs2_reserve_new_inode()
1154 int ocfs2_reserve_cluster_bitmap_bits(struct ocfs2_super *osb, in ocfs2_reserve_cluster_bitmap_bits()
1178 static int ocfs2_reserve_clusters_with_limit(struct ocfs2_super *osb, in ocfs2_reserve_clusters_with_limit()
1228 int ocfs2_reserve_clusters(struct ocfs2_super *osb, in ocfs2_reserve_clusters()
1281 static int ocfs2_block_group_find_clear_bits(struct ocfs2_super *osb, in ocfs2_block_group_find_clear_bits()
1491 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_cluster_group_search() local
2247 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_desc_bitmap_to_cluster_off() local
2262 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_which_cluster_group() local
2281 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_block_to_cluster_group() local
2312 struct ocfs2_super *osb = OCFS2_SB(ac->ac_inode->i_sb); in __ocfs2_claim_clusters() local
2684 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_lock_allocators() local
2751 static int ocfs2_get_suballoc_slot_bit(struct ocfs2_super *osb, u64 blkno, in ocfs2_get_suballoc_slot_bit()
2808 static int ocfs2_test_suballoc_bit(struct ocfs2_super *osb, in ocfs2_test_suballoc_bit()
2866 int ocfs2_test_inode_bit(struct ocfs2_super *osb, u64 blkno, int *res) in ocfs2_test_inode_bit()