Searched refs:bitmap_bh (Results 1 – 11 of 11) sorted by relevance
| /linux-6.15/fs/ext2/ |
| H A D | ialloc.c | 110 struct buffer_head *bitmap_bh; in ext2_free_inode() local 138 if (!bitmap_bh) in ext2_free_inode() 148 mark_buffer_dirty(bitmap_bh); in ext2_free_inode() 152 brelse(bitmap_bh); in ext2_free_inode() 462 brelse(bitmap_bh); in ext2_new_inode() 464 if (!bitmap_bh) { in ext2_new_inode() 504 brelse(bitmap_bh); in ext2_new_inode() 511 brelse(bitmap_bh); in ext2_new_inode() 631 brelse(bitmap_bh); in ext2_count_free_inodes() 633 if (!bitmap_bh) in ext2_count_free_inodes() [all …]
|
| H A D | balloc.c | 520 brelse(bitmap_bh); in ext2_free_blocks() 522 if (!bitmap_bh) in ext2_free_blocks() 565 brelse(bitmap_bh); in ext2_free_blocks() 1300 brelse(bitmap_bh); in ext2_new_blocks() 1302 if (!bitmap_bh) in ext2_new_blocks() 1341 brelse(bitmap_bh); in ext2_new_blocks() 1343 if (!bitmap_bh) in ext2_new_blocks() 1414 brelse(bitmap_bh); in ext2_new_blocks() 1432 brelse(bitmap_bh); in ext2_new_blocks() 1465 if (!bitmap_bh) in ext2_count_free_blocks() [all …]
|
| /linux-6.15/fs/ext4/ |
| H A D | ialloc.c | 289 if (IS_ERR(bitmap_bh)) { in ext4_free_inode() 291 bitmap_bh = NULL; in ext4_free_inode() 360 brelse(bitmap_bh); in ext4_free_inode() 1381 if (IS_ERR(bitmap_bh)) in ext4_orphan_get() 1397 brelse(bitmap_bh); in ext4_orphan_get() 1413 brelse(bitmap_bh); in ext4_orphan_get() 1418 if (bitmap_bh) in ext4_orphan_get() 1434 brelse(bitmap_bh); in ext4_orphan_get() 1457 brelse(bitmap_bh); in ext4_count_free_inodes() 1460 bitmap_bh = NULL; in ext4_count_free_inodes() [all …]
|
| H A D | mballoc-test.c | 13 struct buffer_head bitmap_bh; member 219 if (grp_ctx->bitmap_bh.b_data == NULL) in mbt_grp_ctx_init() 229 kfree(grp_ctx->bitmap_bh.b_data); in mbt_grp_ctx_release() 230 grp_ctx->bitmap_bh.b_data = NULL; in mbt_grp_ctx_release() 238 mb_set_bits(grp_ctx->bitmap_bh.b_data, start, len); in mbt_ctx_mark_used() 245 return grp_ctx->bitmap_bh.b_data; in mbt_ctx_bitmap() 297 get_bh(&grp_ctx->bitmap_bh); in ext4_read_block_bitmap_nowait_stub() 298 return &grp_ctx->bitmap_bh; in ext4_read_block_bitmap_nowait_stub() 334 struct buffer_head *bitmap_bh = &grp_ctx->bitmap_bh; in ext4_mb_mark_context_stub() local 337 mb_set_bits(bitmap_bh->b_data, blkoff, len); in ext4_mb_mark_context_stub() [all …]
|
| H A D | balloc.c | 781 struct buffer_head *bitmap_bh = NULL; in ext4_count_free_clusters() local 797 brelse(bitmap_bh); in ext4_count_free_clusters() 798 bitmap_bh = ext4_read_block_bitmap(sb, i); in ext4_count_free_clusters() 799 if (IS_ERR(bitmap_bh)) { in ext4_count_free_clusters() 800 bitmap_bh = NULL; in ext4_count_free_clusters() 804 x = ext4_count_free(bitmap_bh->b_data, in ext4_count_free_clusters() 810 brelse(bitmap_bh); in ext4_count_free_clusters()
|
| H A D | mballoc.c | 3996 if (IS_ERR(bitmap_bh)) in ext4_mb_mark_context() 3997 return PTR_ERR(bitmap_bh); in ext4_mb_mark_context() 4077 brelse(bitmap_bh); in ext4_mb_mark_context() 5423 if (IS_ERR(bitmap_bh)) { in ext4_mb_discard_group_preallocations() 5424 err = PTR_ERR(bitmap_bh); in ext4_mb_discard_group_preallocations() 5435 put_bh(bitmap_bh); in ext4_mb_discard_group_preallocations() 5496 put_bh(bitmap_bh); in ext4_mb_discard_group_preallocations() 5599 if (IS_ERR(bitmap_bh)) { in ext4_discard_preallocations() 5613 put_bh(bitmap_bh); in ext4_discard_preallocations() 6088 if (IS_ERR(bitmap_bh)) { in ext4_mb_new_blocks_simple() [all …]
|
| H A D | inode.c | 4474 struct buffer_head *bitmap_bh; in __ext4_get_inode_loc() local 4480 bitmap_bh = sb_getblk(sb, ext4_inode_bitmap(sb, gdp)); in __ext4_get_inode_loc() 4481 if (unlikely(!bitmap_bh)) in __ext4_get_inode_loc() 4489 if (!buffer_uptodate(bitmap_bh)) { in __ext4_get_inode_loc() 4490 brelse(bitmap_bh); in __ext4_get_inode_loc() 4496 if (ext4_test_bit(i, bitmap_bh->b_data)) in __ext4_get_inode_loc() 4499 brelse(bitmap_bh); in __ext4_get_inode_loc()
|
| /linux-6.15/fs/nilfs2/ |
| H A D | alloc.c | 584 struct buffer_head *desc_bh, *bitmap_bh; in nilfs_palloc_prepare_alloc_entry() local 622 &bitmap_bh); in nilfs_palloc_prepare_alloc_entry() 649 brelse(bitmap_bh); in nilfs_palloc_prepare_alloc_entry() 666 req->pr_bitmap_bh = bitmap_bh; in nilfs_palloc_prepare_alloc_entry() 778 struct buffer_head *desc_bh, *bitmap_bh; in nilfs_palloc_prepare_free_entry() local 793 req->pr_bitmap_bh = bitmap_bh; in nilfs_palloc_prepare_free_entry() 823 struct buffer_head *desc_bh, *bitmap_bh; in nilfs_palloc_freev() local 845 &bitmap_bh); in nilfs_palloc_freev() 854 boff = nilfs_palloc_bitmap_offset(bitmap_bh); in nilfs_palloc_freev() 901 mark_buffer_dirty(bitmap_bh); in nilfs_palloc_freev() [all …]
|
| /linux-6.15/fs/ocfs2/ |
| H A D | suballoc.h | 136 struct buffer_head *bitmap_bh, 141 struct buffer_head *bitmap_bh,
|
| H A D | localalloc.c | 53 struct buffer_head **bitmap_bh); 1095 struct buffer_head **bitmap_bh) in ocfs2_local_alloc_reserve_for_window() argument 1125 *bitmap_bh = (*ac)->ac_bh; in ocfs2_local_alloc_reserve_for_window() 1126 get_bh(*bitmap_bh); in ocfs2_local_alloc_reserve_for_window()
|
| H A D | suballoc.c | 2645 struct buffer_head *bitmap_bh, in _ocfs2_free_clusters() argument 2672 status = _ocfs2_free_suballoc_bits(handle, bitmap_inode, bitmap_bh, in _ocfs2_free_clusters() 2689 struct buffer_head *bitmap_bh, in ocfs2_free_clusters() argument 2693 return _ocfs2_free_clusters(handle, bitmap_inode, bitmap_bh, in ocfs2_free_clusters() 2704 struct buffer_head *bitmap_bh, in ocfs2_release_clusters() argument 2708 return _ocfs2_free_clusters(handle, bitmap_inode, bitmap_bh, in ocfs2_release_clusters()
|