Home
last modified time | relevance | path

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

/linux-6.1.9/fs/udf/
Dnamei.c102 if (fibh->sbh == fibh->ebh) { in udf_write_fi()
134 if (fibh->sbh != fibh->ebh) in udf_write_fi()
136 mark_buffer_dirty_inode(fibh->sbh, inode); in udf_write_fi()
188 fibh->sbh = fibh->ebh = NULL; in udf_find_entry()
206 fibh->sbh = fibh->ebh = udf_tread(sb, block); in udf_find_entry()
207 if (!fibh->sbh) { in udf_find_entry()
230 if (fibh->sbh == fibh->ebh) { in udf_find_entry()
287 if (fibh->sbh != fibh->ebh) in udf_find_entry()
289 brelse(fibh->sbh); in udf_find_entry()
316 if (fibh.sbh != fibh.ebh) in udf_lookup()
[all …]
Ddirectory.c71 brelse(fibh->sbh); in udf_fileident_read()
72 fibh->sbh = fibh->ebh = udf_tread(dir->i_sb, block); in udf_fileident_read()
73 if (!fibh->sbh) in udf_fileident_read()
97 } else if (fibh->sbh != fibh->ebh) { in udf_fileident_read()
98 brelse(fibh->sbh); in udf_fileident_read()
99 fibh->sbh = fibh->ebh; in udf_fileident_read()
102 fi = udf_get_fileident(fibh->sbh->b_data, dir->i_sb->s_blocksize, in udf_fileident_read()
Ddir.c43 struct udf_fileident_bh fibh = { .sbh = NULL, .ebh = NULL}; in udf_readdir()
115 if (!(fibh.sbh = fibh.ebh = udf_tread(sb, block))) { in udf_readdir()
161 if (fibh.sbh == fibh.ebh) { in udf_readdir()
219 if (fibh.sbh != fibh.ebh) in udf_readdir()
221 brelse(fibh.sbh); in udf_readdir()
Dudfdecl.h90 struct buffer_head *sbh; member
Dinode.c376 sfibh.sbh = sfibh.ebh = NULL; in udf_expand_dir_adinicb()
378 dfibh.sbh = dfibh.ebh = dbh; in udf_expand_dir_adinicb()
/linux-6.1.9/fs/nilfs2/
Dpage.c99 void nilfs_copy_buffer(struct buffer_head *dbh, struct buffer_head *sbh) in nilfs_copy_buffer() argument
103 struct page *spage = sbh->b_page, *dpage = dbh->b_page; in nilfs_copy_buffer()
108 memcpy(kaddr1 + bh_offset(dbh), kaddr0 + bh_offset(sbh), sbh->b_size); in nilfs_copy_buffer()
112 dbh->b_state = sbh->b_state & NILFS_BUFFER_INHERENT_BITS; in nilfs_copy_buffer()
113 dbh->b_blocknr = sbh->b_blocknr; in nilfs_copy_buffer()
114 dbh->b_bdev = sbh->b_bdev; in nilfs_copy_buffer()
117 bits = sbh->b_state & (BIT(BH_Uptodate) | BIT(BH_Mapped)); in nilfs_copy_buffer()
198 struct buffer_head *dbh, *dbufs, *sbh; in nilfs_copy_page() local
203 sbh = page_buffers(src); in nilfs_copy_page()
205 create_empty_buffers(dst, sbh->b_size, 0); in nilfs_copy_page()
[all …]
Dthe_nilfs.c546 struct buffer_head **sbh = nilfs->ns_sbh; in nilfs_load_super_block() local
551 &sbh[0]); in nilfs_load_super_block()
552 sbp[1] = nilfs_read_super_block(sb, sb2off, blocksize, &sbh[1]); in nilfs_load_super_block()
579 brelse(sbh[1]); in nilfs_load_super_block()
580 sbh[1] = NULL; in nilfs_load_super_block()
/linux-6.1.9/fs/bfs/
Dinode.c313 struct buffer_head *bh, *sbh; in bfs_fill_super() local
331 sbh = sb_bread(s, 0); in bfs_fill_super()
332 if (!sbh) in bfs_fill_super()
334 bfs_sb = (struct bfs_super_block *)sbh->b_data; in bfs_fill_super()
436 brelse(sbh); in bfs_fill_super()
444 brelse(sbh); in bfs_fill_super()
/linux-6.1.9/fs/ext4/
Dsuper.c718 struct buffer_head *sbh = sbi->s_sbh; in flush_stashed_error_work() local
722 if (jbd2_journal_get_write_access(handle, sbh)) { in flush_stashed_error_work()
727 if (buffer_write_io_error(sbh) || !buffer_uptodate(sbh)) { in flush_stashed_error_work()
730 clear_buffer_write_io_error(sbh); in flush_stashed_error_work()
731 set_buffer_uptodate(sbh); in flush_stashed_error_work()
734 if (jbd2_journal_dirty_metadata(handle, sbh)) { in flush_stashed_error_work()
5973 struct buffer_head *sbh = sbi->s_sbh; in ext4_update_super() local
5975 lock_buffer(sbh); in ext4_update_super()
6041 unlock_buffer(sbh); in ext4_update_super()
6046 struct buffer_head *sbh = EXT4_SB(sb)->s_sbh; in ext4_commit_super() local
[all …]
/linux-6.1.9/fs/reiserfs/
Dbitmap.c422 struct buffer_head *sbh, *bmbh; in _reiserfs_free_block() local
429 sbh = SB_BUFFER_WITH_SB(s); in _reiserfs_free_block()
455 reiserfs_prepare_for_journal(s, sbh, 1); in _reiserfs_free_block()
459 journal_mark_dirty(th, sbh); in _reiserfs_free_block()
/linux-6.1.9/fs/ext2/
Dsuper.c1235 struct buffer_head *sbh = EXT2_SB(sb)->s_sbh; in ext2_clear_super_error() local
1237 if (buffer_write_io_error(sbh)) { in ext2_clear_super_error()
1248 clear_buffer_write_io_error(sbh); in ext2_clear_super_error()
1249 set_buffer_uptodate(sbh); in ext2_clear_super_error()