Home
last modified time | relevance | path

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

/openbmc/linux/fs/hfsplus/
H A 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()
H A Dxattr.c45 strncmp(name, XATTR_USER_PREFIX, XATTR_USER_PREFIX_LEN) && in is_known_namespace()
/openbmc/linux/include/uapi/linux/
H A Dxattr.h48 #define XATTR_USER_PREFIX_LEN (sizeof(XATTR_USER_PREFIX) - 1) macro
/openbmc/linux/fs/nfs/
H A Dnfs42.h63 u32 size = 8 * buflen / (XATTR_USER_PREFIX_LEN + 2) + 4; in nfs42_listxattr_xdrsize()
H A Dnfs42xdr.c1244 if (len > (XATTR_NAME_MAX - XATTR_USER_PREFIX_LEN)) { in decode_listxattrs()
1253 ulen = len + XATTR_USER_PREFIX_LEN + 1; in decode_listxattrs()
1260 memcpy(buf, XATTR_USER_PREFIX, XATTR_USER_PREFIX_LEN); in decode_listxattrs()
1261 memcpy(buf + XATTR_USER_PREFIX_LEN, p, len); in decode_listxattrs()
/openbmc/linux/fs/xfs/
H A Dxfs_xattr.c279 prefix_len = XATTR_USER_PREFIX_LEN; in xfs_xattr_put_listent()
/openbmc/linux/fs/nfsd/
H A Dnfs4xdr.c2164 if (namelen > (XATTR_NAME_MAX - XATTR_USER_PREFIX_LEN)) in nfsd4_decode_xattr_name()
2171 name = svcxdr_tmpalloc(argp, namelen + XATTR_USER_PREFIX_LEN + 1); in nfsd4_decode_xattr_name()
2174 memcpy(name, XATTR_USER_PREFIX, XATTR_USER_PREFIX_LEN); in nfsd4_decode_xattr_name()
2181 dp = name + XATTR_USER_PREFIX_LEN; in nfsd4_decode_xattr_name()
2281 (XATTR_LIST_MAX / (XATTR_USER_PREFIX_LEN + 2))) in nfsd4_decode_listxattrs()
5114 if (cookie > (listxattrs->lsxa_len) / (XATTR_USER_PREFIX_LEN + 2)) in nfsd4_listxattr_validate_cookie()
5118 (XDR_QUADLEN(XATTR_USER_PREFIX_LEN + 2) + 4))) in nfsd4_listxattr_validate_cookie()
5171 if (strncmp(sp, XATTR_USER_PREFIX, XATTR_USER_PREFIX_LEN)) in nfsd4_encode_listxattrs()
5174 slen -= XATTR_USER_PREFIX_LEN; in nfsd4_encode_listxattrs()
5188 left -= XATTR_USER_PREFIX_LEN; in nfsd4_encode_listxattrs()
[all …]
/openbmc/linux/fs/smb/server/
H A Dsmb2pdu.c2368 (XATTR_NAME_MAX - XATTR_USER_PREFIX_LEN)) { in smb2_set_ea()
2373 memcpy(attr_name, XATTR_USER_PREFIX, XATTR_USER_PREFIX_LEN); in smb2_set_ea()
2374 memcpy(&attr_name[XATTR_USER_PREFIX_LEN], eabuf->name, in smb2_set_ea()
2376 attr_name[XATTR_USER_PREFIX_LEN + eabuf->EaNameLength] = '\0'; in smb2_set_ea()
2383 XATTR_USER_PREFIX_LEN + in smb2_set_ea()
2494 if (!strncmp(name, XATTR_USER_PREFIX, XATTR_USER_PREFIX_LEN) && in smb2_remove_smb_xattrs()
2495 !strncmp(&name[XATTR_USER_PREFIX_LEN], STREAM_PREFIX, in smb2_remove_smb_xattrs()
4673 if (strncmp(name, XATTR_USER_PREFIX, XATTR_USER_PREFIX_LEN)) in smb2_get_ea()
4676 if (!strncmp(&name[XATTR_USER_PREFIX_LEN], STREAM_PREFIX, in smb2_get_ea()
4681 strncmp(&name[XATTR_USER_PREFIX_LEN], ea_req->name, in smb2_get_ea()
[all …]
/openbmc/linux/fs/
H A 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()
/openbmc/linux/fs/jfs/
H A Dxattr.c87 strncmp(name, XATTR_USER_PREFIX, XATTR_USER_PREFIX_LEN) && in is_known_namespace()
/openbmc/linux/fs/ceph/
H A Dxattr.c26 !strncmp(name, XATTR_USER_PREFIX, XATTR_USER_PREFIX_LEN); in ceph_is_valid_xattr()