/linux-master/fs/ext2/ |
H A D | balloc.c | 478 struct buffer_head *bitmap_bh = NULL; local 513 brelse(bitmap_bh); 514 bitmap_bh = read_block_bitmap(sb, block_group); 515 if (!bitmap_bh) 537 bit + i, bitmap_bh->b_data)) { 545 mark_buffer_dirty(bitmap_bh); 547 sync_dirty_buffer(bitmap_bh); 558 brelse(bitmap_bh); 642 * @bitmap_bh: bufferhead holds the block bitmap 662 struct buffer_head *bitmap_bh, ext2_grpblk_ 661 ext2_try_to_allocate(struct super_block *sb, int group, struct buffer_head *bitmap_bh, ext2_grpblk_t grp_goal, unsigned long *count, struct ext2_reserve_window *my_rsv) argument 863 alloc_new_reservation(struct ext2_reserve_window_node *my_rsv, ext2_grpblk_t grp_goal, struct super_block *sb, unsigned int group, struct buffer_head *bitmap_bh) argument 1057 ext2_try_to_allocate_with_rsv(struct super_block *sb, unsigned int group, struct buffer_head *bitmap_bh, ext2_grpblk_t grp_goal, struct ext2_reserve_window_node * my_rsv, unsigned long *count) argument 1204 struct buffer_head *bitmap_bh = NULL; local 1452 struct buffer_head *bitmap_bh; local [all...] |
H A D | ialloc.c | 110 struct buffer_head *bitmap_bh; local 137 bitmap_bh = read_inode_bitmap(sb, block_group); 138 if (!bitmap_bh) 143 bit, (void *) bitmap_bh->b_data)) 148 mark_buffer_dirty(bitmap_bh); 150 sync_dirty_buffer(bitmap_bh); 152 brelse(bitmap_bh); 423 struct buffer_head *bitmap_bh = NULL; local 462 brelse(bitmap_bh); 463 bitmap_bh 621 struct buffer_head *bitmap_bh = NULL; local [all...] |
/linux-master/fs/nilfs2/ |
H A D | alloc.c | 502 struct buffer_head *desc_bh, *bitmap_bh; local 540 &bitmap_bh); 550 bitmap_kaddr = kmap_local_page(bitmap_bh->b_page); 551 bitmap = bitmap_kaddr + bh_offset(bitmap_bh); 558 brelse(bitmap_bh); 575 req->pr_bitmap_bh = bitmap_bh; 685 struct buffer_head *desc_bh, *bitmap_bh; local 693 ret = nilfs_palloc_get_bitmap_block(inode, group, 1, &bitmap_bh); 700 req->pr_bitmap_bh = bitmap_bh; 728 struct buffer_head *desc_bh, *bitmap_bh; local [all...] |
/linux-master/fs/ext4/ |
H A D | ialloc.c | 240 struct buffer_head *bitmap_bh = NULL; local 287 bitmap_bh = ext4_read_inode_bitmap(sb, block_group); 289 if (IS_ERR(bitmap_bh)) { 290 fatal = PTR_ERR(bitmap_bh); 291 bitmap_bh = NULL; 302 BUFFER_TRACE(bitmap_bh, "get_write_access"); 303 fatal = ext4_journal_get_write_access(handle, sb, bitmap_bh, 316 cleared = ext4_test_and_clear_bit(bit, bitmap_bh->b_data); 330 ext4_inode_bitmap_csum_set(sb, gdp, bitmap_bh, 350 BUFFER_TRACE(bitmap_bh, "cal 1374 struct buffer_head *bitmap_bh = NULL; local 1449 struct buffer_head *bitmap_bh = NULL; local [all...] |
H A D | mballoc-test.c | 13 struct buffer_head bitmap_bh; member in struct:mbt_grp_ctx 194 grp_ctx->bitmap_bh.b_data = kzalloc(EXT4_BLOCK_SIZE(sb), GFP_KERNEL); 195 if (grp_ctx->bitmap_bh.b_data == NULL) 197 mb_set_bits(grp_ctx->bitmap_bh.b_data, max, sb->s_blocksize * 8 - max); 205 kfree(grp_ctx->bitmap_bh.b_data); 206 grp_ctx->bitmap_bh.b_data = NULL; 214 mb_set_bits(grp_ctx->bitmap_bh.b_data, start, len); 221 return grp_ctx->bitmap_bh.b_data; 244 mb_set_bits(ctx->grp_ctx[0].bitmap_bh.b_data, 0, 1); 273 get_bh(&grp_ctx->bitmap_bh); 310 struct buffer_head *bitmap_bh = &grp_ctx->bitmap_bh; local [all...] |
H A D | balloc.c | 781 struct buffer_head *bitmap_bh = NULL; local 797 brelse(bitmap_bh); 798 bitmap_bh = ext4_read_block_bitmap(sb, i); 799 if (IS_ERR(bitmap_bh)) { 800 bitmap_bh = NULL; 804 x = ext4_count_free(bitmap_bh->b_data, 810 brelse(bitmap_bh);
|
H A D | mballoc.c | 3974 struct buffer_head *bitmap_bh = NULL; local 3986 bitmap_bh = ext4_read_block_bitmap(sb, group); 3987 if (IS_ERR(bitmap_bh)) 3988 return PTR_ERR(bitmap_bh); 3991 BUFFER_TRACE(bitmap_bh, "getting write access"); 3992 err = ext4_journal_get_write_access(handle, sb, bitmap_bh, 4022 if (mb_test_bit(blkoff + i, bitmap_bh->b_data) == 4029 mb_set_bits(bitmap_bh->b_data, blkoff, len); 4033 mb_clear_bits(bitmap_bh->b_data, blkoff, len); 4038 ext4_block_bitmap_csum_set(sb, gdp, bitmap_bh); 5313 ext4_mb_release_inode_pa(struct ext4_buddy *e4b, struct buffer_head *bitmap_bh, struct ext4_prealloc_space *pa) argument 5399 struct buffer_head *bitmap_bh = NULL; local 5507 struct buffer_head *bitmap_bh = NULL; local 6060 struct buffer_head *bitmap_bh; local [all...] |
H A D | inode.c | 4388 struct buffer_head *bitmap_bh; local 4394 bitmap_bh = sb_getblk(sb, ext4_inode_bitmap(sb, gdp)); 4395 if (unlikely(!bitmap_bh)) 4403 if (!buffer_uptodate(bitmap_bh)) { 4404 brelse(bitmap_bh); 4410 if (ext4_test_bit(i, bitmap_bh->b_data)) 4413 brelse(bitmap_bh);
|
/linux-master/fs/ocfs2/ |
H A D | suballoc.h | 131 struct buffer_head *bitmap_bh, 136 struct buffer_head *bitmap_bh,
|
H A D | localalloc.c | 53 struct buffer_head **bitmap_bh); 1099 struct buffer_head **bitmap_bh) 1129 *bitmap_bh = (*ac)->ac_bh; 1130 get_bh(*bitmap_bh); 1096 ocfs2_local_alloc_reserve_for_window(struct ocfs2_super *osb, struct ocfs2_alloc_context **ac, struct inode **bitmap_inode, struct buffer_head **bitmap_bh) argument
|
H A D | suballoc.c | 2542 struct buffer_head *bitmap_bh, 2569 status = _ocfs2_free_suballoc_bits(handle, bitmap_inode, bitmap_bh, 2586 struct buffer_head *bitmap_bh, 2590 return _ocfs2_free_clusters(handle, bitmap_inode, bitmap_bh, 2601 struct buffer_head *bitmap_bh, 2605 return _ocfs2_free_clusters(handle, bitmap_inode, bitmap_bh, 2540 _ocfs2_free_clusters(handle_t *handle, struct inode *bitmap_inode, struct buffer_head *bitmap_bh, u64 start_blk, unsigned int num_clusters, void (*undo_fn)(unsigned int bit, unsigned long *bitmap)) argument 2584 ocfs2_free_clusters(handle_t *handle, struct inode *bitmap_inode, struct buffer_head *bitmap_bh, u64 start_blk, unsigned int num_clusters) argument 2599 ocfs2_release_clusters(handle_t *handle, struct inode *bitmap_inode, struct buffer_head *bitmap_bh, u64 start_blk, unsigned int num_clusters) argument
|