Home
last modified time | relevance | path

Searched refs:bitmap_bh (Results 1 – 11 of 11) sorted by relevance

/fs/ext2/
A Dialloc.c110 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 …]
A Dballoc.c520 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 …]
/fs/ext4/
A Dialloc.c289 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()
1382 if (IS_ERR(bitmap_bh)) in ext4_orphan_get()
1398 brelse(bitmap_bh); in ext4_orphan_get()
1414 brelse(bitmap_bh); in ext4_orphan_get()
1419 if (bitmap_bh) in ext4_orphan_get()
1435 brelse(bitmap_bh); in ext4_orphan_get()
1458 brelse(bitmap_bh); in ext4_count_free_inodes()
1461 bitmap_bh = NULL; in ext4_count_free_inodes()
[all …]
A Dmballoc-test.c13 struct buffer_head bitmap_bh; member
220 if (grp_ctx->bitmap_bh.b_data == NULL) in mbt_grp_ctx_init()
230 kfree(grp_ctx->bitmap_bh.b_data); in mbt_grp_ctx_release()
231 grp_ctx->bitmap_bh.b_data = NULL; in mbt_grp_ctx_release()
239 mb_set_bits(grp_ctx->bitmap_bh.b_data, start, len); in mbt_ctx_mark_used()
246 return grp_ctx->bitmap_bh.b_data; in mbt_ctx_bitmap()
298 get_bh(&grp_ctx->bitmap_bh); in ext4_read_block_bitmap_nowait_stub()
299 return &grp_ctx->bitmap_bh; in ext4_read_block_bitmap_nowait_stub()
335 struct buffer_head *bitmap_bh = &grp_ctx->bitmap_bh; in ext4_mb_mark_context_stub() local
338 mb_set_bits(bitmap_bh->b_data, blkoff, len); in ext4_mb_mark_context_stub()
[all …]
A Dballoc.c781 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()
A Dmballoc.c4066 if (IS_ERR(bitmap_bh)) in ext4_mb_mark_context()
4067 return PTR_ERR(bitmap_bh); in ext4_mb_mark_context()
4147 brelse(bitmap_bh); in ext4_mb_mark_context()
5493 if (IS_ERR(bitmap_bh)) { in ext4_mb_discard_group_preallocations()
5494 err = PTR_ERR(bitmap_bh); in ext4_mb_discard_group_preallocations()
5505 put_bh(bitmap_bh); in ext4_mb_discard_group_preallocations()
5566 put_bh(bitmap_bh); in ext4_mb_discard_group_preallocations()
5669 if (IS_ERR(bitmap_bh)) { in ext4_discard_preallocations()
5683 put_bh(bitmap_bh); in ext4_discard_preallocations()
6158 if (IS_ERR(bitmap_bh)) { in ext4_mb_new_blocks_simple()
[all …]
A Dinode.c4885 struct buffer_head *bitmap_bh; in __ext4_get_inode_loc() local
4891 bitmap_bh = sb_getblk(sb, ext4_inode_bitmap(sb, gdp)); in __ext4_get_inode_loc()
4892 if (unlikely(!bitmap_bh)) in __ext4_get_inode_loc()
4900 if (!buffer_uptodate(bitmap_bh)) { in __ext4_get_inode_loc()
4901 brelse(bitmap_bh); in __ext4_get_inode_loc()
4907 if (ext4_test_bit(i, bitmap_bh->b_data)) in __ext4_get_inode_loc()
4910 brelse(bitmap_bh); in __ext4_get_inode_loc()
/fs/nilfs2/
A Dalloc.c584 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 …]
/fs/ocfs2/
A Dsuballoc.h136 struct buffer_head *bitmap_bh,
141 struct buffer_head *bitmap_bh,
A Dlocalalloc.c53 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()
A Dsuballoc.c2645 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()

Completed in 48 milliseconds