Searched refs:c_bh (Results 1 – 3 of 3) sorted by relevance
17 struct buffer_head *c_bh; in exfat_mirror_bh() local24 c_bh = sb_getblk(sb, sec2); in exfat_mirror_bh()25 if (!c_bh) in exfat_mirror_bh()27 memcpy(c_bh->b_data, bh->b_data, sb->s_blocksize); in exfat_mirror_bh()28 set_buffer_uptodate(c_bh); in exfat_mirror_bh()29 mark_buffer_dirty(c_bh); in exfat_mirror_bh()31 err = sync_dirty_buffer(c_bh); in exfat_mirror_bh()32 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()
2011 struct buffer_head *c_bh; in journal_transaction_is_valid() local2053 c_bh = in journal_transaction_is_valid()2058 if (!c_bh) in journal_transaction_is_valid()2060 commit = (struct reiserfs_journal_commit *)c_bh->b_data; in journal_transaction_is_valid()2065 c_bh->b_blocknr - in journal_transaction_is_valid()2069 brelse(c_bh); in journal_transaction_is_valid()2081 brelse(c_bh); in journal_transaction_is_valid()2119 struct buffer_head *c_bh; in journal_read_transaction() local2152 c_bh = journal_bread(sb, SB_ONDISK_JOURNAL_1st_BLOCK(sb) + in journal_read_transaction()2155 if (!c_bh) { in journal_read_transaction()[all …]