Home
last modified time | relevance | path

Searched refs:c_bh (Results 1 – 3 of 3) sorted by relevance

/fs/exfat/
Dfatent.c17 struct buffer_head *c_bh; in exfat_mirror_bh() local
24 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()
/fs/fat/
Dfatent.c380 struct buffer_head *c_bh; in fat_mirror_bhs() local
388 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()
/fs/reiserfs/
Djournal.c2008 struct buffer_head *c_bh; in journal_transaction_is_valid() local
2050 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() local
2149 c_bh = journal_bread(sb, SB_ONDISK_JOURNAL_1st_BLOCK(sb) + in journal_read_transaction()
2152 if (!c_bh) { in journal_read_transaction()
[all …]