Home
last modified time | relevance | path

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

/openbmc/qemu/hw/s390x/
H A Dsclp.c113 int required_len = SCCB_REQ_LEN(ReadInfo, machine->possible_cpus->len); in read_SCP_info() local
119 if (be16_to_cpu(sccb->h.length) < required_len) { in read_SCP_info()
121 sccb->h.length = cpu_to_be16(required_len); in read_SCP_info()
185 int required_len = SCCB_REQ_LEN(ReadCpuInfo, machine->possible_cpus->len); in sclp_read_cpu_info() local
187 if (be16_to_cpu(sccb->h.length) < required_len) { in sclp_read_cpu_info()
189 sccb->h.length = cpu_to_be16(required_len); in sclp_read_cpu_info()
/openbmc/linux/drivers/crypto/nx/
H A Dnx-842.c342 unsigned int required_len = be32_to_cpu(g->uncompressed_length); in decompress() local
350 if (!slen || !required_len) in decompress()
356 if (p->oremain <= 0 || required_len - ignore > p->oremain) in decompress()
383 if (dlen < required_len || (u64)dst % c->alignment) { in decompress()
385 dlen = min(required_len, BOUNCE_BUFFER_SIZE); in decompress()
407 if (dlen < required_len) { /* have ignore bytes */ in decompress()
/openbmc/linux/net/netfilter/
H A Dnf_log_syslog.c377 static const size_t required_len[NR_ICMP_TYPES + 1] = { in dump_ipv4_packet() local
412 required_len[ich->type] && in dump_ipv4_packet()
413 skb->len - iphoff - ih->ihl * 4 < required_len[ich->type]) { in dump_ipv4_packet()
/openbmc/linux/net/mac80211/
H A Dibss.c915 int required_len; in ieee80211_rx_mgmt_spectrum_mgmt() local
925 required_len = IEEE80211_MIN_ACTION_SIZE + in ieee80211_rx_mgmt_spectrum_mgmt()
927 if (len < required_len) in ieee80211_rx_mgmt_spectrum_mgmt()