Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:vfs_listxattr

Proto:ssize_t vfs_listxattr(struct dentry *dentry, char *list, size_t size)

Type:ssize_t

Parameter:

TypeParameterName
struct dentry *dentry
char *list
size_tsize
349  inode = d_inode - Get the actual inode of this dentry*@dentry: The dentry to query* This is the helper normal filesystems should use to get at their own inodes* in their own dentries and ignore the layering superimposed upon them.
352  error = security_inode_listxattr(dentry)
353  If error Then Return error
355  If listxattr && i_opflags & IOP_XATTR Then
356  error = listxattr(dentry, list, size)
357  Else
358  error = security_inode_listsecurity(inode, list, size)
359  If size && error > size Then error = -ERANGE
362  Return error
Caller
NameDescribe
listxattrExtended attribute LIST operations