Searched refs:sb_bgl_lock (Results 1 – 6 of 6) sorted by relevance
/linux-3.4.99/fs/ext3/ |
D | balloc.c | 623 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() 1690 spin_lock(sb_bgl_lock(sbi, group_no)); in ext3_new_blocks() 1703 spin_unlock(sb_bgl_lock(sbi, group_no)); in ext3_new_blocks() 1723 spin_lock(sb_bgl_lock(sbi, group_no)); in ext3_new_blocks() 1725 spin_unlock(sb_bgl_lock(sbi, group_no)); in ext3_new_blocks() [all …]
|
D | ialloc.c | 133 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() 425 if (!ext3_set_bit_atomic(sb_bgl_lock(sbi, group), in ext3_new_inode() 469 spin_lock(sb_bgl_lock(sbi, group)); in ext3_new_inode() 474 spin_unlock(sb_bgl_lock(sbi, group)); in ext3_new_inode()
|
D | ext3.h | 678 sb_bgl_lock(struct ext3_sb_info *sbi, unsigned int block_group) in sb_bgl_lock() function
|
/linux-3.4.99/fs/ext2/ |
D | ialloc.c | 77 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()
|
D | balloc.c | 179 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()
|
D | ext2.h | 117 sb_bgl_lock(struct ext2_sb_info *sbi, unsigned int block_group) in sb_bgl_lock() function
|