Lines Matching refs:listxattrs
2276 struct nfsd4_listxattrs *listxattrs = &u->listxattrs;
2279 memset(listxattrs, 0, sizeof(*listxattrs));
2281 if (xdr_stream_decode_u64(argp->xdr, &listxattrs->lsxa_cookie) < 0)
2288 if (listxattrs->lsxa_cookie >=
2299 listxattrs->lsxa_maxcount = maxcount;
5112 nfsd4_listxattr_validate_cookie(struct nfsd4_listxattrs *listxattrs,
5115 u64 cookie = listxattrs->lsxa_cookie;
5122 if (cookie > (listxattrs->lsxa_len) / (XATTR_USER_PREFIX_LEN + 2))
5125 if (cookie > (listxattrs->lsxa_maxcount /
5137 struct nfsd4_listxattrs *listxattrs = &u->listxattrs;
5150 status = nfsd4_listxattr_validate_cookie(listxattrs, &offset);
5167 left = listxattrs->lsxa_len;
5168 sp = listxattrs->lsxa_buf;
5171 xdrleft = listxattrs->lsxa_maxcount;
5240 if (listxattrs->lsxa_len)
5241 kvfree(listxattrs->lsxa_buf);