Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__vfs_setxattr

Proto:int __vfs_setxattr(struct dentry *dentry, struct inode *inode, const char *name, const void *value, size_t size, int flags)

Type:int

Parameter:

TypeParameterName
struct dentry *dentry
struct inode *inode
const char *name
const void *value
size_tsize
intflags
143  handler = Find the xattr_handler with the matching prefix.
144  If IS_ERR(handler) Then Return PTR_ERR(handler)
146  If Not set Then Return -EOPNOTSUPP
148  If size == 0 Then value = ""
150  Return set(handler, dentry, inode, name, value, size, flags)
Caller
NameDescribe
__vfs_setxattr_noperm__vfs_setxattr_noperm - perform setxattr operation without performing* permission checks