Searched refs:XATTR_USER_PREFIX_LEN (Results 1 – 11 of 11) sorted by relevance
/Linux-v6.6/fs/hfsplus/ |
D | xattr_user.c | 21 XATTR_USER_PREFIX, XATTR_USER_PREFIX_LEN); in hfsplus_user_getxattr() 31 XATTR_USER_PREFIX, XATTR_USER_PREFIX_LEN); in hfsplus_user_setxattr()
|
D | xattr.c | 45 strncmp(name, XATTR_USER_PREFIX, XATTR_USER_PREFIX_LEN) && in is_known_namespace()
|
/Linux-v6.6/include/uapi/linux/ |
D | xattr.h | 48 #define XATTR_USER_PREFIX_LEN (sizeof(XATTR_USER_PREFIX) - 1) macro
|
/Linux-v6.6/fs/nfs/ |
D | nfs42.h | 62 return ((buflen / (XATTR_USER_PREFIX_LEN + 2)) * 8) + 4; in nfs42_listxattr_xdrsize()
|
D | nfs42xdr.c | 1242 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/ |
D | xfs_xattr.c | 279 prefix_len = XATTR_USER_PREFIX_LEN; in xfs_xattr_put_listent()
|
/Linux-v6.6/fs/smb/server/ |
D | smb2pdu.c | 2347 (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/ |
D | nfs4xdr.c | 2172 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/ |
D | xattr.c | 147 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/ |
D | xattr.c | 87 strncmp(name, XATTR_USER_PREFIX, XATTR_USER_PREFIX_LEN) && in is_known_namespace()
|
/Linux-v6.6/fs/ceph/ |
D | xattr.c | 26 !strncmp(name, XATTR_USER_PREFIX, XATTR_USER_PREFIX_LEN); in ceph_is_valid_xattr()
|