• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/fs/reiserfs/

Lines Matching defs:bh_result

237 // of page (bh_result)
243 struct buffer_head *bh_result, int args)
268 kunmap(bh_result->b_page);
274 && !PageUptodate(bh_result->b_page)) {
288 map_bh(bh_result, inode->i_sb, blocknr);
291 set_buffer_boundary(bh_result);
297 && !PageUptodate(bh_result->b_page)) {
303 kunmap(bh_result->b_page);
311 kunmap(bh_result->b_page);
319 if (buffer_uptodate(bh_result)) {
328 if (!bh_result->b_page || PageUptodate(bh_result->b_page)) {
329 set_buffer_uptodate(bh_result);
343 p = (char *)kmap(bh_result->b_page);
393 flush_dcache_page(bh_result->b_page);
394 kunmap(bh_result->b_page);
405 map_bh(bh_result, inode->i_sb, 0);
406 set_buffer_uptodate(bh_result);
413 struct buffer_head *bh_result, int create)
420 _get_block_create_0(inode, block, bh_result, 0);
443 struct buffer_head *bh_result,
446 return reiserfs_get_block(inode, block, bh_result, GET_BLOCK_NO_HOLE);
453 struct buffer_head *bh_result,
458 bh_result->b_page = NULL;
463 bh_result->b_size = (1 << inode->i_blkbits);
465 ret = reiserfs_get_block(inode, iblock, bh_result,
471 if (buffer_mapped(bh_result) && bh_result->b_blocknr == 0) {
475 clear_buffer_mapped(bh_result);
496 ** bh_result is the buffer head for the hole
504 struct buffer_head *bh_result,
511 struct page *hole_page = bh_result->b_page;
514 if ((tail_offset & (bh_result->b_size - 1)) != 1)
519 tail_end = (tail_start | (bh_result->b_size - 1)) + 1;
582 struct buffer_head *bh_result, int create)
618 ret = _get_block_create_0(inode, block, bh_result,
723 set_buffer_new(bh_result);
724 if (buffer_dirty(bh_result)
726 reiserfs_add_ordered_list(inode, bh_result);
732 set_block_dev_mapped(bh_result, unfm_ptr, inode);
770 set_block_dev_mapped(bh_result,
772 set_buffer_new(bh_result);
798 bh_result for the conversion */
799 set_block_dev_mapped(bh_result,
801 unbh = bh_result;
821 convert_tail_for_hole(inode, bh_result,
929 set_block_dev_mapped(bh_result,
931 set_buffer_new(bh_result);
1976 ** On success, page_result is set to a locked, pinned page, and bh_result
1979 ** tail conversion is not done, so bh_result might not be valid for writing
1980 ** check buffer_mapped(bh_result) and bh_result->b_blocknr != 0 before
1983 ** on failure, nonzero is returned, page_result and bh_result are untouched.
1987 struct buffer_head **bh_result)
2047 *bh_result = bh;
2157 struct buffer_head *bh_result,
2180 if (!buffer_uptodate(bh_result)) {
2184 kmap(bh_result->b_page);
2213 set_block_dev_mapped(bh_result,
2217 p = page_address(bh_result->b_page);
2252 set_block_dev_mapped(bh_result, 0, inode);
2255 if (bytes_copied < bh_result->b_size &&
2283 retval = reiserfs_get_block(inode, block, bh_result,
2287 if (!buffer_mapped(bh_result)
2288 || bh_result->b_blocknr == 0) {
2295 kunmap(bh_result->b_page);
2297 if (!retval && buffer_mapped(bh_result) && bh_result->b_blocknr == 0) {
2301 lock_buffer(bh_result);
2302 clear_buffer_dirty(bh_result);
2303 unlock_buffer(bh_result);