bitmap_bh 481 fs/ext2/balloc.c struct buffer_head *bitmap_bh = NULL; bitmap_bh 516 fs/ext2/balloc.c brelse(bitmap_bh); bitmap_bh 517 fs/ext2/balloc.c bitmap_bh = read_block_bitmap(sb, block_group); bitmap_bh 518 fs/ext2/balloc.c if (!bitmap_bh) bitmap_bh 540 fs/ext2/balloc.c bit + i, bitmap_bh->b_data)) { bitmap_bh 548 fs/ext2/balloc.c mark_buffer_dirty(bitmap_bh); bitmap_bh 550 fs/ext2/balloc.c sync_dirty_buffer(bitmap_bh); bitmap_bh 561 fs/ext2/balloc.c brelse(bitmap_bh); bitmap_bh 665 fs/ext2/balloc.c struct buffer_head *bitmap_bh, ext2_grpblk_t grp_goal, bitmap_bh 701 fs/ext2/balloc.c grp_goal = find_next_usable_block(start, bitmap_bh, end); bitmap_bh 709 fs/ext2/balloc.c bitmap_bh->b_data); bitmap_bh 717 fs/ext2/balloc.c bitmap_bh->b_data)) { bitmap_bh 732 fs/ext2/balloc.c grp_goal, bitmap_bh->b_data)) { bitmap_bh 900 fs/ext2/balloc.c unsigned int group, struct buffer_head *bitmap_bh) bitmap_bh 991 fs/ext2/balloc.c bitmap_bh, group_end_block - group_first_block + 1); bitmap_bh 1093 fs/ext2/balloc.c struct buffer_head *bitmap_bh, ext2_grpblk_t grp_goal, bitmap_bh 1108 fs/ext2/balloc.c return ext2_try_to_allocate(sb, group, bitmap_bh, bitmap_bh 1142 fs/ext2/balloc.c group, bitmap_bh); bitmap_bh 1163 fs/ext2/balloc.c ret = ext2_try_to_allocate(sb, group, bitmap_bh, grp_goal, bitmap_bh 1233 fs/ext2/balloc.c struct buffer_head *bitmap_bh = NULL; bitmap_bh 1316 fs/ext2/balloc.c bitmap_bh = read_block_bitmap(sb, group_no); bitmap_bh 1317 fs/ext2/balloc.c if (!bitmap_bh) bitmap_bh 1320 fs/ext2/balloc.c bitmap_bh, grp_target_blk, bitmap_bh 1356 fs/ext2/balloc.c brelse(bitmap_bh); bitmap_bh 1357 fs/ext2/balloc.c bitmap_bh = read_block_bitmap(sb, group_no); bitmap_bh 1358 fs/ext2/balloc.c if (!bitmap_bh) bitmap_bh 1364 fs/ext2/balloc.c bitmap_bh, -1, my_rsv, &num); bitmap_bh 1423 fs/ext2/balloc.c mark_buffer_dirty(bitmap_bh); bitmap_bh 1425 fs/ext2/balloc.c sync_dirty_buffer(bitmap_bh); bitmap_bh 1428 fs/ext2/balloc.c brelse(bitmap_bh); bitmap_bh 1446 fs/ext2/balloc.c brelse(bitmap_bh); bitmap_bh 1480 fs/ext2/balloc.c struct buffer_head *bitmap_bh; bitmap_bh 1485 fs/ext2/balloc.c bitmap_bh = read_block_bitmap(sb, i); bitmap_bh 1486 fs/ext2/balloc.c if (!bitmap_bh) bitmap_bh 1489 fs/ext2/balloc.c x = ext2_count_free(bitmap_bh, sb->s_blocksize); bitmap_bh 1493 fs/ext2/balloc.c brelse(bitmap_bh); bitmap_bh 109 fs/ext2/ialloc.c struct buffer_head *bitmap_bh; bitmap_bh 136 fs/ext2/ialloc.c bitmap_bh = read_inode_bitmap(sb, block_group); bitmap_bh 137 fs/ext2/ialloc.c if (!bitmap_bh) bitmap_bh 142 fs/ext2/ialloc.c bit, (void *) bitmap_bh->b_data)) bitmap_bh 147 fs/ext2/ialloc.c mark_buffer_dirty(bitmap_bh); bitmap_bh 149 fs/ext2/ialloc.c sync_dirty_buffer(bitmap_bh); bitmap_bh 151 fs/ext2/ialloc.c brelse(bitmap_bh); bitmap_bh 431 fs/ext2/ialloc.c struct buffer_head *bitmap_bh = NULL; bitmap_bh 470 fs/ext2/ialloc.c brelse(bitmap_bh); bitmap_bh 471 fs/ext2/ialloc.c bitmap_bh = read_inode_bitmap(sb, group); bitmap_bh 472 fs/ext2/ialloc.c if (!bitmap_bh) { bitmap_bh 479 fs/ext2/ialloc.c ino = ext2_find_next_zero_bit((unsigned long *)bitmap_bh->b_data, bitmap_bh 495 fs/ext2/ialloc.c ino, bitmap_bh->b_data)) { bitmap_bh 512 fs/ext2/ialloc.c brelse(bitmap_bh); bitmap_bh 516 fs/ext2/ialloc.c mark_buffer_dirty(bitmap_bh); bitmap_bh 518 fs/ext2/ialloc.c sync_dirty_buffer(bitmap_bh); bitmap_bh 519 fs/ext2/ialloc.c brelse(bitmap_bh); bitmap_bh 629 fs/ext2/ialloc.c struct buffer_head *bitmap_bh = NULL; bitmap_bh 639 fs/ext2/ialloc.c brelse(bitmap_bh); bitmap_bh 640 fs/ext2/ialloc.c bitmap_bh = read_inode_bitmap(sb, i); bitmap_bh 641 fs/ext2/ialloc.c if (!bitmap_bh) bitmap_bh 644 fs/ext2/ialloc.c x = ext2_count_free(bitmap_bh, EXT2_INODES_PER_GROUP(sb) / 8); bitmap_bh 649 fs/ext2/ialloc.c brelse(bitmap_bh); bitmap_bh 696 fs/ext4/balloc.c struct buffer_head *bitmap_bh = NULL; bitmap_bh 712 fs/ext4/balloc.c brelse(bitmap_bh); bitmap_bh 713 fs/ext4/balloc.c bitmap_bh = ext4_read_block_bitmap(sb, i); bitmap_bh 714 fs/ext4/balloc.c if (IS_ERR(bitmap_bh)) { bitmap_bh 715 fs/ext4/balloc.c bitmap_bh = NULL; bitmap_bh 719 fs/ext4/balloc.c x = ext4_count_free(bitmap_bh->b_data, bitmap_bh 725 fs/ext4/balloc.c brelse(bitmap_bh); bitmap_bh 236 fs/ext4/ialloc.c struct buffer_head *bitmap_bh = NULL; bitmap_bh 283 fs/ext4/ialloc.c bitmap_bh = ext4_read_inode_bitmap(sb, block_group); bitmap_bh 286 fs/ext4/ialloc.c if (IS_ERR(bitmap_bh)) { bitmap_bh 287 fs/ext4/ialloc.c fatal = PTR_ERR(bitmap_bh); bitmap_bh 288 fs/ext4/ialloc.c bitmap_bh = NULL; bitmap_bh 296 fs/ext4/ialloc.c BUFFER_TRACE(bitmap_bh, "get_write_access"); bitmap_bh 297 fs/ext4/ialloc.c fatal = ext4_journal_get_write_access(handle, bitmap_bh); bitmap_bh 308 fs/ext4/ialloc.c cleared = ext4_test_and_clear_bit(bit, bitmap_bh->b_data); bitmap_bh 321 fs/ext4/ialloc.c ext4_inode_bitmap_csum_set(sb, block_group, gdp, bitmap_bh, bitmap_bh 340 fs/ext4/ialloc.c BUFFER_TRACE(bitmap_bh, "call ext4_handle_dirty_metadata"); bitmap_bh 341 fs/ext4/ialloc.c err = ext4_handle_dirty_metadata(handle, NULL, bitmap_bh); bitmap_bh 351 fs/ext4/ialloc.c brelse(bitmap_bh); bitmap_bh 1208 fs/ext4/ialloc.c struct buffer_head *bitmap_bh = NULL; bitmap_bh 1217 fs/ext4/ialloc.c bitmap_bh = ext4_read_inode_bitmap(sb, block_group); bitmap_bh 1218 fs/ext4/ialloc.c if (IS_ERR(bitmap_bh)) bitmap_bh 1219 fs/ext4/ialloc.c return ERR_CAST(bitmap_bh); bitmap_bh 1225 fs/ext4/ialloc.c if (!ext4_test_bit(bit, bitmap_bh->b_data)) bitmap_bh 1248 fs/ext4/ialloc.c brelse(bitmap_bh); bitmap_bh 1253 fs/ext4/ialloc.c if (bitmap_bh) bitmap_bh 1255 fs/ext4/ialloc.c bit, (unsigned long long)bitmap_bh->b_blocknr, bitmap_bh 1256 fs/ext4/ialloc.c ext4_test_bit(bit, bitmap_bh->b_data)); bitmap_bh 1269 fs/ext4/ialloc.c brelse(bitmap_bh); bitmap_bh 1281 fs/ext4/ialloc.c struct buffer_head *bitmap_bh = NULL; bitmap_bh 1292 fs/ext4/ialloc.c brelse(bitmap_bh); bitmap_bh 1293 fs/ext4/ialloc.c bitmap_bh = ext4_read_inode_bitmap(sb, i); bitmap_bh 1294 fs/ext4/ialloc.c if (IS_ERR(bitmap_bh)) { bitmap_bh 1295 fs/ext4/ialloc.c bitmap_bh = NULL; bitmap_bh 1299 fs/ext4/ialloc.c x = ext4_count_free(bitmap_bh->b_data, bitmap_bh 1305 fs/ext4/ialloc.c brelse(bitmap_bh); bitmap_bh 4624 fs/ext4/inode.c struct buffer_head *bitmap_bh; bitmap_bh 4630 fs/ext4/inode.c bitmap_bh = sb_getblk(sb, ext4_inode_bitmap(sb, gdp)); bitmap_bh 4631 fs/ext4/inode.c if (unlikely(!bitmap_bh)) bitmap_bh 4639 fs/ext4/inode.c if (!buffer_uptodate(bitmap_bh)) { bitmap_bh 4640 fs/ext4/inode.c brelse(bitmap_bh); bitmap_bh 4646 fs/ext4/inode.c if (ext4_test_bit(i, bitmap_bh->b_data)) bitmap_bh 4649 fs/ext4/inode.c brelse(bitmap_bh); bitmap_bh 2946 fs/ext4/mballoc.c struct buffer_head *bitmap_bh = NULL; bitmap_bh 2960 fs/ext4/mballoc.c bitmap_bh = ext4_read_block_bitmap(sb, ac->ac_b_ex.fe_group); bitmap_bh 2961 fs/ext4/mballoc.c if (IS_ERR(bitmap_bh)) { bitmap_bh 2962 fs/ext4/mballoc.c err = PTR_ERR(bitmap_bh); bitmap_bh 2963 fs/ext4/mballoc.c bitmap_bh = NULL; bitmap_bh 2967 fs/ext4/mballoc.c BUFFER_TRACE(bitmap_bh, "getting write access"); bitmap_bh 2968 fs/ext4/mballoc.c err = ext4_journal_get_write_access(handle, bitmap_bh); bitmap_bh 2996 fs/ext4/mballoc.c ext4_set_bits(bitmap_bh->b_data, ac->ac_b_ex.fe_start, bitmap_bh 2999 fs/ext4/mballoc.c err = ext4_handle_dirty_metadata(handle, NULL, bitmap_bh); bitmap_bh 3011 fs/ext4/mballoc.c bitmap_bh->b_data)); bitmap_bh 3015 fs/ext4/mballoc.c ext4_set_bits(bitmap_bh->b_data, ac->ac_b_ex.fe_start, bitmap_bh 3026 fs/ext4/mballoc.c ext4_block_bitmap_csum_set(sb, ac->ac_b_ex.fe_group, gdp, bitmap_bh); bitmap_bh 3047 fs/ext4/mballoc.c err = ext4_handle_dirty_metadata(handle, NULL, bitmap_bh); bitmap_bh 3053 fs/ext4/mballoc.c brelse(bitmap_bh); bitmap_bh 3817 fs/ext4/mballoc.c ext4_mb_release_inode_pa(struct ext4_buddy *e4b, struct buffer_head *bitmap_bh, bitmap_bh 3836 fs/ext4/mballoc.c bit = mb_find_next_zero_bit(bitmap_bh->b_data, end, bit); bitmap_bh 3839 fs/ext4/mballoc.c next = mb_find_next_bit(bitmap_bh->b_data, end, bit); bitmap_bh 3903 fs/ext4/mballoc.c struct buffer_head *bitmap_bh = NULL; bitmap_bh 3916 fs/ext4/mballoc.c bitmap_bh = ext4_read_block_bitmap(sb, group); bitmap_bh 3917 fs/ext4/mballoc.c if (IS_ERR(bitmap_bh)) { bitmap_bh 3918 fs/ext4/mballoc.c err = PTR_ERR(bitmap_bh); bitmap_bh 3928 fs/ext4/mballoc.c put_bh(bitmap_bh); bitmap_bh 3988 fs/ext4/mballoc.c ext4_mb_release_inode_pa(&e4b, bitmap_bh, pa); bitmap_bh 3997 fs/ext4/mballoc.c put_bh(bitmap_bh); bitmap_bh 4014 fs/ext4/mballoc.c struct buffer_head *bitmap_bh = NULL; bitmap_bh 4092 fs/ext4/mballoc.c bitmap_bh = ext4_read_block_bitmap(sb, group); bitmap_bh 4093 fs/ext4/mballoc.c if (IS_ERR(bitmap_bh)) { bitmap_bh 4094 fs/ext4/mballoc.c err = PTR_ERR(bitmap_bh); bitmap_bh 4103 fs/ext4/mballoc.c ext4_mb_release_inode_pa(&e4b, bitmap_bh, pa); bitmap_bh 4107 fs/ext4/mballoc.c put_bh(bitmap_bh); bitmap_bh 4729 fs/ext4/mballoc.c struct buffer_head *bitmap_bh = NULL; bitmap_bh 4830 fs/ext4/mballoc.c bitmap_bh = ext4_read_block_bitmap(sb, block_group); bitmap_bh 4831 fs/ext4/mballoc.c if (IS_ERR(bitmap_bh)) { bitmap_bh 4832 fs/ext4/mballoc.c err = PTR_ERR(bitmap_bh); bitmap_bh 4833 fs/ext4/mballoc.c bitmap_bh = NULL; bitmap_bh 4855 fs/ext4/mballoc.c BUFFER_TRACE(bitmap_bh, "getting write access"); bitmap_bh 4856 fs/ext4/mballoc.c err = ext4_journal_get_write_access(handle, bitmap_bh); bitmap_bh 4873 fs/ext4/mballoc.c BUG_ON(!mb_test_bit(bit + i, bitmap_bh->b_data)); bitmap_bh 4906 fs/ext4/mballoc.c mb_clear_bits(bitmap_bh->b_data, bit, count_clusters); bitmap_bh 4925 fs/ext4/mballoc.c mb_clear_bits(bitmap_bh->b_data, bit, count_clusters); bitmap_bh 4931 fs/ext4/mballoc.c ext4_block_bitmap_csum_set(sb, block_group, gdp, bitmap_bh); bitmap_bh 4957 fs/ext4/mballoc.c BUFFER_TRACE(bitmap_bh, "dirtied bitmap block"); bitmap_bh 4958 fs/ext4/mballoc.c err = ext4_handle_dirty_metadata(handle, NULL, bitmap_bh); bitmap_bh 4969 fs/ext4/mballoc.c put_bh(bitmap_bh); bitmap_bh 4973 fs/ext4/mballoc.c brelse(bitmap_bh); bitmap_bh 4990 fs/ext4/mballoc.c struct buffer_head *bitmap_bh = NULL; bitmap_bh 5021 fs/ext4/mballoc.c bitmap_bh = ext4_read_block_bitmap(sb, block_group); bitmap_bh 5022 fs/ext4/mballoc.c if (IS_ERR(bitmap_bh)) { bitmap_bh 5023 fs/ext4/mballoc.c err = PTR_ERR(bitmap_bh); bitmap_bh 5024 fs/ext4/mballoc.c bitmap_bh = NULL; bitmap_bh 5046 fs/ext4/mballoc.c BUFFER_TRACE(bitmap_bh, "getting write access"); bitmap_bh 5047 fs/ext4/mballoc.c err = ext4_journal_get_write_access(handle, bitmap_bh); bitmap_bh 5062 fs/ext4/mballoc.c BUFFER_TRACE(bitmap_bh, "clear bit"); bitmap_bh 5063 fs/ext4/mballoc.c if (!mb_test_bit(bit + i, bitmap_bh->b_data)) { bitmap_bh 5066 fs/ext4/mballoc.c BUFFER_TRACE(bitmap_bh, "bit already cleared"); bitmap_bh 5082 fs/ext4/mballoc.c mb_clear_bits(bitmap_bh->b_data, bit, cluster_count); bitmap_bh 5087 fs/ext4/mballoc.c ext4_block_bitmap_csum_set(sb, block_group, desc, bitmap_bh); bitmap_bh 5103 fs/ext4/mballoc.c BUFFER_TRACE(bitmap_bh, "dirtied bitmap block"); bitmap_bh 5104 fs/ext4/mballoc.c err = ext4_handle_dirty_metadata(handle, NULL, bitmap_bh); bitmap_bh 5113 fs/ext4/mballoc.c brelse(bitmap_bh); bitmap_bh 501 fs/nilfs2/alloc.c struct buffer_head *desc_bh, *bitmap_bh; bitmap_bh 536 fs/nilfs2/alloc.c inode, group, 1, &bitmap_bh); bitmap_bh 539 fs/nilfs2/alloc.c bitmap_kaddr = kmap(bitmap_bh->b_page); bitmap_bh 540 fs/nilfs2/alloc.c bitmap = bitmap_kaddr + bh_offset(bitmap_bh); bitmap_bh 551 fs/nilfs2/alloc.c kunmap(bitmap_bh->b_page); bitmap_bh 554 fs/nilfs2/alloc.c req->pr_bitmap_bh = bitmap_bh; bitmap_bh 557 fs/nilfs2/alloc.c kunmap(bitmap_bh->b_page); bitmap_bh 558 fs/nilfs2/alloc.c brelse(bitmap_bh); bitmap_bh 683 fs/nilfs2/alloc.c struct buffer_head *desc_bh, *bitmap_bh; bitmap_bh 691 fs/nilfs2/alloc.c ret = nilfs_palloc_get_bitmap_block(inode, group, 1, &bitmap_bh); bitmap_bh 698 fs/nilfs2/alloc.c req->pr_bitmap_bh = bitmap_bh; bitmap_bh 726 fs/nilfs2/alloc.c struct buffer_head *desc_bh, *bitmap_bh; bitmap_bh 748 fs/nilfs2/alloc.c &bitmap_bh); bitmap_bh 757 fs/nilfs2/alloc.c bitmap_kaddr = kmap(bitmap_bh->b_page); bitmap_bh 758 fs/nilfs2/alloc.c bitmap = bitmap_kaddr + bh_offset(bitmap_bh); bitmap_bh 803 fs/nilfs2/alloc.c kunmap(bitmap_bh->b_page); bitmap_bh 804 fs/nilfs2/alloc.c mark_buffer_dirty(bitmap_bh); bitmap_bh 805 fs/nilfs2/alloc.c brelse(bitmap_bh); bitmap_bh 55 fs/ocfs2/localalloc.c struct buffer_head **bitmap_bh); bitmap_bh 1101 fs/ocfs2/localalloc.c struct buffer_head **bitmap_bh) bitmap_bh 1131 fs/ocfs2/localalloc.c *bitmap_bh = (*ac)->ac_bh; bitmap_bh 1132 fs/ocfs2/localalloc.c get_bh(*bitmap_bh); bitmap_bh 2543 fs/ocfs2/suballoc.c struct buffer_head *bitmap_bh, bitmap_bh 2570 fs/ocfs2/suballoc.c status = _ocfs2_free_suballoc_bits(handle, bitmap_inode, bitmap_bh, bitmap_bh 2589 fs/ocfs2/suballoc.c struct buffer_head *bitmap_bh, bitmap_bh 2593 fs/ocfs2/suballoc.c return _ocfs2_free_clusters(handle, bitmap_inode, bitmap_bh, bitmap_bh 2604 fs/ocfs2/suballoc.c struct buffer_head *bitmap_bh, bitmap_bh 2608 fs/ocfs2/suballoc.c return _ocfs2_free_clusters(handle, bitmap_inode, bitmap_bh, bitmap_bh 133 fs/ocfs2/suballoc.h struct buffer_head *bitmap_bh, bitmap_bh 138 fs/ocfs2/suballoc.h struct buffer_head *bitmap_bh,