Home
last modified time | relevance | path

Searched refs:sb_bgl_lock (Results 1 – 6 of 6) sorted by relevance

/fs/ext3/
Dballoc.c623 ext3_set_bit_atomic(sb_bgl_lock(sbi, block_group), bit + i, in ext3_free_blocks_sb()
632 if (!ext3_clear_bit_atomic(sb_bgl_lock(sbi, block_group), in ext3_free_blocks_sb()
646 spin_lock(sb_bgl_lock(sbi, block_group)); in ext3_free_blocks_sb()
648 spin_unlock(sb_bgl_lock(sbi, block_group)); in ext3_free_blocks_sb()
927 if (!claim_block(sb_bgl_lock(EXT3_SB(sb), group), in ext3_try_to_allocate()
943 && claim_block(sb_bgl_lock(EXT3_SB(sb), group), in ext3_try_to_allocate()
1691 spin_lock(sb_bgl_lock(sbi, group_no)); in ext3_new_blocks()
1704 spin_unlock(sb_bgl_lock(sbi, group_no)); in ext3_new_blocks()
1724 spin_lock(sb_bgl_lock(sbi, group_no)); in ext3_new_blocks()
1726 spin_unlock(sb_bgl_lock(sbi, group_no)); in ext3_new_blocks()
[all …]
Dialloc.c133 if (!ext3_clear_bit_atomic(sb_bgl_lock(sbi, block_group), in ext3_free_inode()
145 spin_lock(sb_bgl_lock(sbi, block_group)); in ext3_free_inode()
149 spin_unlock(sb_bgl_lock(sbi, block_group)); in ext3_free_inode()
409 if (!ext3_set_bit_atomic(sb_bgl_lock(sbi, group), in ext3_new_inode()
453 spin_lock(sb_bgl_lock(sbi, group)); in ext3_new_inode()
458 spin_unlock(sb_bgl_lock(sbi, group)); in ext3_new_inode()
Dext3.h678 sb_bgl_lock(struct ext3_sb_info *sbi, unsigned int block_group) in sb_bgl_lock() function
/fs/ext2/
Dialloc.c77 spin_lock(sb_bgl_lock(EXT2_SB(sb), group)); in ext2_release_inode()
81 spin_unlock(sb_bgl_lock(EXT2_SB(sb), group)); in ext2_release_inode()
140 if (!ext2_clear_bit_atomic(sb_bgl_lock(EXT2_SB(sb), block_group), in ext2_free_inode()
492 if (ext2_set_bit_atomic(sb_bgl_lock(sbi, group), in ext2_new_inode()
532 spin_lock(sb_bgl_lock(sbi, group)); in ext2_new_inode()
542 spin_unlock(sb_bgl_lock(sbi, group)); in ext2_new_inode()
Dballoc.c169 spin_lock(sb_bgl_lock(sbi, group_no)); in group_adjust_blocks()
172 spin_unlock(sb_bgl_lock(sbi, group_no)); in group_adjust_blocks()
539 if (!ext2_clear_bit_atomic(sb_bgl_lock(sbi, block_group), in ext2_free_blocks()
716 if (ext2_set_bit_atomic(sb_bgl_lock(EXT2_SB(sb), group), grp_goal, in ext2_try_to_allocate()
731 && !ext2_set_bit_atomic(sb_bgl_lock(EXT2_SB(sb), group), in ext2_try_to_allocate()
Dext2.h117 sb_bgl_lock(struct ext2_sb_info *sbi, unsigned int block_group) in sb_bgl_lock() function