Home
last modified time | relevance | path

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

/linux-6.12.1/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()
/linux-6.12.1/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()
/linux-6.12.1/fs/reiserfs/
Djournal.c2010 struct buffer_head *c_bh; in journal_transaction_is_valid() local
2052 c_bh = in journal_transaction_is_valid()
2057 if (!c_bh) in journal_transaction_is_valid()
2059 commit = (struct reiserfs_journal_commit *)c_bh->b_data; in journal_transaction_is_valid()
2064 c_bh->b_blocknr - in journal_transaction_is_valid()
2068 brelse(c_bh); in journal_transaction_is_valid()
2080 brelse(c_bh); in journal_transaction_is_valid()
2118 struct buffer_head *c_bh; in journal_read_transaction() local
2151 c_bh = journal_bread(sb, SB_ONDISK_JOURNAL_1st_BLOCK(sb) + in journal_read_transaction()
2154 if (!c_bh) { in journal_read_transaction()
[all …]