函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\fs.h Create Date:2022-07-27 06:44:28
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:sb_rdonly

函数原型:static inline bool sb_rdonly(const struct super_block *sb)

返回类型:bool

参数:

类型参数名称
const struct super_block *sb
2017  返回:s_flags按位与Mount read-only
调用者
名称描述
do_mount_root
reconfigure_supergure_super - asks filesystem to change superblock parameters*@fc: The superblock and configuration* Alters the configuration parameters of a live superblock.
do_emergency_remount_callback
freeze_superze_super - lock the filesystem and force it into a consistent state*@sb: the super to lock* Syncs the super to make sure the filesystem is consistent and calls the fs's* freeze_fs. Subsequent calls to this without first thawing the fs will return* -EBUSY.
thaw_super_locked
sb_permissionsb_permission - Check superblock-level permissions*@sb: Superblock of inode to check permission on*@inode: Inode to check permission on*@mask: Right to check for (%MAY_READ, %MAY_WRITE, %MAY_EXEC)
__mnt_is_readonly__mnt_is_readonly: check whether a mount is read-only*@mnt: the mount to check for its write status* This shouldn't be used directly ouside of the VFS.* It does not guarantee that the filesystem will stay* r/w, just that it is right *now*. This can not and
do_umount_root
mnt_already_visible
sync_filesystemWrite out and wait upon all dirty data associated with this* superblock. Filesystem data as well as the underlying block* device. Takes the superblock lock.
sync_inodes_one_sb
sync_fs_one_sb
show_mountinfo
do_quotactlCopy parameters and call proper function