函数逻辑报告 |
Source Code:fs\mount.h |
Create Date:2022-07-29 10:34:47 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:real_mount
函数原型:static inline struct mount *real_mount(struct vfsmount *mnt)
返回类型:struct mount
参数:
类型 | 参数 | 名称 |
---|---|---|
struct vfsmount * | mnt |
名称 | 描述 |
---|---|
follow_up | llow_up - Find the mountpoint of path's vfsmount* Given a path, find the mountpoint of its source file system |
follow_dotdot_rcu | |
__mnt_want_write | __mnt_want_write - get write access to a mount without freeze protection*@m: the mount on which to take a write* This tells the low-level filesystem that a write is about to be performed to* it, and makes sure that writes are allowed (mnt it read-write) |
mnt_clone_write | mnt_clone_write - get write access to a mount*@mnt: the mount on which to take a write* This is effectively like mnt_want_write, except* it must only be used to take an extra write reference* on a mountpoint that we already know has a write reference |
__mnt_drop_write | __mnt_drop_write - give up write access to a mount*@mnt: the mount on which to give up write access* Tells the low-level filesystem that we are done* performing writes to it. Must be matched with* __mnt_want_write() call above. |
__legitimize_mnt | all under rcu_read_lock |
mntput | |
mntget | |
mnt_clone_internal | |
may_umount_tree | may_umount_tree - check if a mount tree is busy*@mnt: root of mount tree* This is called to check if a tree of mounts has any* open files, pwds, chroots or sub mounts that are* busy. |
may_umount | may_umount - check if a mount point is busy*@mnt: root of mount* This is called to check if a mount point has any* open files, pwds, chroots or sub mounts. If the* mount has sub mounts this will return busy* regardless of whether the sub mounts are busy. |
ksys_umount | Now umount can handle mount points as well as block devices.* This is important for filesystems which use unnamed block devices.* We now support a flag for forced unmount like the other 'big iron'* unixes |
collect_mounts | Caller should check returned pointer for errors |
dissolve_on_fput | |
drop_collected_mounts | |
clone_private_mount | lone_private_mount - create a private clone of a path* This creates a new vfsmount, which will be the clone of @path. The new will* not be attached anywhere in the namespace and will be private (i.e. changes |
iterate_mounts | |
do_change_type | rsively change the type of the mountpoint. |
__do_loopback | |
do_loopback | do loopback mount. |
do_reconfigure_mnt | Handle reconfiguration of the mountpoint only without alteration of the* superblock it refers to. This is triggered by specifying MS_REMOUNT|MS_BIND* to mount(2). |
do_remount | 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. |
do_move_mount | |
do_add_mount | add a mount into a namespace's mount tree |
do_new_mount_fc | Create a new mount using a superblock configuration and request it* be added to the namespace tree. |
finish_automount | |
mnt_set_expiry | mnt_set_expiry - Put a mount on an expiration list*@mnt: The mount to list.*@expiry_list: The list to add the mount to. |
mount_subtree | |
SYSCALL_DEFINE3 | Create a kernel mount representation for a new, prepared superblock* (specified by fs_fd) and attach to an open_tree-like file descriptor. |
path_is_under | |
SYSCALL_DEFINE2 | pivot_root Semantics:* Moves the root file system of the current process to the directory put_old,* makes new_root as the new root file system of the current process, and sets* root/cwd of all processes which had them on the current root to new_root |
init_mount_tree | |
kern_mount | |
kern_unmount | |
our_mnt | |
mnt_may_suid | |
prepend_path | prepend_path - Prepend path string to a buffer*@path: the dentry/vfsmount to report*@root: root vfsmnt/dentry*@buffer: pointer to the end of the buffer*@buflen: pointer to buffer length* The function will first try to write out the pathname without taking |
pin_insert | |
show_vfsmnt | |
show_mountinfo | |
show_vfsstat | |
fsnotify | This is the main call to fsnotify. The VFS calls into hook specific functions* in linux/fsnotify.h. Those functions then in turn call here. Here will call* out to all of the registered fsnotify_group. Those groups can then use the |
fanotify_remove_vfsmount_mark | |
fanotify_add_vfsmount_mark | |
do_sys_name_to_handle | |
is_mounted | |
fsnotify_clear_marks_by_mount | the list of all marks associated with vfsmount and destroy them |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |