Lines Matching refs:bh
38 struct buffer_head *bh; in bfs_iget() local
53 bh = sb_bread(inode->i_sb, block); in bfs_iget()
54 if (!bh) { in bfs_iget()
61 di = (struct bfs_inode *)bh->b_data + off; in bfs_iget()
90 brelse(bh); in bfs_iget()
123 struct buffer_head *bh; in bfs_write_inode() local
128 di = find_inode(inode->i_sb, ino, &bh); in bfs_write_inode()
152 mark_buffer_dirty(bh); in bfs_write_inode()
154 sync_dirty_buffer(bh); in bfs_write_inode()
155 if (buffer_req(bh) && !buffer_uptodate(bh)) in bfs_write_inode()
158 brelse(bh); in bfs_write_inode()
167 struct buffer_head *bh; in bfs_evict_inode() local
181 di = find_inode(s, inode->i_ino, &bh); in bfs_evict_inode()
188 mark_buffer_dirty(bh); in bfs_evict_inode()
189 brelse(bh); in bfs_evict_inode()
322 struct buffer_head *bh, *sbh; in bfs_fill_super() local
387 bh = sb_bread(s, info->si_blocks - 1); in bfs_fill_super()
388 if (!bh) { in bfs_fill_super()
393 brelse(bh); in bfs_fill_super()
395 bh = NULL; in bfs_fill_super()
403 brelse(bh); in bfs_fill_super()
404 bh = sb_bread(s, block); in bfs_fill_super()
407 if (!bh) in bfs_fill_super()
410 di = (struct bfs_inode *)bh->b_data + off; in bfs_fill_super()
427 brelse(bh); in bfs_fill_super()
443 brelse(bh); in bfs_fill_super()