Home
last modified time | relevance | path

Searched refs:full_len (Results 1 – 14 of 14) sorted by relevance

/Linux-v5.4/drivers/net/usb/
Dlg-vl600.c238 int full_len = (skb->len + sizeof(struct vl600_frame_hdr) + 3) & ~3; in vl600_tx_fixup() local
252 if (tailroom >= full_len - skb->len - sizeof(*frame) && in vl600_tx_fixup()
257 if (headroom + tailroom + skb->len >= full_len) { in vl600_tx_fixup()
267 ret = skb_copy_expand(skb, sizeof(struct vl600_frame_hdr), full_len - in vl600_tx_fixup()
291 frame->len = cpu_to_le32(full_len); in vl600_tx_fixup()
295 if (skb->len < full_len) /* Pad */ in vl600_tx_fixup()
296 skb_put(skb, full_len - skb->len); in vl600_tx_fixup()
/Linux-v5.4/net/tls/
Dtls_sw.c134 if (back > rxm->full_len - prot->prepend_size) in padding_length()
137 rxm->offset + rxm->full_len - back, in padding_length()
182 rxm->full_len -= pad; in tls_decrypt_done()
184 rxm->full_len -= prot->overhead_size; in tls_decrypt_done()
1361 const int data_len = rxm->full_len - prot->overhead_size + in decrypt_internal()
1371 rxm->full_len - prot->prepend_size); in decrypt_internal()
1429 tls_make_aad(aad, rxm->full_len - prot->overhead_size + in decrypt_internal()
1439 rxm->full_len - prot->prepend_size); in decrypt_internal()
1519 rxm->full_len -= pad; in decrypt_skb_update()
1521 rxm->full_len -= prot->overhead_size; in decrypt_skb_update()
[all …]
Dtls_device.c738 if (tcp_inq(sk) > rxm->full_len) { in tls_device_core_ctrl_rx_resync()
760 orig_buf = kmalloc(rxm->full_len + TLS_HEADER_SIZE + in tls_device_reencrypt()
774 rxm->full_len + TLS_HEADER_SIZE + in tls_device_reencrypt()
788 data_len = rxm->full_len - TLS_CIPHER_AES_GCM_128_TAG_SIZE; in tls_device_reencrypt()
/Linux-v5.4/net/strparser/
Dstrparser.c218 if (!stm->strp.full_len) { in __strp_recv()
258 stm->strp.full_len = len; in __strp_recv()
262 stm->strp.full_len; in __strp_recv()
266 if (stm->strp.full_len - stm->accum_len > in __strp_recv()
282 strp->need_bytes = stm->strp.full_len - in __strp_recv()
/Linux-v5.4/scripts/mod/
Dsumversion.c462 unsigned int len, full_len; in strip_rcs_crap() local
468 full_len = strlen(version) + strlen(version + strlen(version) + 1) + 2; in strip_rcs_crap()
477 memmove(version, version+len, full_len-len); in strip_rcs_crap()
478 full_len -= len; in strip_rcs_crap()
485 full_len - strlen(version)); in strip_rcs_crap()
/Linux-v5.4/drivers/net/wireless/ath/ath10k/
Dsdio.c50 size_t act_len, size_t full_len, in ath10k_sdio_mbox_alloc_rx_pkt() argument
54 pkt->skb = dev_alloc_skb(full_len); in ath10k_sdio_mbox_alloc_rx_pkt()
59 pkt->alloc_len = full_len; in ath10k_sdio_mbox_alloc_rx_pkt()
490 size_t full_len, size_t act_len, in ath10k_sdio_mbox_alloc_pkt_bundle() argument
514 full_len, in ath10k_sdio_mbox_alloc_pkt_bundle()
529 size_t full_len, act_len; in ath10k_sdio_mbox_rx_alloc() local
557 full_len = ath10k_sdio_calc_txrx_padded_len(ar_sdio, act_len); in ath10k_sdio_mbox_rx_alloc()
559 if (full_len > ATH10K_SDIO_MAX_BUFFER_SIZE) { in ath10k_sdio_mbox_rx_alloc()
578 full_len, in ath10k_sdio_mbox_rx_alloc()
598 full_len += ATH10K_HIF_MBOX_BLOCK_SIZE; in ath10k_sdio_mbox_rx_alloc()
[all …]
/Linux-v5.4/include/net/
Dstrparser.h53 int full_len; member
/Linux-v5.4/drivers/net/wireless/
Dwl3501_cs.c297 u16 full_len = sizeof(struct wl3501_80211_tx_hdr) + len; in wl3501_get_tx_buffer() local
300 if (full_len > this->tx_buffer_cnt * 254) in wl3501_get_tx_buffer()
303 while (full_len) { in wl3501_get_tx_buffer()
304 if (full_len < 254) in wl3501_get_tx_buffer()
305 full_len = 0; in wl3501_get_tx_buffer()
307 full_len -= 254; in wl3501_get_tx_buffer()
310 if (!full_len) in wl3501_get_tx_buffer()
316 if (!next && full_len) { in wl3501_get_tx_buffer()
/Linux-v5.4/drivers/usb/host/
Dxhci-ring.c3017 unsigned int i, len, full_len, num_trbs = 0; in count_sg_trbs_needed() local
3019 full_len = urb->transfer_buffer_length; in count_sg_trbs_needed()
3024 len = min_t(unsigned int, len, full_len); in count_sg_trbs_needed()
3025 full_len -= len; in count_sg_trbs_needed()
3026 if (full_len == 0) in count_sg_trbs_needed()
3244 unsigned int enqd_len, block_len, trb_buff_len, full_len; in xhci_queue_bulk_tx() local
3253 full_len = urb->transfer_buffer_length; in xhci_queue_bulk_tx()
3264 block_len = full_len; in xhci_queue_bulk_tx()
3290 for (enqd_len = 0; first_trb || enqd_len < full_len; in xhci_queue_bulk_tx()
3298 if (enqd_len + trb_buff_len > full_len) in xhci_queue_bulk_tx()
[all …]
/Linux-v5.4/Documentation/networking/
Dstrparser.txt150 struct contains two fields: offset and full_len. Offset is
151 where the message starts in the skb, and full_len is the
153 then full_len since strparser does not trim the skb.
/Linux-v5.4/net/kcm/
Dkcmsock.c1138 if (len > stm->full_len) in kcm_recvmsg()
1139 len = stm->full_len; in kcm_recvmsg()
1148 if (copied < stm->full_len) { in kcm_recvmsg()
1155 stm->full_len -= copied; in kcm_recvmsg()
1198 if (len > stm->full_len) in kcm_splice_read()
1199 len = stm->full_len; in kcm_splice_read()
1210 stm->full_len -= copied; in kcm_splice_read()
/Linux-v5.4/drivers/net/wireless/zydas/zd1211rw/
Dzd_mac.c708 u32 full_len = beacon->len + 4; in zd_mac_config_beacon() local
721 num_cmds = 1 + zd_chip_is_zd1211b(&mac->chip) + full_len; in zd_mac_config_beacon()
761 ioreqs[req_pos].value = full_len - 1; in zd_mac_config_beacon()
765 ioreqs[req_pos].value = full_len - 1; in zd_mac_config_beacon()
825 r = zd_iowrite32_locked(&mac->chip, 0x00000400 | (full_len << 19), in zd_mac_config_beacon()
/Linux-v5.4/drivers/net/wireless/ath/ath6kl/
Dhtc_mbox.c1374 int status = 0, j, full_len; in ath6kl_htc_rx_setup() local
1377 full_len = CALC_TXRX_PADDED_LEN(target, in ath6kl_htc_rx_setup()
1381 if (!htc_valid_rx_frame_len(target, ep->eid, full_len)) { in ath6kl_htc_rx_setup()
1398 (full_len > ep_cb.rx_alloc_thresh)) { in ath6kl_htc_rx_setup()
1407 full_len); in ath6kl_htc_rx_setup()
/Linux-v5.4/net/ipv6/
Dmcast.c1992 int err, len, payload_len, full_len; in igmp6_send() local
2006 full_len = sizeof(struct ipv6hdr) + payload_len; in igmp6_send()
2010 IPSTATS_MIB_OUT, full_len); in igmp6_send()
2013 skb = sock_alloc_send_skb(sk, hlen + tlen + full_len, 1, &err); in igmp6_send()