• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/reiserfs/

Lines Matching refs:bh_result

254 // of page (bh_result)
260 struct buffer_head *bh_result, int args)
283 kunmap(bh_result->b_page);
289 && !PageUptodate(bh_result->b_page)) {
303 map_bh(bh_result, inode->i_sb, blocknr);
306 set_buffer_boundary(bh_result);
312 && !PageUptodate(bh_result->b_page)) {
318 kunmap(bh_result->b_page);
326 kunmap(bh_result->b_page);
334 if (buffer_uptodate(bh_result)) {
343 if (!bh_result->b_page || PageUptodate(bh_result->b_page)) {
344 set_buffer_uptodate(bh_result);
357 p = (char *)kmap(bh_result->b_page);
403 flush_dcache_page(bh_result->b_page);
404 kunmap(bh_result->b_page);
415 map_bh(bh_result, inode->i_sb, 0);
416 set_buffer_uptodate(bh_result);
423 struct buffer_head *bh_result, int create)
430 _get_block_create_0(inode, block, bh_result, 0);
453 struct buffer_head *bh_result,
456 return reiserfs_get_block(inode, block, bh_result, GET_BLOCK_NO_HOLE);
463 struct buffer_head *bh_result,
468 bh_result->b_page = NULL;
473 bh_result->b_size = (1 << inode->i_blkbits);
475 ret = reiserfs_get_block(inode, iblock, bh_result,
481 if (buffer_mapped(bh_result) && bh_result->b_blocknr == 0) {
485 clear_buffer_mapped(bh_result);
510 ** bh_result is the buffer head for the hole
518 struct buffer_head *bh_result,
525 struct page *hole_page = bh_result->b_page;
528 if ((tail_offset & (bh_result->b_size - 1)) != 1)
533 tail_end = (tail_start | (bh_result->b_size - 1)) + 1;
596 struct buffer_head *bh_result, int create)
632 ret = _get_block_create_0(inode, block, bh_result,
737 set_buffer_new(bh_result);
738 if (buffer_dirty(bh_result)
740 reiserfs_add_ordered_list(inode, bh_result);
746 set_block_dev_mapped(bh_result, unfm_ptr, inode);
784 set_block_dev_mapped(bh_result,
786 set_buffer_new(bh_result);
812 bh_result for the conversion */
813 set_block_dev_mapped(bh_result,
815 unbh = bh_result;
835 convert_tail_for_hole(inode, bh_result,
945 set_block_dev_mapped(bh_result,
947 set_buffer_new(bh_result);
1978 ** On success, page_result is set to a locked, pinned page, and bh_result
1981 ** tail conversion is not done, so bh_result might not be valid for writing
1982 ** check buffer_mapped(bh_result) and bh_result->b_blocknr != 0 before
1985 ** on failure, nonzero is returned, page_result and bh_result are untouched.
1989 struct buffer_head **bh_result)
2047 *bh_result = bh;
2162 struct buffer_head *bh_result,
2185 if (!buffer_uptodate(bh_result)) {
2189 kmap(bh_result->b_page);
2217 set_block_dev_mapped(bh_result,
2221 p = page_address(bh_result->b_page);
2256 set_block_dev_mapped(bh_result, 0, inode);
2259 if (bytes_copied < bh_result->b_size &&
2286 retval = reiserfs_get_block(inode, block, bh_result,
2290 if (!buffer_mapped(bh_result)
2291 || bh_result->b_blocknr == 0) {
2298 kunmap(bh_result->b_page);
2300 if (!retval && buffer_mapped(bh_result) && bh_result->b_blocknr == 0) {
2304 lock_buffer(bh_result);
2305 clear_buffer_dirty(bh_result);
2306 unlock_buffer(bh_result);