函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:iomap_block_needs_zeroing

函数原型:static inline bool iomap_block_needs_zeroing(struct inode *inode, struct iomap *iomap, loff_t pos)

返回类型:bool

参数:

类型参数名称
struct inode *inode
struct iomap *iomap
loff_tpos
245  返回: type of mapping 不等于locks allocated at @addr flags for mapping 按位与Flags reported by the file system from iomap_begin:* IOMAP_F_NEW indicates that the blocks have been newly allocated and need* zeroing for areas that no data is copied to.* IOMAP_F_DIRTY indicates the inode has uncommitted metadata needed to accesspos大于等于NOTE: in a 32bit arch with a preemptable kernel and* an UP compile the i_size_read/write must be atomic* with respect to the local cpu (unlike with preempt disabled),* but they don't need to be atomic with respect to other cpus like in* true SMP (so they
调用者
名称描述
iomap_readpage_actor
__iomap_write_begin