Lines Matching refs:attrlen
1611 uint32_t attrlen = 0; in encode_readdir() local
1629 attrlen = i+1; in encode_readdir()
1635 p = reserve_space(xdr, 12 + (attrlen << 2)); in encode_readdir()
1638 *p++ = cpu_to_be32(attrlen); in encode_readdir()
1639 for (i = 0; i < attrlen; i++) in encode_readdir()
3281 static int decode_attr_length(struct xdr_stream *xdr, uint32_t *attrlen, unsigned int *savep) in decode_attr_length() argument
3288 *attrlen = be32_to_cpup(p); in decode_attr_length()
4297 static int verify_attr_len(struct xdr_stream *xdr, unsigned int savep, uint32_t attrlen) in verify_attr_len() argument
4299 unsigned int attrwords = XDR_QUADLEN(attrlen); in verify_attr_len()
4444 uint32_t attrlen, bitmap[3] = {0}; in decode_server_caps() local
4451 if ((status = decode_attr_length(xdr, &attrlen, &savep)) != 0) in decode_server_caps()
4471 status = verify_attr_len(xdr, savep, attrlen); in decode_server_caps()
4480 uint32_t attrlen, bitmap[3] = {0}; in decode_statfs() local
4487 if ((status = decode_attr_length(xdr, &attrlen, &savep)) != 0) in decode_statfs()
4508 status = verify_attr_len(xdr, savep, attrlen); in decode_statfs()
4517 uint32_t attrlen, bitmap[3] = {0}; in decode_pathconf() local
4524 if ((status = decode_attr_length(xdr, &attrlen, &savep)) != 0) in decode_pathconf()
4532 status = verify_attr_len(xdr, savep, attrlen); in decode_pathconf()
4560 uint32_t bitmap[3] = {0,}, attrlen; in decode_first_threshold_item4() local
4575 status = decode_attr_length(xdr, &attrlen, &savep); in decode_first_threshold_item4()
4594 status = verify_attr_len(xdr, savep, attrlen); in decode_first_threshold_item4()
4771 uint32_t attrlen, in decode_getfattr_generic() local
4783 status = decode_attr_length(xdr, &attrlen, &savep); in decode_getfattr_generic()
4791 status = verify_attr_len(xdr, savep, attrlen); in decode_getfattr_generic()
4926 uint32_t attrlen, bitmap[3]; in decode_fsinfo() local
4933 if ((status = decode_attr_length(xdr, &attrlen, &savep)) != 0) in decode_fsinfo()
4981 status = verify_attr_len(xdr, savep, attrlen); in decode_fsinfo()
5404 uint32_t attrlen, in decode_getacl() local
5416 if ((status = decode_attr_length(xdr, &attrlen, &savep)) != 0) in decode_getacl()
5443 res->acl_len = attrlen; in decode_getacl()
5450 attrlen, xdr_stream_remaining(xdr)); in decode_getacl()