Lines Matching refs:XATTR_USER_PREFIX_LEN
2071 if (namelen > (XATTR_NAME_MAX - XATTR_USER_PREFIX_LEN)) in nfsd4_decode_xattr_name()
2078 name = svcxdr_tmpalloc(argp, namelen + XATTR_USER_PREFIX_LEN + 1); in nfsd4_decode_xattr_name()
2081 memcpy(name, XATTR_USER_PREFIX, XATTR_USER_PREFIX_LEN); in nfsd4_decode_xattr_name()
2088 dp = name + XATTR_USER_PREFIX_LEN; in nfsd4_decode_xattr_name()
2181 (XATTR_LIST_MAX / (XATTR_USER_PREFIX_LEN + 2))) in nfsd4_decode_listxattrs()
5042 if (cookie > (listxattrs->lsxa_len) / (XATTR_USER_PREFIX_LEN + 2)) in nfsd4_listxattr_validate_cookie()
5046 (XDR_QUADLEN(XATTR_USER_PREFIX_LEN + 2) + 4))) in nfsd4_listxattr_validate_cookie()
5098 if (strncmp(sp, XATTR_USER_PREFIX, XATTR_USER_PREFIX_LEN)) in nfsd4_encode_listxattrs()
5101 slen -= XATTR_USER_PREFIX_LEN; in nfsd4_encode_listxattrs()
5115 left -= XATTR_USER_PREFIX_LEN; in nfsd4_encode_listxattrs()
5116 sp += XATTR_USER_PREFIX_LEN; in nfsd4_encode_listxattrs()