函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:lookup_slow

函数原型:static struct dentry *lookup_slow(const struct qstr *name, struct dentry *dir, unsigned int flags)

返回类型:struct dentry

参数:

类型参数名称
const struct qstr *name
struct dentry *dir
unsigned intflags
1679  inode等于 Where the name belongs to - NULL is * negative
1681  inode_lock_shared(inode)
1682  res等于Fast lookup failed, do it the slow way
1683  inode_unlock_shared(inode)
1684  返回:res
调用者
名称描述
walk_component
lookup_one_len_unlockedlookup_one_len_unlocked - filesystem helper to lookup single pathname component*@name: pathname component to lookup*@base: base directory to lookup from*@len: maximum length @len should be interpreted to* Note that this routine is purely a helper for