Home
last modified time | relevance | path

Searched refs:sbh (Results 1 – 5 of 5) sorted by relevance

/linux/fs/nilfs2/
H A Dpage.c100 void nilfs_copy_buffer(struct buffer_head *dbh, struct buffer_head *sbh) in nilfs_copy_buffer() argument
104 struct folio *sfolio = sbh->b_folio, *dfolio = dbh->b_folio; in nilfs_copy_buffer()
107 saddr = kmap_local_folio(sfolio, bh_offset(sbh)); in nilfs_copy_buffer()
109 memcpy(daddr, saddr, sbh->b_size); in nilfs_copy_buffer()
113 dbh->b_state = sbh->b_state & NILFS_BUFFER_INHERENT_BITS; in nilfs_copy_buffer()
114 dbh->b_blocknr = sbh->b_blocknr; in nilfs_copy_buffer()
115 dbh->b_bdev = sbh->b_bdev; in nilfs_copy_buffer()
118 bits = sbh->b_state & (BIT(BH_Uptodate) | BIT(BH_Mapped)); in nilfs_copy_buffer()
200 struct buffer_head *dbh, *dbufs, *sbh; in nilfs_copy_folio() local
205 sbh = folio_buffers(src); in nilfs_copy_folio()
[all …]
H A Dthe_nilfs.c610 struct buffer_head **sbh = nilfs->ns_sbh; in nilfs_load_super_block() local
621 &sbh[0]); in nilfs_load_super_block()
622 sbp[1] = nilfs_read_super_block(sb, sb2off, blocksize, &sbh[1]); in nilfs_load_super_block()
649 brelse(sbh[1]); in nilfs_load_super_block()
650 sbh[1] = NULL; in nilfs_load_super_block()
/linux/fs/bfs/
H A Dinode.c332 struct buffer_head *bh, *sbh; in bfs_fill_super()
351 sbh = sb_bread(s, 0); in bfs_fill_super()
352 if (!sbh) in bfs_fill_super()
354 bfs_sb = (struct bfs_super_block *)sbh->b_data; in bfs_fill_super()
456 brelse(sbh); in bfs_fill_super()
464 brelse(sbh); in bfs_fill_super()
328 struct buffer_head *bh, *sbh; bfs_fill_super() local
/linux/fs/ext4/
H A Dsuper.c762 struct buffer_head *sbh = sbi->s_sbh; in update_super_work() local
768 if (jbd2_journal_get_write_access(handle, sbh)) { in update_super_work()
777 if (buffer_write_io_error(sbh) || !buffer_uptodate(sbh)) { in update_super_work()
780 clear_buffer_write_io_error(sbh); in update_super_work()
781 set_buffer_uptodate(sbh); in update_super_work()
784 if (jbd2_journal_dirty_metadata(handle, sbh)) { in update_super_work()
6212 struct buffer_head *sbh = sbi->s_sbh; in ext4_update_super()
6214 lock_buffer(sbh); in ext4_update_super()
6280 unlock_buffer(sbh);
6210 struct buffer_head *sbh = sbi->s_sbh; ext4_update_super() local
6283 struct buffer_head *sbh = EXT4_SB(sb)->s_sbh; ext4_commit_super() local
[all...]
/linux/fs/ext2/
H A Dsuper.c1264 struct buffer_head *sbh = EXT2_SB(sb)->s_sbh; in ext2_clear_super_error()
1266 if (buffer_write_io_error(sbh)) { in ext2_clear_super_error()
1277 clear_buffer_write_io_error(sbh); in ext2_clear_super_error()
1278 set_buffer_uptodate(sbh); in ext2_clear_super_error()
1263 struct buffer_head *sbh = EXT2_SB(sb)->s_sbh; ext2_clear_super_error() local