Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Read a page's worth of file data into the page cache.

Proto:static struct page *vfs_dedupe_get_page(struct inode *inode, loff_t offset)

Type:struct page

Parameter:

TypeParameterName
struct inode *inode
loff_toffset
1817  page = read_mapping_page(i_mapping, offset >> PAGE_SHIFT determines the page size , NULL)
1818  If IS_ERR(page) Then Return page
1820  If Not PageUptodate(page) Then
1821  put_page(page)
1822  Return ERR_PTR( - EIO)
1824  Return page
Caller
NameDescribe
vfs_dedupe_file_range_compareCompare extents of two files to see if they are the same.* Caller must have locked both inodes to prevent write races.