Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\buffer.c Create Date:2022-07-28 20:14:09
Last Modify:2020-03-18 10:38:29 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:set_bh_page

Proto:void set_bh_page(struct buffer_head *bh, struct page *page, unsigned long offset)

Type:void

Parameter:

TypeParameterName
struct buffer_head *bh
struct page *page
unsigned longoffset
1443  the page this bh is mapped to = page
1444  BUG_ON(offset >= PAGE_SIZE)
1445  If PageHighMem(page) Then pointer to data within the page = 0 + offset
1450  Else pointer to data within the page = page_address(page) + offset
Caller
NameDescribe
alloc_page_buffersCreate the appropriate buffers when given a page for data area and* the size of each buffer