Home
last modified time | relevance | path

Searched refs:b_page (Results 1 – 25 of 29) sorted by relevance

12

/linux-2.4.37.9/include/linux/
Dhighmem.h20 return kmap(bh->b_page) + bh_offset(bh); in bh_kmap()
25 kunmap(bh->b_page); in bh_kunmap()
41 if (!PageHighMem(bh->b_page)) in bh_kmap_irq()
48 addr = (unsigned long) kmap_atomic(bh->b_page, KM_BH_IRQ); in bh_kmap_irq()
Dblkdev.h190 struct page *page = bh->b_page; in blk_queue_bounce()
205 #define bh_phys(bh) (page_to_phys((bh)->b_page) + bh_offset((bh)))
Dfs.h266 struct page *b_page; /* the page this bh is mapped to */ member
295 #define touch_buffer(bh) mark_page_accessed(bh->b_page)
/linux-2.4.37.9/mm/
Dhighmem.c221 p_from = from->b_page; in copy_from_high_bh()
235 p_to = to->b_page; in copy_to_high_bh_irq()
252 page = bh->b_page; in bounce_end_io()
410 if (!PageHighMem(bh_orig->b_page)) in create_bounce()
/linux-2.4.37.9/fs/reiserfs/
Dtail_conversion.c110 if ( !unbh->b_page || buffer_uptodate(unbh) || Page_Uptodate(unbh->b_page)) { in direct2indirect()
130 memset(page_address(unbh->b_page) + pgoff, 0, n_blk_size - total_tail) ; in direct2indirect()
Dinode.c248 kunmap(bh_result->b_page) ; in _get_block_create_0()
251 if ((args & GET_BLOCK_NO_HOLE) && !Page_Uptodate(bh_result->b_page) ) { in _get_block_create_0()
275 if ((args & GET_BLOCK_NO_HOLE) && !Page_Uptodate(bh_result->b_page) ) { in _get_block_create_0()
281 kunmap(bh_result->b_page) ; in _get_block_create_0()
291 kunmap(bh_result->b_page) ; in _get_block_create_0()
308 if (Page_Uptodate(bh_result->b_page)) { in _get_block_create_0()
324 p = (char *)kmap(bh_result->b_page) ; in _get_block_create_0()
371 flush_dcache_page(bh_result->b_page) ; in _get_block_create_0()
372 kunmap(bh_result->b_page) ; in _get_block_create_0()
425 bh_result->b_page = NULL; in reiserfs_get_block_direct_io()
[all …]
Dprints.c143 bh->b_state, bh->b_page, in sprintf_buffer_head()
Dstree.c1310 data = page_address(p_s_un_bh->b_page) ; in reiserfs_delete_item()
/linux-2.4.37.9/drivers/block/
Drd.c171 if (sbh->b_page->mapping == mapping) { in rd_blkdev_pagecache_IO()
174 SetPageDirty(sbh->b_page); in rd_blkdev_pagecache_IO()
220 flush_dcache_page(sbh->b_page); in rd_blkdev_pagecache_IO()
Dloop.c340 __free_page(bh->b_page); in loop_put_buffer()
438 bh->b_page = alloc_page(GFP_NOIO); in loop_get_buffer()
439 if (bh->b_page) in loop_get_buffer()
447 bh->b_data = page_address(bh->b_page); in loop_get_buffer()
Dumem.c420 dma_handle = pci_map_page(card->dev, bh->b_page, bh_offset(bh), in add_bh()
/linux-2.4.37.9/drivers/md/
Draid5.c177 bh->b_page = page; in grow_buffers()
405 (!PageHighMem(buffer->b_page) in raid5_end_read_request()
406 || buffer->b_page == bh->b_page ) in raid5_end_read_request()
416 if (buffer->b_page != bh->b_page) in raid5_end_read_request()
426 bh->b_page = sh->bh_page[i]; in raid5_end_read_request()
427 bh->b_data = page_address(bh->b_page); in raid5_end_read_request()
973 sh->bh_page[i] = sh->bh_cache[i]->b_page; in handle_stripe()
974 sh->bh_cache[i]->b_page = sh->bh_read[i]->b_page; in handle_stripe()
Draid1.c290 r1_bh->bh_req.b_page = page; in raid1_grow_buffers()
319 __free_page(r1_bh->bh_req.b_page); in raid1_shrink_buffers()
704 mbh->b_page = bh->b_page; in raid1_make_request()
1251 mbh->b_page = bh->b_page; in raid1d()
1487 if (!bh->b_page) in raid1_sync_request()
1491 if (bh->b_data != page_address(bh->b_page)) in raid1_sync_request()
/linux-2.4.37.9/drivers/ide/pci/
Dsgiioc4.c702 if (bh->b_page) { in sgiioc4_ide_build_sglist()
721 if (bh->b_page) { in sgiioc4_ide_build_sglist()
722 sg[nents].page = bh->b_page; in sgiioc4_ide_build_sglist()
/linux-2.4.37.9/drivers/scsi/
Dscsi_merge.c934 sgpnt[count].page = bh->b_page; in __init_io()
938 if (PageHighMem(bh->b_page)) in __init_io()
1094 if (PageHighMem(bh->b_page)) in __init_io()
Dide-scsi.c1033 bh->b_page = virt_to_page(sg->address); in idescsi_dma_bh()
1036 bh->b_page = sg->page; in idescsi_dma_bh()
Dscsi_lib.c600 if (PageHighMem(req->bh->b_page)) in scsi_io_completion()
/linux-2.4.37.9/drivers/ide/
Dide-dma.c265 if (bh->b_page) { in ide_build_sglist()
284 if (bh->b_page) { in ide_build_sglist()
285 sg[nents].page = bh->b_page; in ide_build_sglist()
/linux-2.4.37.9/fs/jbd/
Djournal.c421 new_page = jh2bh(jh_in)->b_page; in journal_write_metadata_buffer()
1799 (bh->b_page && bh->b_page->mapping)); in journal_add_journal_head()
Dcommit.c60 page = bh->b_page; in release_buffer_page()
Dtransaction.c746 page = jh2bh(jh)->b_page; in do_get_write_access()
/linux-2.4.37.9/fs/
Dbuffer.c135 struct page *page = bh->b_page; in write_buffer_delay()
150 struct page *page = bh->b_page; in write_buffer()
816 page = bh->b_page; in end_buffer_io_async()
1292 bh->b_page = page; in set_bh_page()
2204 bh.b_page = NULL; in generic_direct_IO()
/linux-2.4.37.9/drivers/ide/ppc/
Dpmac.c1232 if (bh->b_page) { in pmac_ide_build_sglist()
1251 if (bh->b_page) { in pmac_ide_build_sglist()
1252 sg[nents].page = bh->b_page; in pmac_ide_build_sglist()
/linux-2.4.37.9/fs/xfs/linux-2.4/
Dxfs_buf.c1374 struct page *page = bh->b_page; in _end_io_pagebuf()
/linux-2.4.37.9/fs/jfs/
Djfs_logmgr.c1716 lbuf->l_bh.b_page = virt_to_page(lbuf->l_ldata); in lbmLogInit()

12