Lines Matching refs:datalen
53 size_t datalen, in rxrpc_preparse_xdr_rxkad() argument
75 prep->quotalen = datalen + plen; in rxrpc_preparse_xdr_rxkad()
141 size_t datalen = prep->datalen; in rxrpc_preparse_xdr() local
146 prep->datalen); in rxrpc_preparse_xdr()
148 if (datalen > AFSTOKEN_LENGTH_MAX) in rxrpc_preparse_xdr()
152 if (datalen & 3) in rxrpc_preparse_xdr()
159 datalen -= 4; in rxrpc_preparse_xdr()
165 datalen -= 4; in rxrpc_preparse_xdr()
167 if (paddedlen > datalen) in rxrpc_preparse_xdr()
179 datalen -= paddedlen; in rxrpc_preparse_xdr()
183 if (datalen < 12) in rxrpc_preparse_xdr()
186 datalen -= 4; in rxrpc_preparse_xdr()
195 if (datalen < 8) in rxrpc_preparse_xdr()
199 datalen -= 4; in rxrpc_preparse_xdr()
200 _debug("token: [%x/%zx] %x", toklen, datalen, sec_ix); in rxrpc_preparse_xdr()
202 if (toklen < 20 || toklen > datalen || paddedlen > datalen) in rxrpc_preparse_xdr()
204 datalen -= paddedlen; in rxrpc_preparse_xdr()
209 _debug("remainder: %zu", datalen); in rxrpc_preparse_xdr()
210 if (datalen != 0) in rxrpc_preparse_xdr()
229 ret2 = rxrpc_preparse_xdr_rxkad(prep, datalen, token, toklen); in rxrpc_preparse_xdr()
286 _enter("%zu", prep->datalen); in rxrpc_preparse()
289 if (!prep->data && prep->datalen == 0) in rxrpc_preparse()
293 if (prep->datalen > 7 * 4) { in rxrpc_preparse()
301 if (prep->datalen <= 4 || !prep->data) in rxrpc_preparse()
305 prep->datalen -= sizeof(kver); in rxrpc_preparse()
315 if (prep->datalen < sizeof(*v1)) in rxrpc_preparse()
319 if (prep->datalen != sizeof(*v1) + v1->ticket_length) in rxrpc_preparse()