函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:filename_mountpoint

函数原型:static int filename_mountpoint(int dfd, struct filename *name, struct path *path, unsigned int flags)

返回类型:int

参数:

类型参数名称
intdfd
struct filename *name
struct path *path
unsigned intflags
2658  如果是错误则返回:错误
2660  set_nameidata( & nd, dfd, name)
2661  error等于path_mountpoint - look up a path to be umounted*@nd: lookup context*@flags: lookup flags*@path: pointer to container for result* Look up the given name, but don't attempt to revalidate the last component.
2662  如果此条件成立可能性小(为编译器优化)(error == - ECHILD)则error等于path_mountpoint - look up a path to be umounted*@nd: lookup context*@flags: lookup flags*@path: pointer to container for result* Look up the given name, but don't attempt to revalidate the last component.
2664  如果此条件成立可能性小(为编译器优化)(error == - ESTALE)则error等于path_mountpoint - look up a path to be umounted*@nd: lookup context*@flags: lookup flags*@path: pointer to container for result* Look up the given name, but don't attempt to revalidate the last component.
2666  如果此条件成立可能性大(为编译器优化)(!error)则audit_inode(name, dentry, audit record incomplete )
2668  restore_nameidata()
2669  putname(name)
2670  返回:error
调用者
名称描述
user_path_mountpoint_atser_path_mountpoint_at - lookup a path from userland in order to umount it*@dfd: directory file descriptor*@name: pathname from userland*@flags: lookup flags*@path: pointer to container to hold result* A umount is a special case for path walking
kern_path_mountpoint