Lines Matching defs:osb
318 static void ocfs2_bg_discontig_add_extent(struct ocfs2_super *osb, in ocfs2_bg_discontig_add_extent()
349 struct ocfs2_super *osb = OCFS2_SB(alloc_inode->i_sb); in ocfs2_block_group_fill() local
417 ocfs2_block_group_alloc_contig(struct ocfs2_super *osb, handle_t *handle, in ocfs2_block_group_alloc_contig()
461 static int ocfs2_block_group_claim_bits(struct ocfs2_super *osb, in ocfs2_block_group_claim_bits()
489 struct ocfs2_super *osb = OCFS2_SB(alloc_inode->i_sb); in ocfs2_block_group_grow_discontig() local
585 struct ocfs2_super *osb = OCFS2_SB(alloc_inode->i_sb); in ocfs2_block_group_alloc_discontig() local
651 static int ocfs2_block_group_alloc(struct ocfs2_super *osb, in ocfs2_block_group_alloc()
762 static int ocfs2_reserve_suballoc_bits(struct ocfs2_super *osb, in ocfs2_reserve_suballoc_bits()
854 static void ocfs2_init_inode_steal_slot(struct ocfs2_super *osb) in ocfs2_init_inode_steal_slot()
862 static void ocfs2_init_meta_steal_slot(struct ocfs2_super *osb) in ocfs2_init_meta_steal_slot()
870 void ocfs2_init_steal_slots(struct ocfs2_super *osb) in ocfs2_init_steal_slots()
876 static void __ocfs2_set_steal_slot(struct ocfs2_super *osb, int slot, int type) in __ocfs2_set_steal_slot()
886 static int __ocfs2_get_steal_slot(struct ocfs2_super *osb, int type) in __ocfs2_get_steal_slot()
900 static int ocfs2_get_inode_steal_slot(struct ocfs2_super *osb) in ocfs2_get_inode_steal_slot()
905 static int ocfs2_get_meta_steal_slot(struct ocfs2_super *osb) in ocfs2_get_meta_steal_slot()
910 static int ocfs2_steal_resource(struct ocfs2_super *osb, in ocfs2_steal_resource()
943 static int ocfs2_steal_inode(struct ocfs2_super *osb, in ocfs2_steal_inode()
949 static int ocfs2_steal_meta(struct ocfs2_super *osb, in ocfs2_steal_meta()
955 int ocfs2_reserve_new_metadata_blocks(struct ocfs2_super *osb, in ocfs2_reserve_new_metadata_blocks()
1017 int ocfs2_reserve_new_metadata(struct ocfs2_super *osb, in ocfs2_reserve_new_metadata()
1026 int ocfs2_reserve_new_inode(struct ocfs2_super *osb, in ocfs2_reserve_new_inode()
1120 int ocfs2_reserve_cluster_bitmap_bits(struct ocfs2_super *osb, in ocfs2_reserve_cluster_bitmap_bits()
1141 static int ocfs2_reserve_clusters_with_limit(struct ocfs2_super *osb, in ocfs2_reserve_clusters_with_limit()
1219 int ocfs2_reserve_clusters(struct ocfs2_super *osb, in ocfs2_reserve_clusters()
1275 static int ocfs2_block_group_find_clear_bits(struct ocfs2_super *osb, in ocfs2_block_group_find_clear_bits()
1484 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_cluster_group_search() local
2241 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_desc_bitmap_to_cluster_off() local
2256 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_which_cluster_group() local
2275 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_block_to_cluster_group() local
2306 struct ocfs2_super *osb = OCFS2_SB(ac->ac_inode->i_sb); in __ocfs2_claim_clusters() local
2628 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_lock_allocators() local
2695 static int ocfs2_get_suballoc_slot_bit(struct ocfs2_super *osb, u64 blkno, in ocfs2_get_suballoc_slot_bit()
2752 static int ocfs2_test_suballoc_bit(struct ocfs2_super *osb, in ocfs2_test_suballoc_bit()
2810 int ocfs2_test_inode_bit(struct ocfs2_super *osb, u64 blkno, int *res) in ocfs2_test_inode_bit()