Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\bsg.c Create Date:2022-07-28 17:37:43
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:bsg_open

Proto:static int bsg_open(struct inode *inode, struct file *file)

Type:int

Parameter:

TypeParameterName
struct inode *inode
struct file *file
310  bd = bsg_get_device(inode, file)
312  If IS_ERR(bd) Then Return PTR_ERR(bd)
315  needed for tty driver, and maybe others = bd
316  Return 0