函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\namei.c Create Date:2022-07-29 10:35:02
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:may_open_dev

函数原型:bool may_open_dev(const struct path *path)

返回类型:bool

参数:

类型参数名称
const struct path *path
2886  返回:非mnt_flags按位与MNT_NODEV的值且非s_iflags按位与Ignore devices on this fs 的值
调用者
名称描述
may_open
lookup_bdevlookup_bdev - lookup a struct block_device by name*@pathname: special file representing the block device* Get a reference to the blockdevice at @pathname in the current* namespace if possible and return it. Return ERR_PTR(error)* otherwise.