Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\relay.c Create Date:2022-07-28 11:47:17
Last Modify:2020-03-17 19:20:22 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:lay_file_open - open file op for relay files*@inode: the inode*@filp: the file* Increments the channel buffer refcount.

Proto:static int relay_file_open(struct inode *inode, struct file *filp)

Type:int

Parameter:

TypeParameterName
struct inode *inode
struct file *filp
897  buf = s or device private pointer
898  kref_get - increment refcount for object.*@kref: object.
899  needed for tty driver, and maybe others = buf
901  Return nonseekable_open(inode, filp)