函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:do_mkdirat

函数原型:long do_mkdirat(int dfd, const char __user *pathname, umode_t mode)

返回类型:long

参数:

类型参数名称
intdfd
const char __user *pathname
umode_tmode
3770  lookup_flags等于quire a directory
3772  retry :
3773  dentry等于user_path_create(dfd, pathname, & path, lookup_flags)
3774  如果是错误则返回:错误
3777  如果非IS_POSIXACL( Where the name belongs to - NULL is * negative )则mode与等于current_umask()的反
3779  error等于security_path_mkdir( & path, dentry, mode)
3780  如果非errorerror等于vfs_mkdir( Where the name belongs to - NULL is * negative , dentry, mode)
3782  done_path_create( & path, dentry)
3783  如果ry_estale - determine whether the caller should retry an operation*@error: the error that would currently be returned*@flags: flags being used for next lookup attempt* Check to see if the error code was -ESTALE, and then determine whether
3784  lookup_flags或等于ll ->d_revalidate() to trust no cache
3785  转到:retry
3787  返回:error
调用者
名称描述
SYSCALL_DEFINE3
SYSCALL_DEFINE2
ksys_mkdir