Home
last modified time | relevance | path

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

/linux-2.6.39/fs/ext3/
Dballoc.c626 ext3_set_bit_atomic(sb_bgl_lock(sbi, block_group), bit + i, in ext3_free_blocks_sb()
635 if (!ext3_clear_bit_atomic(sb_bgl_lock(sbi, block_group), in ext3_free_blocks_sb()
649 spin_lock(sb_bgl_lock(sbi, block_group)); in ext3_free_blocks_sb()
651 spin_unlock(sb_bgl_lock(sbi, block_group)); in ext3_free_blocks_sb()
934 if (!claim_block(sb_bgl_lock(EXT3_SB(sb), group), in ext3_try_to_allocate()
950 && claim_block(sb_bgl_lock(EXT3_SB(sb), group), in ext3_try_to_allocate()
1695 spin_lock(sb_bgl_lock(sbi, group_no)); in ext3_new_blocks()
1708 spin_unlock(sb_bgl_lock(sbi, group_no)); in ext3_new_blocks()
1728 spin_lock(sb_bgl_lock(sbi, group_no)); in ext3_new_blocks()
1730 spin_unlock(sb_bgl_lock(sbi, group_no)); in ext3_new_blocks()
[all …]
Dialloc.c142 if (!ext3_clear_bit_atomic(sb_bgl_lock(sbi, block_group), in ext3_free_inode()
154 spin_lock(sb_bgl_lock(sbi, block_group)); in ext3_free_inode()
158 spin_unlock(sb_bgl_lock(sbi, block_group)); in ext3_free_inode()
472 if (!ext3_set_bit_atomic(sb_bgl_lock(sbi, group), in ext3_new_inode()
516 spin_lock(sb_bgl_lock(sbi, group)); in ext3_new_inode()
521 spin_unlock(sb_bgl_lock(sbi, group)); in ext3_new_inode()
/linux-2.6.39/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()
142 if (!ext2_clear_bit_atomic(sb_bgl_lock(EXT2_SB(sb), block_group), in ext2_free_inode()
494 if (ext2_set_bit_atomic(sb_bgl_lock(sbi, group), in ext2_new_inode()
534 spin_lock(sb_bgl_lock(sbi, group)); in ext2_new_inode()
544 spin_unlock(sb_bgl_lock(sbi, group)); in ext2_new_inode()
Dballoc.c179 spin_lock(sb_bgl_lock(sbi, group_no)); in group_adjust_blocks()
182 spin_unlock(sb_bgl_lock(sbi, group_no)); in group_adjust_blocks()
550 if (!ext2_clear_bit_atomic(sb_bgl_lock(sbi, block_group), in ext2_free_blocks()
724 if (ext2_set_bit_atomic(sb_bgl_lock(EXT2_SB(sb), group), grp_goal, in ext2_try_to_allocate()
739 && !ext2_set_bit_atomic(sb_bgl_lock(EXT2_SB(sb), group), in ext2_try_to_allocate()
/linux-2.6.39/include/linux/
Dext2_fs_sb.h121 sb_bgl_lock(struct ext2_sb_info *sbi, unsigned int block_group) in sb_bgl_lock() function
Dext3_fs_sb.h90 sb_bgl_lock(struct ext3_sb_info *sbi, unsigned int block_group) in sb_bgl_lock() function