函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:If we tracked the file through the SCM inflight mechanism, we could support* any file. For now, just ensure that anything potentially problematic is done* inline.

函数原型:static bool io_file_supports_async(struct file *file)

返回类型:bool

参数:

类型参数名称
struct file *file
1487  mode等于i_mode
1489  如果S_ISBLK(mode)或S_ISCHR(mode)或S_ISSOCK(mode)则返回:true
1491  如果S_ISREG(mode)且f_op不等于io_uring_fops则返回:true
1494  返回:false
调用者
名称描述
io_read
io_write