Home
last modified time | relevance | path

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

/openbmc/linux/fs/exfat/
H A 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()
/openbmc/linux/fs/fat/
H A 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()
/openbmc/linux/fs/reiserfs/
H A Djournal.c2053 c_bh = in journal_transaction_is_valid()
2058 if (!c_bh) in journal_transaction_is_valid()
2069 brelse(c_bh); in journal_transaction_is_valid()
2081 brelse(c_bh); in journal_transaction_is_valid()
2155 if (!c_bh) { in journal_read_transaction()
2168 brelse(c_bh); in journal_read_transaction()
2176 brelse(c_bh); in journal_read_transaction()
2193 brelse(c_bh); in journal_read_transaction()
2235 brelse(c_bh); in journal_read_transaction()
2304 brelse(c_bh); in journal_read_transaction()
[all …]