Searched refs:required_len (Results 1 – 2 of 2) sorted by relevance
351 unsigned int required_len = be32_to_cpu(g->uncompressed_length); in decompress() local359 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()
490 int swabbed, required_len, i; in lustre_unpack_msg_v2() local493 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() local548 required_len = offsetof(struct lustre_msg, lm_magic) + in __lustre_unpack_msg()[all …]