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

Name:iomap_block_needs_zeroing

Proto:static inline bool iomap_block_needs_zeroing(struct inode *inode, struct iomap *iomap, loff_t pos)

Type:bool

Parameter:

TypeParameterName
struct inode *inode
struct iomap *iomap
loff_tpos
245  Return 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 access || pos >= 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
Caller
NameDescribe
iomap_readpage_actor
__iomap_write_begin