Home
last modified time | relevance | path

Searched refs:XATTR_USER_PREFIX_LEN (Results 1 – 11 of 11) sorted by relevance

/Linux-v5.15/fs/hfsplus/
Dxattr_user.c21 XATTR_USER_PREFIX, XATTR_USER_PREFIX_LEN); in hfsplus_user_getxattr()
31 XATTR_USER_PREFIX, XATTR_USER_PREFIX_LEN); in hfsplus_user_setxattr()
Dxattr.c45 strncmp(name, XATTR_USER_PREFIX, XATTR_USER_PREFIX_LEN) && in is_known_namespace()
/Linux-v5.15/include/uapi/linux/
Dxattr.h48 #define XATTR_USER_PREFIX_LEN (sizeof(XATTR_USER_PREFIX) - 1) macro
/Linux-v5.15/fs/nfs/
Dnfs42.h61 return ((buflen / (XATTR_USER_PREFIX_LEN + 2)) * 8) + 4; in nfs42_listxattr_xdrsize()
Dnfs42xdr.c605 if (len > (XATTR_NAME_MAX - XATTR_USER_PREFIX_LEN)) { in decode_listxattrs()
614 ulen = len + XATTR_USER_PREFIX_LEN + 1; in decode_listxattrs()
621 memcpy(buf, XATTR_USER_PREFIX, XATTR_USER_PREFIX_LEN); in decode_listxattrs()
622 memcpy(buf + XATTR_USER_PREFIX_LEN, p, len); in decode_listxattrs()
/Linux-v5.15/fs/xfs/
Dxfs_xattr.c180 prefix_len = XATTR_USER_PREFIX_LEN; in xfs_xattr_put_listent()
/Linux-v5.15/fs/ksmbd/
Dsmb2pdu.c2175 (XATTR_NAME_MAX - XATTR_USER_PREFIX_LEN)) { in smb2_set_ea()
2180 memcpy(attr_name, XATTR_USER_PREFIX, XATTR_USER_PREFIX_LEN); in smb2_set_ea()
2181 memcpy(&attr_name[XATTR_USER_PREFIX_LEN], eabuf->name, in smb2_set_ea()
2183 attr_name[XATTR_USER_PREFIX_LEN + eabuf->EaNameLength] = '\0'; in smb2_set_ea()
2190 XATTR_USER_PREFIX_LEN + in smb2_set_ea()
2294 if (strncmp(name, XATTR_USER_PREFIX, XATTR_USER_PREFIX_LEN) && in smb2_remove_smb_xattrs()
2295 strncmp(&name[XATTR_USER_PREFIX_LEN], DOS_ATTRIBUTE_PREFIX, in smb2_remove_smb_xattrs()
2297 strncmp(&name[XATTR_USER_PREFIX_LEN], STREAM_PREFIX, STREAM_PREFIX_LEN)) in smb2_remove_smb_xattrs()
4164 if (strncmp(name, XATTR_USER_PREFIX, XATTR_USER_PREFIX_LEN)) in smb2_get_ea()
4167 if (!strncmp(&name[XATTR_USER_PREFIX_LEN], STREAM_PREFIX, in smb2_get_ea()
[all …]
/Linux-v5.15/fs/nfsd/
Dnfs4xdr.c2076 if (namelen > (XATTR_NAME_MAX - XATTR_USER_PREFIX_LEN)) in nfsd4_decode_xattr_name()
2083 name = svcxdr_tmpalloc(argp, namelen + XATTR_USER_PREFIX_LEN + 1); in nfsd4_decode_xattr_name()
2086 memcpy(name, XATTR_USER_PREFIX, XATTR_USER_PREFIX_LEN); in nfsd4_decode_xattr_name()
2093 dp = name + XATTR_USER_PREFIX_LEN; in nfsd4_decode_xattr_name()
2186 (XATTR_LIST_MAX / (XATTR_USER_PREFIX_LEN + 2))) in nfsd4_decode_listxattrs()
5041 if (cookie > (listxattrs->lsxa_len) / (XATTR_USER_PREFIX_LEN + 2)) in nfsd4_listxattr_validate_cookie()
5045 (XDR_QUADLEN(XATTR_USER_PREFIX_LEN + 2) + 4))) in nfsd4_listxattr_validate_cookie()
5097 if (strncmp(sp, XATTR_USER_PREFIX, XATTR_USER_PREFIX_LEN)) in nfsd4_encode_listxattrs()
5100 slen -= XATTR_USER_PREFIX_LEN; in nfsd4_encode_listxattrs()
5114 left -= XATTR_USER_PREFIX_LEN; in nfsd4_encode_listxattrs()
[all …]
/Linux-v5.15/fs/jfs/
Dxattr.c87 strncmp(name, XATTR_USER_PREFIX, XATTR_USER_PREFIX_LEN) && in is_known_namespace()
/Linux-v5.15/fs/
Dxattr.c127 if (!strncmp(name, XATTR_USER_PREFIX, XATTR_USER_PREFIX_LEN)) { in xattr_permission()
/Linux-v5.15/fs/ceph/
Dxattr.c26 !strncmp(name, XATTR_USER_PREFIX, XATTR_USER_PREFIX_LEN); in ceph_is_valid_xattr()