Searched refs:c_bh (Results 1 – 3 of 3) sorted by relevance
16 struct buffer_head *c_bh; in exfat_mirror_bh() local23 c_bh = sb_getblk(sb, sec2); in exfat_mirror_bh()24 if (!c_bh) in exfat_mirror_bh()26 memcpy(c_bh->b_data, bh->b_data, sb->s_blocksize); in exfat_mirror_bh()27 set_buffer_uptodate(c_bh); in exfat_mirror_bh()28 mark_buffer_dirty(c_bh); in exfat_mirror_bh()30 err = sync_dirty_buffer(c_bh); in exfat_mirror_bh()31 brelse(c_bh); in exfat_mirror_bh()
380 struct buffer_head *c_bh; in fat_mirror_bhs() local388 c_bh = sb_getblk(sb, backup_fat + bhs[n]->b_blocknr); in fat_mirror_bhs()389 if (!c_bh) { in fat_mirror_bhs()394 lock_buffer(c_bh); in fat_mirror_bhs()395 memcpy(c_bh->b_data, bhs[n]->b_data, sb->s_blocksize); in fat_mirror_bhs()396 set_buffer_uptodate(c_bh); in fat_mirror_bhs()397 unlock_buffer(c_bh); in fat_mirror_bhs()398 mark_buffer_dirty_inode(c_bh, sbi->fat_inode); in fat_mirror_bhs()400 err = sync_dirty_buffer(c_bh); in fat_mirror_bhs()401 brelse(c_bh); in fat_mirror_bhs()
2008 struct buffer_head *c_bh; in journal_transaction_is_valid() local2050 c_bh = in journal_transaction_is_valid()2055 if (!c_bh) in journal_transaction_is_valid()2057 commit = (struct reiserfs_journal_commit *)c_bh->b_data; in journal_transaction_is_valid()2062 c_bh->b_blocknr - in journal_transaction_is_valid()2066 brelse(c_bh); in journal_transaction_is_valid()2078 brelse(c_bh); in journal_transaction_is_valid()2116 struct buffer_head *c_bh; in journal_read_transaction() local2149 c_bh = journal_bread(sb, SB_ONDISK_JOURNAL_1st_BLOCK(sb) + in journal_read_transaction()2152 if (!c_bh) { in journal_read_transaction()[all …]