Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:xattr_list_one

Proto:static int xattr_list_one(char **buffer, ssize_t *remaining_size, const char *name)

Type:int

Parameter:

TypeParameterName
char **buffer
ssize_t *remaining_size
const char *name
929  len = strlen - Find the length of a string*@s: The string to be sized + 1
930  If buffer Then
931  If remaining_size < len Then Return -ERANGE
933  memcpy( * buffer, name, len)
934  buffer += len
936  remaining_size -= len
937  Return 0
Caller
NameDescribe
simple_xattr_listxattr LIST operation for in-memory/pseudo filesystems