Lines Matching refs:ocfs2_super
92 static int ocfs2_block_group_alloc(struct ocfs2_super *osb,
131 static int ocfs2_reserve_clusters_with_limit(struct ocfs2_super *osb,
336 static void ocfs2_bg_discontig_add_extent(struct ocfs2_super *osb, in ocfs2_bg_discontig_add_extent()
367 struct ocfs2_super *osb = OCFS2_SB(alloc_inode->i_sb); in ocfs2_block_group_fill()
435 ocfs2_block_group_alloc_contig(struct ocfs2_super *osb, handle_t *handle, in ocfs2_block_group_alloc_contig()
479 static int ocfs2_block_group_claim_bits(struct ocfs2_super *osb, in ocfs2_block_group_claim_bits()
507 struct ocfs2_super *osb = OCFS2_SB(alloc_inode->i_sb); in ocfs2_block_group_grow_discontig()
603 struct ocfs2_super *osb = OCFS2_SB(alloc_inode->i_sb); in ocfs2_block_group_alloc_discontig()
669 static int ocfs2_block_group_alloc(struct ocfs2_super *osb, in ocfs2_block_group_alloc()
780 static int ocfs2_reserve_suballoc_bits(struct ocfs2_super *osb, in ocfs2_reserve_suballoc_bits()
872 static void ocfs2_init_inode_steal_slot(struct ocfs2_super *osb) in ocfs2_init_inode_steal_slot()
880 static void ocfs2_init_meta_steal_slot(struct ocfs2_super *osb) in ocfs2_init_meta_steal_slot()
888 void ocfs2_init_steal_slots(struct ocfs2_super *osb) in ocfs2_init_steal_slots()
894 static void __ocfs2_set_steal_slot(struct ocfs2_super *osb, int slot, int type) in __ocfs2_set_steal_slot()
904 static int __ocfs2_get_steal_slot(struct ocfs2_super *osb, int type) in __ocfs2_get_steal_slot()
918 static int ocfs2_get_inode_steal_slot(struct ocfs2_super *osb) in ocfs2_get_inode_steal_slot()
923 static int ocfs2_get_meta_steal_slot(struct ocfs2_super *osb) in ocfs2_get_meta_steal_slot()
928 static int ocfs2_steal_resource(struct ocfs2_super *osb, in ocfs2_steal_resource()
961 static int ocfs2_steal_inode(struct ocfs2_super *osb, in ocfs2_steal_inode()
967 static int ocfs2_steal_meta(struct ocfs2_super *osb, in ocfs2_steal_meta()
973 int ocfs2_reserve_new_metadata_blocks(struct ocfs2_super *osb, in ocfs2_reserve_new_metadata_blocks()
1035 int ocfs2_reserve_new_metadata(struct ocfs2_super *osb, in ocfs2_reserve_new_metadata()
1044 int ocfs2_reserve_new_inode(struct ocfs2_super *osb, in ocfs2_reserve_new_inode()
1138 int ocfs2_reserve_cluster_bitmap_bits(struct ocfs2_super *osb, in ocfs2_reserve_cluster_bitmap_bits()
1162 static int ocfs2_reserve_clusters_with_limit(struct ocfs2_super *osb, in ocfs2_reserve_clusters_with_limit()
1212 int ocfs2_reserve_clusters(struct ocfs2_super *osb, in ocfs2_reserve_clusters()
1265 static int ocfs2_block_group_find_clear_bits(struct ocfs2_super *osb, in ocfs2_block_group_find_clear_bits()
1474 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_cluster_group_search()
2231 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_desc_bitmap_to_cluster_off()
2246 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_which_cluster_group()
2265 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_block_to_cluster_group()
2296 struct ocfs2_super *osb = OCFS2_SB(ac->ac_inode->i_sb); in __ocfs2_claim_clusters()
2667 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb); in ocfs2_lock_allocators()
2734 static int ocfs2_get_suballoc_slot_bit(struct ocfs2_super *osb, u64 blkno, in ocfs2_get_suballoc_slot_bit()
2791 static int ocfs2_test_suballoc_bit(struct ocfs2_super *osb, in ocfs2_test_suballoc_bit()
2849 int ocfs2_test_inode_bit(struct ocfs2_super *osb, u64 blkno, int *res) in ocfs2_test_inode_bit()