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:54
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:iomap_truncate_page

Proto:int iomap_truncate_page(struct inode *inode, loff_t pos, bool *did_zero, const struct iomap_ops *ops)

Type:int

Parameter:

TypeParameterName
struct inode *inode
loff_tpos
bool *did_zero
const struct iomap_ops *ops
1044  blocksize = i_blocksize(inode)
1045  off = pos & blocksize - 1
1048  If Not off Then Return 0
1050  Return iomap_zero_range(inode, pos, blocksize - off, did_zero, ops)