Lines Matching refs:sbh

717 		struct buffer_head *sbh = sbi->s_sbh;  in flush_stashed_error_work()  local
721 if (jbd2_journal_get_write_access(handle, sbh)) { in flush_stashed_error_work()
726 if (buffer_write_io_error(sbh) || !buffer_uptodate(sbh)) { in flush_stashed_error_work()
729 clear_buffer_write_io_error(sbh); in flush_stashed_error_work()
730 set_buffer_uptodate(sbh); in flush_stashed_error_work()
733 if (jbd2_journal_dirty_metadata(handle, sbh)) { in flush_stashed_error_work()
6001 struct buffer_head *sbh = sbi->s_sbh; in ext4_update_super() local
6003 lock_buffer(sbh); in ext4_update_super()
6069 unlock_buffer(sbh); in ext4_update_super()
6074 struct buffer_head *sbh = EXT4_SB(sb)->s_sbh; in ext4_commit_super() local
6076 if (!sbh) in ext4_commit_super()
6083 lock_buffer(sbh); in ext4_commit_super()
6085 if (!buffer_mapped(sbh)) { in ext4_commit_super()
6086 unlock_buffer(sbh); in ext4_commit_super()
6090 if (buffer_write_io_error(sbh) || !buffer_uptodate(sbh)) { in ext4_commit_super()
6101 clear_buffer_write_io_error(sbh); in ext4_commit_super()
6102 set_buffer_uptodate(sbh); in ext4_commit_super()
6104 get_bh(sbh); in ext4_commit_super()
6106 clear_buffer_dirty(sbh); in ext4_commit_super()
6107 sbh->b_end_io = end_buffer_write_sync; in ext4_commit_super()
6109 (test_opt(sb, BARRIER) ? REQ_FUA : 0), sbh); in ext4_commit_super()
6110 wait_on_buffer(sbh); in ext4_commit_super()
6111 if (buffer_write_io_error(sbh)) { in ext4_commit_super()
6114 clear_buffer_write_io_error(sbh); in ext4_commit_super()
6115 set_buffer_uptodate(sbh); in ext4_commit_super()