• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/ext3/

Lines Matching defs:bitmap_bh

477 	struct buffer_head *bitmap_bh = NULL;
517 brelse(bitmap_bh);
518 bitmap_bh = read_block_bitmap(sb, block_group);
519 if (!bitmap_bh)
543 BUFFER_TRACE(bitmap_bh, "getting undo access");
544 err = ext3_journal_get_undo_access(handle, bitmap_bh);
558 jbd_lock_bh_state(bitmap_bh);
565 jbd_unlock_bh_state(bitmap_bh);
571 if (!bh2jh(bitmap_bh)->b_committed_data)
574 BUFFER_TRACE2(debug_bh, bitmap_bh, "bitmap");
578 jbd_lock_bh_state(bitmap_bh);
581 jbd_unlock_bh_state(bitmap_bh);
583 jbd_lock_bh_state(bitmap_bh);
603 BUFFER_TRACE(bitmap_bh, "set in b_committed_data");
604 J_ASSERT_BH(bitmap_bh,
605 bh2jh(bitmap_bh)->b_committed_data != NULL);
607 bh2jh(bitmap_bh)->b_committed_data);
614 BUFFER_TRACE(bitmap_bh, "clear bit");
616 bit + i, bitmap_bh->b_data)) {
617 jbd_unlock_bh_state(bitmap_bh);
621 jbd_lock_bh_state(bitmap_bh);
622 BUFFER_TRACE(bitmap_bh, "bit already cleared");
627 jbd_unlock_bh_state(bitmap_bh);
635 BUFFER_TRACE(bitmap_bh, "dirtied bitmap block");
636 err = ext3_journal_dirty_metadata(handle, bitmap_bh);
651 brelse(bitmap_bh);
842 * @bitmap_bh: bufferhead holds the block bitmap
863 struct buffer_head *bitmap_bh, ext3_grpblk_t grp_goal,
897 if (grp_goal < 0 || !ext3_test_allocatable(grp_goal, bitmap_bh)) {
898 grp_goal = find_next_usable_block(start, bitmap_bh, end);
906 bitmap_bh);
914 grp_goal, bitmap_bh)) {
928 && ext3_test_allocatable(grp_goal, bitmap_bh)
930 grp_goal, bitmap_bh)) {
1093 * @bitmap_bh: the block group block bitmap
1098 unsigned int group, struct buffer_head *bitmap_bh)
1191 bitmap_bh, group_end_block - group_first_block + 1);
1270 * @bitmap_bh: bufferhead holds the block bitmap
1296 unsigned int group, struct buffer_head *bitmap_bh,
1313 BUFFER_TRACE(bitmap_bh, "get undo access for new block");
1314 fatal = ext3_journal_get_undo_access(handle, bitmap_bh);
1327 ret = ext3_try_to_allocate(sb, handle, group, bitmap_bh,
1362 group, bitmap_bh);
1383 ret = ext3_try_to_allocate(sb, handle, group, bitmap_bh,
1394 BUFFER_TRACE(bitmap_bh, "journal_dirty_metadata for "
1396 fatal = ext3_journal_dirty_metadata(handle, bitmap_bh);
1404 BUFFER_TRACE(bitmap_bh, "journal_release_buffer");
1405 ext3_journal_release_buffer(handle, bitmap_bh);
1468 struct buffer_head *bitmap_bh = NULL;
1555 bitmap_bh = read_block_bitmap(sb, group_no);
1556 if (!bitmap_bh)
1559 group_no, bitmap_bh, grp_target_blk,
1596 brelse(bitmap_bh);
1597 bitmap_bh = read_block_bitmap(sb, group_no);
1598 if (!bitmap_bh)
1604 group_no, bitmap_bh, -1, my_rsv,
1667 BUFFER_TRACE2(debug_bh, bitmap_bh, "bitmap state");
1671 jbd_lock_bh_state(bitmap_bh);
1673 if (buffer_jbd(bitmap_bh) && bh2jh(bitmap_bh)->b_committed_data) {
1678 bh2jh(bitmap_bh)->b_committed_data)) {
1686 jbd_unlock_bh_state(bitmap_bh);
1719 brelse(bitmap_bh);
1736 brelse(bitmap_bh);
1764 struct buffer_head *bitmap_bh = NULL;
1777 brelse(bitmap_bh);
1778 bitmap_bh = read_block_bitmap(sb, i);
1779 if (bitmap_bh == NULL)
1782 x = ext3_count_free(bitmap_bh, sb->s_blocksize);
1787 brelse(bitmap_bh);