函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\relay.c Create Date:2022-07-27 12:52:06
Last Modify:2020-03-17 19:20:22 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:lay_file_open - open file op for relay files*@inode: the inode*@filp: the file* Increments the channel buffer refcount.

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

返回类型:int

参数:

类型参数名称
struct inode *inode
struct file *filp
897  buf等于s or device private pointer
898  对象增加引用
899  needed for tty driver, and maybe others 等于buf
901  返回:nonseekable_open(inode, filp)