Home
last modified time | relevance | path

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

/linux/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 …]
/linux/fs/ext4/
A Dialloc.c288 if (IS_ERR(bitmap_bh)) { in ext4_free_inode()
290 bitmap_bh = NULL; in ext4_free_inode()
359 brelse(bitmap_bh); in ext4_free_inode()
1378 if (IS_ERR(bitmap_bh)) in ext4_orphan_get()
1394 brelse(bitmap_bh); in ext4_orphan_get()
1410 brelse(bitmap_bh); in ext4_orphan_get()
1415 if (bitmap_bh) in ext4_orphan_get()
1431 brelse(bitmap_bh); in ext4_orphan_get()
1454 brelse(bitmap_bh); in ext4_count_free_inodes()
1457 bitmap_bh = NULL; in ext4_count_free_inodes()
[all …]
A Dmballoc-test.c13 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 …]
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.c3998 if (IS_ERR(bitmap_bh)) in ext4_mb_mark_context()
3999 return PTR_ERR(bitmap_bh); in ext4_mb_mark_context()
4079 brelse(bitmap_bh); in ext4_mb_mark_context()
5425 if (IS_ERR(bitmap_bh)) { in ext4_mb_discard_group_preallocations()
5426 err = PTR_ERR(bitmap_bh); in ext4_mb_discard_group_preallocations()
5437 put_bh(bitmap_bh); in ext4_mb_discard_group_preallocations()
5498 put_bh(bitmap_bh); in ext4_mb_discard_group_preallocations()
5601 if (IS_ERR(bitmap_bh)) { in ext4_discard_preallocations()
5615 put_bh(bitmap_bh); in ext4_discard_preallocations()
6090 if (IS_ERR(bitmap_bh)) { in ext4_mb_new_blocks_simple()
[all …]
A Dinode.c4427 struct buffer_head *bitmap_bh; in __ext4_get_inode_loc() local
4433 bitmap_bh = sb_getblk(sb, ext4_inode_bitmap(sb, gdp)); in __ext4_get_inode_loc()
4434 if (unlikely(!bitmap_bh)) in __ext4_get_inode_loc()
4442 if (!buffer_uptodate(bitmap_bh)) { in __ext4_get_inode_loc()
4443 brelse(bitmap_bh); in __ext4_get_inode_loc()
4449 if (ext4_test_bit(i, bitmap_bh->b_data)) in __ext4_get_inode_loc()
4452 brelse(bitmap_bh); in __ext4_get_inode_loc()
/linux/fs/nilfs2/
A Dalloc.c506 struct buffer_head *desc_bh, *bitmap_bh; in nilfs_palloc_prepare_alloc_entry() local
544 &bitmap_bh); in nilfs_palloc_prepare_alloc_entry()
569 brelse(bitmap_bh); in nilfs_palloc_prepare_alloc_entry()
586 req->pr_bitmap_bh = bitmap_bh; in nilfs_palloc_prepare_alloc_entry()
696 struct buffer_head *desc_bh, *bitmap_bh; in nilfs_palloc_prepare_free_entry() local
711 req->pr_bitmap_bh = bitmap_bh; in nilfs_palloc_prepare_free_entry()
739 struct buffer_head *desc_bh, *bitmap_bh; in nilfs_palloc_freev() local
761 &bitmap_bh); in nilfs_palloc_freev()
771 bitmap = bitmap_kaddr + bh_offset(bitmap_bh); in nilfs_palloc_freev()
817 mark_buffer_dirty(bitmap_bh); in nilfs_palloc_freev()
[all …]
/linux/fs/ocfs2/
A Dsuballoc.h135 struct buffer_head *bitmap_bh,
140 struct buffer_head *bitmap_bh,
A Dlocalalloc.c53 struct buffer_head **bitmap_bh);
1112 struct buffer_head **bitmap_bh) in ocfs2_local_alloc_reserve_for_window() argument
1142 *bitmap_bh = (*ac)->ac_bh; in ocfs2_local_alloc_reserve_for_window()
1143 get_bh(*bitmap_bh); in ocfs2_local_alloc_reserve_for_window()
A Dsuballoc.c2619 struct buffer_head *bitmap_bh, in _ocfs2_free_clusters() argument
2646 status = _ocfs2_free_suballoc_bits(handle, bitmap_inode, bitmap_bh, in _ocfs2_free_clusters()
2663 struct buffer_head *bitmap_bh, in ocfs2_free_clusters() argument
2667 return _ocfs2_free_clusters(handle, bitmap_inode, bitmap_bh, in ocfs2_free_clusters()
2678 struct buffer_head *bitmap_bh, in ocfs2_release_clusters() argument
2682 return _ocfs2_free_clusters(handle, bitmap_inode, bitmap_bh, in ocfs2_release_clusters()

Completed in 45 milliseconds