Home
last modified time | relevance | path

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

/Linux-v6.6/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-v6.6/include/uapi/linux/
Dxattr.h48 #define XATTR_USER_PREFIX_LEN (sizeof(XATTR_USER_PREFIX) - 1) macro
/Linux-v6.6/fs/nfs/
Dnfs42.h62 return ((buflen / (XATTR_USER_PREFIX_LEN + 2)) * 8) + 4; in nfs42_listxattr_xdrsize()
Dnfs42xdr.c1242 if (len > (XATTR_NAME_MAX - XATTR_USER_PREFIX_LEN)) { in decode_listxattrs()
1251 ulen = len + XATTR_USER_PREFIX_LEN + 1; in decode_listxattrs()
1258 memcpy(buf, XATTR_USER_PREFIX, XATTR_USER_PREFIX_LEN); in decode_listxattrs()
1259 memcpy(buf + XATTR_USER_PREFIX_LEN, p, len); in decode_listxattrs()
/Linux-v6.6/fs/xfs/
Dxfs_xattr.c279 prefix_len = XATTR_USER_PREFIX_LEN; in xfs_xattr_put_listent()
/Linux-v6.6/fs/smb/server/
Dsmb2pdu.c2347 (XATTR_NAME_MAX - XATTR_USER_PREFIX_LEN)) { in smb2_set_ea()
2352 memcpy(attr_name, XATTR_USER_PREFIX, XATTR_USER_PREFIX_LEN); in smb2_set_ea()
2353 memcpy(&attr_name[XATTR_USER_PREFIX_LEN], eabuf->name, in smb2_set_ea()
2355 attr_name[XATTR_USER_PREFIX_LEN + eabuf->EaNameLength] = '\0'; in smb2_set_ea()
2362 XATTR_USER_PREFIX_LEN + in smb2_set_ea()
2471 if (!strncmp(name, XATTR_USER_PREFIX, XATTR_USER_PREFIX_LEN) && in smb2_remove_smb_xattrs()
2472 !strncmp(&name[XATTR_USER_PREFIX_LEN], STREAM_PREFIX, in smb2_remove_smb_xattrs()
4357 if (strncmp(name, XATTR_USER_PREFIX, XATTR_USER_PREFIX_LEN)) in smb2_get_ea()
4360 if (!strncmp(&name[XATTR_USER_PREFIX_LEN], STREAM_PREFIX, in smb2_get_ea()
4365 strncmp(&name[XATTR_USER_PREFIX_LEN], ea_req->name, in smb2_get_ea()
[all …]
/Linux-v6.6/fs/nfsd/
Dnfs4xdr.c2172 if (namelen > (XATTR_NAME_MAX - XATTR_USER_PREFIX_LEN)) in nfsd4_decode_xattr_name()
2179 name = svcxdr_tmpalloc(argp, namelen + XATTR_USER_PREFIX_LEN + 1); in nfsd4_decode_xattr_name()
2182 memcpy(name, XATTR_USER_PREFIX, XATTR_USER_PREFIX_LEN); in nfsd4_decode_xattr_name()
2189 dp = name + XATTR_USER_PREFIX_LEN; in nfsd4_decode_xattr_name()
2289 (XATTR_LIST_MAX / (XATTR_USER_PREFIX_LEN + 2))) in nfsd4_decode_listxattrs()
5122 if (cookie > (listxattrs->lsxa_len) / (XATTR_USER_PREFIX_LEN + 2)) in nfsd4_listxattr_validate_cookie()
5126 (XDR_QUADLEN(XATTR_USER_PREFIX_LEN + 2) + 4))) in nfsd4_listxattr_validate_cookie()
5179 if (strncmp(sp, XATTR_USER_PREFIX, XATTR_USER_PREFIX_LEN)) in nfsd4_encode_listxattrs()
5182 slen -= XATTR_USER_PREFIX_LEN; in nfsd4_encode_listxattrs()
5196 left -= XATTR_USER_PREFIX_LEN; in nfsd4_encode_listxattrs()
[all …]
/Linux-v6.6/fs/
Dxattr.c147 if (!strncmp(name, XATTR_USER_PREFIX, XATTR_USER_PREFIX_LEN)) { in xattr_permission()
176 XATTR_USER_PREFIX_LEN)) in xattr_supports_user_prefix()
/Linux-v6.6/fs/jfs/
Dxattr.c87 strncmp(name, XATTR_USER_PREFIX, XATTR_USER_PREFIX_LEN) && in is_known_namespace()
/Linux-v6.6/fs/ceph/
Dxattr.c26 !strncmp(name, XATTR_USER_PREFIX, XATTR_USER_PREFIX_LEN); in ceph_is_valid_xattr()