Lines Matching defs:length

115  * @len: length of buffer to allocate
176 * This helper handles variable-length opaques which belong to protocol
292 u32 length;
301 if (xdr_stream_decode_u32(argp->xdr, &length) < 0)
303 p = xdr_inline_decode(argp->xdr, length);
306 ace->whotype = nfs4_acl_get_whotype((char *)p, length);
311 (char *)p, length, &ace->who_gid);
314 (char *)p, length, &ace->who_uid);
356 u32 lfs, pi, length;
364 if (xdr_stream_decode_u32(argp->xdr, &length) < 0)
366 if (length > NFS4_MAXLABELLEN)
368 p = xdr_inline_decode(argp->xdr, length);
371 label->len = length;
372 label->data = svcxdr_dupstr(argp, p, length);
429 u32 length;
431 if (xdr_stream_decode_u32(argp->xdr, &length) < 0)
433 p = xdr_inline_decode(argp->xdr, length);
436 status = nfsd_map_name_to_uid(argp->rqstp, (char *)p, length,
443 u32 length;
445 if (xdr_stream_decode_u32(argp->xdr, &length) < 0)
447 p = xdr_inline_decode(argp->xdr, length);
450 status = nfsd_map_name_to_gid(argp->rqstp, (char *)p, length,
616 if (xdr_stream_decode_u64(argp->xdr, &lrp->lr_seg.length) < 0)
632 lrp->lr_seg.length = NFS4_MAX_UINT64;
1616 /* Note that RFC 8881 places no length limit on
1622 /* Note that RFC 8881 places no length limit on
1768 if (xdr_stream_decode_u64(argp->xdr, &lcp->lc_seg.length) < 0)
1811 if (xdr_stream_decode_u64(argp->xdr, &lgp->lg_seg.length) < 0)
2205 * A GETXATTR op request comes without a length specifier. We just set the
2206 * maximum length for the reply based on XATTR_SIZE_MAX and the maximum
2207 * channel reply size. nfsd_getxattr will probe the length of the xattr,
2295 /* Always need at least 2 words (length and one character) */
4039 /* length */
4345 * page length; reset it so as not to confuse
5030 status = nfsd4_encode_length4(xdr, lgp->lg_seg.length);
5333 * We're done, with a length that wasn't page