函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\iomap\buffered-io.c Create Date:2022-07-29 11:07:24
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:iomap_zero

函数原型:static int iomap_zero(struct inode *inode, loff_t pos, unsigned offset, unsigned bytes, struct iomap *iomap, struct iomap *srcmap)

返回类型:int

参数:

类型参数名称
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  如果status则返回: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  返回:iomap_write_end(inode, pos, bytes, bytes, page, iomap, srcmap)
调用者
名称描述
iomap_zero_range_actor