Home
last modified time | relevance | path

Searched refs:taglen (Results 1 – 9 of 9) sorted by relevance

/linux-4.1.27/fs/nfs/
Dcallback.h49 unsigned int taglen; member
58 unsigned int taglen; member
Dcallback_xdr.c156 status = decode_string(xdr, &hdr->taglen, &hdr->tag); in decode_compound_hdr_arg()
160 if (hdr->taglen > CB_OP_TAGLEN_MAXSZ - 12) { in decode_compound_hdr_arg()
162 __func__, hdr->taglen); in decode_compound_hdr_arg()
634 status = encode_string(xdr, hdr->taglen, hdr->tag); in encode_compound_hdr_res()
922 hdr_res.taglen = hdr_arg.taglen; in nfs4_callback_compound()
Dnfs4xdr.c901 uint32_t taglen; member
965 hdr->replen = RPC_REPHDRSIZE + auth->au_rslack + 3 + hdr->taglen; in encode_compound_hdr()
967 WARN_ON_ONCE(hdr->taglen > NFS4_MAXTAGLEN); in encode_compound_hdr()
968 encode_string(xdr, hdr->taglen, hdr->tag); in encode_compound_hdr()
3035 hdr->taglen = be32_to_cpup(p); in decode_compound_hdr()
3037 p = xdr_inline_decode(xdr, hdr->taglen + 4); in decode_compound_hdr()
3041 p += XDR_QUADLEN(hdr->taglen); in decode_compound_hdr()
/linux-4.1.27/fs/nfsd/
Dxdr4.h584 u32 taglen; member
598 u32 taglen; member
Dnfs4xdr.c1818 argp->taglen = be32_to_cpup(p++); in nfsd4_decode_compound()
1819 READ_BUF(argp->taglen); in nfsd4_decode_compound()
1820 SAVEMEM(argp->tag, argp->taglen); in nfsd4_decode_compound()
1824 max_reply += 4 + (XDR_QUADLEN(argp->taglen) << 2); in nfsd4_decode_compound()
1826 if (argp->taglen > NFSD4_MAX_TAGLEN) in nfsd4_decode_compound()
4461 *p++ = htonl(resp->taglen); in nfs4svc_encode_compoundres()
4462 memcpy(p, resp->tag, resp->taglen); in nfs4svc_encode_compoundres()
4463 p += XDR_QUADLEN(resp->taglen); in nfs4svc_encode_compoundres()
Dnfs4proc.c1622 xdr_reserve_space(&resp->xdr, 8 + args->taglen); in nfsd4_proc_compound()
1623 resp->taglen = args->taglen; in nfsd4_proc_compound()
/linux-4.1.27/net/ipv4/
Dcipso_ipv4.c1593 int taglen; in cipso_v4_optptr() local
1598 taglen = optptr[1]; in cipso_v4_optptr()
1599 optlen -= taglen; in cipso_v4_optptr()
1600 optptr += taglen; in cipso_v4_optptr()
/linux-4.1.27/scripts/mod/
Dmodpost.c707 unsigned int taglen = strlen(tag); in get_next_modinfo() local
716 if (strncmp(p, tag, taglen) == 0 && p[taglen] == '=') in get_next_modinfo()
717 return p + taglen + 1; in get_next_modinfo()
/linux-4.1.27/kernel/
Dmodule.c2168 unsigned int taglen = strlen(tag); in get_modinfo() local
2173 if (strncmp(p, tag, taglen) == 0 && p[taglen] == '=') in get_modinfo()
2174 return p + taglen + 1; in get_modinfo()