函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:do_filp_open

函数原型:struct file *do_filp_open(int dfd, struct filename *pathname, const struct open_flags *op)

返回类型:struct file

参数:

类型参数名称
intdfd
struct filename *pathname
const struct open_flags *op
3502  flags等于lookup_flags
3505  set_nameidata( & nd, dfd, pathname)
3506  filp等于path_openat( & nd, op, flags | RCU pathwalk mode; semi-internal )
3507  如果此条件成立可能性小(为编译器优化)(filp == 错误号)则filp等于path_openat( & nd, op, flags)
3509  如果此条件成立可能性小(为编译器优化)(filp == 错误号)则filp等于path_openat( & nd, op, flags | ll ->d_revalidate() to trust no cache )
3511  restore_nameidata()
3512  返回:filp
调用者
名称描述
do_sys_open
do_open_execat