Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\iomap\buffered-io.c Create Date:2022-07-28 20:31:51
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:iomap_page_create

Proto:static struct iomap_page *iomap_page_create(struct inode *inode, struct page *page)

Type:struct iomap_page

Parameter:

TypeParameterName
struct inode *inode
struct page *page
47  iop = to_iomap_page(page)
49  If iop || i_blocksize(inode) == PAGE_SIZE Then Return iop
52  iop = Allocation memory
53  atomic_set( & read_count, 0)
54  atomic_set( & write_count, 0)
55  Process spin lock initialization( & uptodate_lock)
56  bitmap_zero(uptodate, PAGE_SIZE / SECTOR_SIZE)
62  get_page(page)
63  set_page_private(page, (unsignedlong)iop)
64  Private page markings that may be used by the filesystem that owns the page* for its own purposes.* - PG_private and PG_private_2 cause releasepage() and co to be invoked
65  Return iop
Caller
NameDescribe
iomap_readpage_actor
__iomap_write_begin
iomap_page_mkwrite_actor