Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\open.c Create Date:2022-07-28 20:01:00
Last Modify:2020-03-18 10:16:03 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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.

Proto:int nonseekable_open(struct inode *inode, struct file *filp)

Type:int

Parameter:

TypeParameterName
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  Return 0
Caller
NameDescribe
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.