函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\read_write.c Create Date:2022-07-29 10:31:32
Last Modify:2020-03-18 10:18:51 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Read a page's worth of file data into the page cache.

函数原型:static struct page *vfs_dedupe_get_page(struct inode *inode, loff_t offset)

返回类型:struct page

参数:

类型参数名称
struct inode *inode
loff_toffset
1817  page等于read_mapping_page(i_mapping, offset >> PAGE_SHIFT determines the page size , NULL)
1818  如果是错误则返回:page
1820  如果非PageUptodate(page)则
1821  put_page(page)
1822  返回:错误号
1824  返回:page
调用者
名称描述
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.