Searched refs:XATTR_USER_PREFIX_LEN (Results 1 – 11 of 11) sorted by relevance
/Linux-v5.15/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-v5.15/include/uapi/linux/ |
D | xattr.h | 48 #define XATTR_USER_PREFIX_LEN (sizeof(XATTR_USER_PREFIX) - 1) macro
|
/Linux-v5.15/fs/nfs/ |
D | nfs42.h | 61 return ((buflen / (XATTR_USER_PREFIX_LEN + 2)) * 8) + 4; in nfs42_listxattr_xdrsize()
|
D | nfs42xdr.c | 605 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/ |
D | xfs_xattr.c | 180 prefix_len = XATTR_USER_PREFIX_LEN; in xfs_xattr_put_listent()
|
/Linux-v5.15/fs/ksmbd/ |
D | smb2pdu.c | 2175 (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/ |
D | nfs4xdr.c | 2076 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/ |
D | xattr.c | 87 strncmp(name, XATTR_USER_PREFIX, XATTR_USER_PREFIX_LEN) && in is_known_namespace()
|
/Linux-v5.15/fs/ |
D | xattr.c | 127 if (!strncmp(name, XATTR_USER_PREFIX, XATTR_USER_PREFIX_LEN)) { in xattr_permission()
|
/Linux-v5.15/fs/ceph/ |
D | xattr.c | 26 !strncmp(name, XATTR_USER_PREFIX, XATTR_USER_PREFIX_LEN); in ceph_is_valid_xattr()
|