Lines Matching refs:bh
1296 struct buffer_head *bh;
1308 bh = ufs_bread(inode, blk, 0, &err);
1311 if (!bh) /* A hole? */
1314 memcpy(data, bh->b_data+offset, tocopy);
1315 brelse(bh);
1335 struct buffer_head *bh;
1342 bh = ufs_bread(inode, blk, 1, &err);
1343 if (!bh)
1345 lock_buffer(bh);
1346 memcpy(bh->b_data+offset, data, tocopy);
1347 flush_dcache_page(bh->b_page);
1348 set_buffer_uptodate(bh);
1349 mark_buffer_dirty(bh);
1350 unlock_buffer(bh);
1351 brelse(bh);