函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:We can merge two adjacent ioends if they have the same set of work to do.

函数原型:static bool iomap_ioend_can_merge(struct iomap_ioend *ioend, struct iomap_ioend *next)

返回类型:bool

参数:

类型参数名称
struct iomap_ioend *ioend
struct iomap_ioend *next
1198  如果bi_status不等于bi_status则返回:false
1200  如果IOMAP_F_* 按位与IOMAP_F_SHARED按位异或IOMAP_F_* 按位与IOMAP_F_SHARED则返回:false
1203  如果io_type恒等于locks allocated at @addr in unwritten state 按位异或io_type恒等于locks allocated at @addr in unwritten state 则返回:false
1206  如果ffset in the file size of the extent 不等于ffset in the file 则返回:false
1208  返回:true
调用者
名称描述
iomap_ioend_try_merge