Home
last modified time | relevance | path

Searched refs:sbh (Results 1 – 4 of 4) 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.c328 struct buffer_head *bh, *sbh; in bfs_fill_super() local
347 sbh = sb_bread(s, 0); in bfs_fill_super()
348 if (!sbh) in bfs_fill_super()
350 bfs_sb = (struct bfs_super_block *)sbh->b_data; in bfs_fill_super()
452 brelse(sbh); in bfs_fill_super()
460 brelse(sbh); in bfs_fill_super()
/linux/fs/ext2/
H A Dsuper.c1265 struct buffer_head *sbh = EXT2_SB(sb)->s_sbh; in ext2_clear_super_error() local
1267 if (buffer_write_io_error(sbh)) { in ext2_clear_super_error()
1278 clear_buffer_write_io_error(sbh); in ext2_clear_super_error()
1279 set_buffer_uptodate(sbh); in ext2_clear_super_error()