Lines Matching refs:sbh
770 struct buffer_head *sbh = sbi->s_sbh; in update_super_work() local
775 if (jbd2_journal_get_write_access(handle, sbh)) { in update_super_work()
784 if (buffer_write_io_error(sbh) || !buffer_uptodate(sbh)) { in update_super_work()
787 clear_buffer_write_io_error(sbh); in update_super_work()
788 set_buffer_uptodate(sbh); in update_super_work()
791 if (jbd2_journal_dirty_metadata(handle, sbh)) { in update_super_work()
6102 struct buffer_head *sbh = sbi->s_sbh; in ext4_update_super() local
6104 lock_buffer(sbh); in ext4_update_super()
6170 unlock_buffer(sbh); in ext4_update_super()
6175 struct buffer_head *sbh = EXT4_SB(sb)->s_sbh; in ext4_commit_super() local
6177 if (!sbh) in ext4_commit_super()
6184 lock_buffer(sbh); in ext4_commit_super()
6186 if (!buffer_mapped(sbh)) { in ext4_commit_super()
6187 unlock_buffer(sbh); in ext4_commit_super()
6191 if (buffer_write_io_error(sbh) || !buffer_uptodate(sbh)) { in ext4_commit_super()
6202 clear_buffer_write_io_error(sbh); in ext4_commit_super()
6203 set_buffer_uptodate(sbh); in ext4_commit_super()
6205 get_bh(sbh); in ext4_commit_super()
6207 clear_buffer_dirty(sbh); in ext4_commit_super()
6208 sbh->b_end_io = end_buffer_write_sync; in ext4_commit_super()
6210 (test_opt(sb, BARRIER) ? REQ_FUA : 0), sbh); in ext4_commit_super()
6211 wait_on_buffer(sbh); in ext4_commit_super()
6212 if (buffer_write_io_error(sbh)) { in ext4_commit_super()
6215 clear_buffer_write_io_error(sbh); in ext4_commit_super()
6216 set_buffer_uptodate(sbh); in ext4_commit_super()