Lines Matching defs:osb
320 static void ocfs2_bg_discontig_add_extent(struct ocfs2_super *osb, in ocfs2_bg_discontig_add_extent()
351 struct ocfs2_super *osb = OCFS2_SB(alloc_inode->i_sb); in ocfs2_block_group_fill() local
419 ocfs2_block_group_alloc_contig(struct ocfs2_super *osb, handle_t *handle, in ocfs2_block_group_alloc_contig()
463 static int ocfs2_block_group_claim_bits(struct ocfs2_super *osb, in ocfs2_block_group_claim_bits()
491 struct ocfs2_super *osb = OCFS2_SB(alloc_inode->i_sb); in ocfs2_block_group_grow_discontig() local
587 struct ocfs2_super *osb = OCFS2_SB(alloc_inode->i_sb); in ocfs2_block_group_alloc_discontig() local
653 static int ocfs2_block_group_alloc(struct ocfs2_super *osb, in ocfs2_block_group_alloc()
764 static int ocfs2_reserve_suballoc_bits(struct ocfs2_super *osb, in ocfs2_reserve_suballoc_bits()
856 static void ocfs2_init_inode_steal_slot(struct ocfs2_super *osb) in ocfs2_init_inode_steal_slot()
864 static void ocfs2_init_meta_steal_slot(struct ocfs2_super *osb) in ocfs2_init_meta_steal_slot()
872 void ocfs2_init_steal_slots(struct ocfs2_super *osb) in ocfs2_init_steal_slots()
878 static void __ocfs2_set_steal_slot(struct ocfs2_super *osb, int slot, int type) in __ocfs2_set_steal_slot()
888 static int __ocfs2_get_steal_slot(struct ocfs2_super *osb, int type) in __ocfs2_get_steal_slot()
902 static int ocfs2_get_inode_steal_slot(struct ocfs2_super *osb) in ocfs2_get_inode_steal_slot()
907 static int ocfs2_get_meta_steal_slot(struct ocfs2_super *osb) in ocfs2_get_meta_steal_slot()
912 static int ocfs2_steal_resource(struct ocfs2_super *osb, in ocfs2_steal_resource()
945 static int ocfs2_steal_inode(struct ocfs2_super *osb, in ocfs2_steal_inode()
951 static int ocfs2_steal_meta(struct ocfs2_super *osb, in ocfs2_steal_meta()
957 int ocfs2_reserve_new_metadata_blocks(struct ocfs2_super *osb, in ocfs2_reserve_new_metadata_blocks()
1019 int ocfs2_reserve_new_metadata(struct ocfs2_super *osb, in ocfs2_reserve_new_metadata()
1028 int ocfs2_reserve_new_inode(struct ocfs2_super *osb, in ocfs2_reserve_new_inode()
1122 int ocfs2_reserve_cluster_bitmap_bits(struct ocfs2_super *osb, in ocfs2_reserve_cluster_bitmap_bits()
1143 static int ocfs2_reserve_clusters_with_limit(struct ocfs2_super *osb, in ocfs2_reserve_clusters_with_limit()
1221 int ocfs2_reserve_clusters(struct ocfs2_super *osb, in ocfs2_reserve_clusters()
1276 static int ocfs2_block_group_find_clear_bits(struct ocfs2_super *osb, in ocfs2_block_group_find_clear_bits()
1485 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_cluster_group_search() local
2242 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_desc_bitmap_to_cluster_off() local
2257 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_which_cluster_group() local
2276 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_block_to_cluster_group() local
2307 struct ocfs2_super *osb = OCFS2_SB(ac->ac_inode->i_sb); in __ocfs2_claim_clusters() local
2629 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_lock_allocators() local
2696 static int ocfs2_get_suballoc_slot_bit(struct ocfs2_super *osb, u64 blkno, in ocfs2_get_suballoc_slot_bit()
2753 static int ocfs2_test_suballoc_bit(struct ocfs2_super *osb, in ocfs2_test_suballoc_bit()
2811 int ocfs2_test_inode_bit(struct ocfs2_super *osb, u64 blkno, int *res) in ocfs2_test_inode_bit()