函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\open.c Create Date:2022-07-29 10:31:02
Last Modify:2020-03-18 10:16:03 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:This is used by subsystems that don't want seekable* file descriptors. The function is not supposed to ever fail, the only* reason it returns an 'int' and not 'void' is so that it can be plugged* directly into file_operations structure.

函数原型:int nonseekable_open(struct inode *inode, struct file *filp)

返回类型:int

参数:

类型参数名称
struct inode *inode
struct file *filp
1241  f_mode与等于le is seekable 按位或le can be accessed using pread 按位或le can be accessed using pwrite 的值的反
1242  返回:0
调用者
名称描述
kcov_open
relay_file_openlay_file_open - open file op for relay files*@inode: the inode*@filp: the file* Increments the channel buffer refcount.
tracing_open_pipe
tracing_buffers_open
simple_attr_opensimple_attr_open is called by an actual attribute open file operation* to set the attribute specific access operations.
snapshot_open