Home
last modified time | relevance | path

Searched refs:required_len (Results 1 – 2 of 2) sorted by relevance

/drivers/crypto/nx/
Dnx-842.c351 unsigned int required_len = be32_to_cpu(g->uncompressed_length); in decompress() local
359 if (!slen || !required_len) in decompress()
365 if (p->oremain <= 0 || required_len - ignore > p->oremain) in decompress()
392 if (dlen < required_len || (u64)dst % c->alignment) { in decompress()
394 dlen = min(required_len, BOUNCE_BUFFER_SIZE); in decompress()
417 if (dlen < required_len) { /* have ignore bytes */ in decompress()
/drivers/staging/lustre/lustre/ptlrpc/
Dpack_generic.c490 int swabbed, required_len, i; in lustre_unpack_msg_v2() local
493 required_len = lustre_msg_hdr_size_v2(0); in lustre_unpack_msg_v2()
494 if (len < required_len) { in lustre_unpack_msg_v2()
513 required_len = lustre_msg_hdr_size_v2(m->lm_bufcount); in lustre_unpack_msg_v2()
514 if (len < required_len) { in lustre_unpack_msg_v2()
524 required_len += cfs_size_round(m->lm_buflens[i]); in lustre_unpack_msg_v2()
527 if (len < required_len) { in lustre_unpack_msg_v2()
528 CERROR("len: %d, required_len %d\n", len, required_len); in lustre_unpack_msg_v2()
540 int required_len, rc; in __lustre_unpack_msg() local
548 required_len = offsetof(struct lustre_msg, lm_magic) + in __lustre_unpack_msg()
[all …]