函数逻辑报告 |
Source Code:fs\namespace.c |
Create Date:2022-07-29 10:39:39 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:hange filesystem flags. dir should be a physical root of filesystem.* If you've mounted a non-root directory somewhere and want to do remount* on it - tough luck.
函数原型:static int do_remount(struct path *path, int ms_flags, int sb_flags, int mnt_flags, void *data)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct path * | path | |
int | ms_flags | |
int | sb_flags | |
int | mnt_flags | |
void * | data |
2532 | mnt等于real_mount(mnt) |
2541 | 如果非Don't allow locked mount flags to be cleared.* No locks need to be held here while testing the various MNT_LOCK* flags because those flags can never be cleared once they are set.则返回:负EPERM |
2544 | fc等于fs_context_for_reconfigure(dentry, sb_flags, Superblock flags that can be altered by MS_REMOUNT) |
2548 | err等于parse_monolithic_mount_data(fc, data) |
2549 | 如果非err则 |
2550 | lock for writing |
2552 | 如果ns_capable(s_user_ns, Allow setting zone reclaim policy )则 |
2557 | lease a write lock |
2560 | mnt_warn_timestamp_expiry(path, & mnt) |
2562 | put_fs_context - Dispose of a superblock configuration context.*@fc: The context to dispose of. |
2563 | 返回:err |
名称 | 描述 |
---|---|
do_mount | Flags is a 32-bit value that allows up to 31 non-fs dependent flags to* be given to the mount() call (ie: read-only, no-dev, no-suid etc) |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |