Lines Matching refs:sbh

718 		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
6048 if (!sbh) in ext4_commit_super()
6055 lock_buffer(sbh); in ext4_commit_super()
6057 if (!buffer_mapped(sbh)) { in ext4_commit_super()
6058 unlock_buffer(sbh); in ext4_commit_super()
6062 if (buffer_write_io_error(sbh) || !buffer_uptodate(sbh)) { in ext4_commit_super()
6073 clear_buffer_write_io_error(sbh); in ext4_commit_super()
6074 set_buffer_uptodate(sbh); in ext4_commit_super()
6076 get_bh(sbh); in ext4_commit_super()
6078 clear_buffer_dirty(sbh); in ext4_commit_super()
6079 sbh->b_end_io = end_buffer_write_sync; in ext4_commit_super()
6081 (test_opt(sb, BARRIER) ? REQ_FUA : 0), sbh); in ext4_commit_super()
6082 wait_on_buffer(sbh); in ext4_commit_super()
6083 if (buffer_write_io_error(sbh)) { in ext4_commit_super()
6086 clear_buffer_write_io_error(sbh); in ext4_commit_super()
6087 set_buffer_uptodate(sbh); in ext4_commit_super()