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_zero

Proto:static int iomap_zero(struct inode *inode, loff_t pos, unsigned offset, unsigned bytes, struct iomap *iomap, struct iomap *srcmap)

Type:int

Parameter:

TypeParameterName
struct inode *inode
loff_tpos
unsignedoffset
unsignedbytes
struct iomap *iomap
struct iomap *srcmap
967  status = iomap_write_begin(inode, pos, bytes, 0, & page, iomap, srcmap)
968  If status Then Return status
971  zero_user(page, offset, bytes)
972  Mark a page as having seen activity.* inactive,unreferenced -> inactive,referenced* inactive,referenced -> active,unreferenced* active,unreferenced -> active,referenced* When a newly allocated page is not yet visible, so safe for non-atomic ops,
974  Return iomap_write_end(inode, pos, bytes, bytes, page, iomap, srcmap)
Caller
NameDescribe
iomap_zero_range_actor