函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:path_removexattr

函数原型:static int path_removexattr(const char __user *pathname, const char __user *name, unsigned int lookup_flags)

返回类型:int

参数:

类型参数名称
const char __user *pathname
const char __user *name
unsigned intlookup_flags
699  retry :
700  error等于user_path_at(Special value used to indicateopenat should use the currentworking directory. , pathname, lookup_flags, & path)
701  如果error则返回:error
703  error等于mnt_want_write - get write access to a mount*@m: the mount on which to take a write* This tells the low-level filesystem that a write is about to be performed to* it, and makes sure that writes are allowed (mount is read-write, filesystem
704  如果非error
705  error等于Extended attribute REMOVE operations
706  mnt_drop_write - give up write access to a mount*@mnt: the mount on which to give up write access* Tells the low-level filesystem that we are done performing writes to it and* also allows filesystem to be frozen again. Must be matched with
708  path_put - put a reference to a path*@path: path to put the reference to* Given a path decrement the reference count to the dentry and the vfsmount.
709  如果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
710  lookup_flags或等于ll ->d_revalidate() to trust no cache
711  转到:retry
713  返回:error
调用者
名称描述
SYSCALL_DEFINE2
SYSCALL_DEFINE2