Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\namei.c Create Date:2022-07-28 20:05:14
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:do_filp_open

Proto:struct file *do_filp_open(int dfd, struct filename *pathname, const struct open_flags *op)

Type:struct file

Parameter:

TypeParameterName
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  If Value for the false possibility is greater at compile time(filp == ERR_PTR( - ECHILD)) Then filp = path_openat( & nd, op, flags)
3509  If Value for the false possibility is greater at compile time(filp == ERR_PTR( - ESTALE)) Then filp = path_openat( & nd, op, flags | ll ->d_revalidate() to trust no cache )
3511  restore_nameidata()
3512  Return filp
Caller
NameDescribe
do_sys_open
do_open_execat