函数逻辑报告

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

函数名称:stream_open is used by subsystems that want stream-like file descriptors.* Such file descriptors are not seekable and don't have notion of position* (file.f_pos is always 0 and ppos passed to .read()/.write() is always NULL).

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

返回类型:int

参数:

类型参数名称
struct inode *inode
struct file *filp
1259  f_mode与等于le is seekable 按位或le can be accessed using pread 按位或le can be accessed using pwrite 按位或File needs atomic accesses to f_pos 的值的反
1260  f_mode或等于File is stream-like
1261  返回:0
调用者
名称描述
create_pipe_files
fifo_open