/linux-6.1.9/net/tls/ |
D | tls_strp.c | 44 skb = alloc_skb_with_frags(0, strp->stm.full_len, TLS_PAGE_ORDER, in tls_strp_msg_make_copy() 116 tcp_read_done(strp->sk, strp->stm.full_len); in tls_strp_msg_cow() 147 len = strp->stm.full_len; in tls_strp_msg_hold() 203 if (!strp->stm.full_len) { in tls_strp_copyin() 228 strp->stm.full_len = sz; in tls_strp_copyin() 229 if (!strp->stm.full_len) in tls_strp_copyin() 234 while (len && strp->stm.full_len > skb->len) { in tls_strp_copyin() 235 chunk = min_t(size_t, len, strp->stm.full_len - skb->len); in tls_strp_copyin() 250 if (strp->stm.full_len == skb->len) { in tls_strp_copyin() 293 need_spc = strp->stm.full_len ?: TLS_MAX_PAYLOAD_SIZE + PAGE_SIZE; in tls_strp_read_copy() [all …]
|
D | tls_sw.c | 159 int offset = rxm->full_len - TLS_TAG_SIZE - 1; in tls_padding_length() 1395 unsigned int full_len) in tls_alloc_clrtxt_skb() argument 1401 clr_skb = alloc_skb_with_frags(0, full_len, TLS_PAGE_ORDER, in tls_alloc_clrtxt_skb() 1407 clr_skb->len = full_len; in tls_alloc_clrtxt_skb() 1408 clr_skb->data_len = full_len; in tls_alloc_clrtxt_skb() 1450 const int data_len = rxm->full_len - prot->overhead_size; in tls_decrypt_sg() 1458 rxm->full_len - prot->prepend_size); in tls_decrypt_sg() 1473 clear_skb = tls_alloc_clrtxt_skb(sk, skb, rxm->full_len); in tls_decrypt_sg() 1529 tls_make_aad(dctx->aad, rxm->full_len - prot->overhead_size + in tls_decrypt_sg() 1538 rxm->full_len - prot->prepend_size); in tls_decrypt_sg() [all …]
|
D | tls_device.c | 889 if (tcp_inq(sk) > rxm->full_len) { in tls_device_core_ctrl_rx_resync() 925 orig_buf = kmalloc(rxm->full_len + TLS_HEADER_SIZE + cipher_sz->iv, in tls_device_reencrypt() 941 rxm->full_len + TLS_HEADER_SIZE + cipher_sz->iv); in tls_device_reencrypt() 953 data_len = rxm->full_len - cipher_sz->tag; in tls_device_reencrypt() 1013 left = rxm->full_len - skb->len; in tls_device_decrypted() 1024 trace_tls_device_decrypted(sk, tcp_sk(sk)->copied_seq - rxm->full_len, in tls_device_decrypted() 1025 tls_ctx->rx.rec_seq, rxm->full_len, in tls_device_decrypted()
|
/linux-6.1.9/drivers/net/usb/ |
D | lg-vl600.c | 238 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-6.1.9/net/strparser/ |
D | strparser.c | 210 if (!stm->strp.full_len) { in __strp_recv() 250 stm->strp.full_len = len; in __strp_recv() 254 stm->strp.full_len; in __strp_recv() 258 if (stm->strp.full_len - stm->accum_len > in __strp_recv() 274 strp->need_bytes = stm->strp.full_len - in __strp_recv()
|
/linux-6.1.9/drivers/usb/cdns3/ |
D | cdnsp-ring.c | 1712 unsigned int i, len, full_len, num_trbs = 0; in count_sg_trbs_needed() local 1715 full_len = preq->request.length; in count_sg_trbs_needed() 1720 len = min(len, full_len); in count_sg_trbs_needed() 1721 full_len -= len; in count_sg_trbs_needed() 1722 if (full_len == 0) in count_sg_trbs_needed() 1856 unsigned int enqd_len, block_len, trb_buff_len, full_len; in cdnsp_queue_bulk_tx() local 1875 full_len = preq->request.length; in cdnsp_queue_bulk_tx() 1886 block_len = full_len; in cdnsp_queue_bulk_tx() 1893 IS_ALIGNED(full_len, usb_endpoint_maxp(pep->endpoint.desc))) { in cdnsp_queue_bulk_tx() 1912 for (enqd_len = 0; zero_len_trb || first_trb || enqd_len < full_len; in cdnsp_queue_bulk_tx() [all …]
|
/linux-6.1.9/drivers/net/wireless/ath/ath10k/ |
D | sdio.c | 55 size_t act_len, size_t full_len, in ath10k_sdio_mbox_alloc_rx_pkt() argument 59 pkt->skb = dev_alloc_skb(full_len); in ath10k_sdio_mbox_alloc_rx_pkt() 64 pkt->alloc_len = full_len; in ath10k_sdio_mbox_alloc_rx_pkt() 502 size_t full_len, size_t act_len, in ath10k_sdio_mbox_alloc_bundle() argument 527 full_len, in ath10k_sdio_mbox_alloc_bundle() 542 size_t full_len, act_len; in ath10k_sdio_mbox_rx_alloc() local 571 full_len = ath10k_sdio_calc_txrx_padded_len(ar_sdio, act_len); in ath10k_sdio_mbox_rx_alloc() 573 if (full_len > ATH10K_SDIO_MAX_BUFFER_SIZE) { in ath10k_sdio_mbox_rx_alloc() 592 full_len, in ath10k_sdio_mbox_rx_alloc() 613 full_len += ATH10K_HIF_MBOX_BLOCK_SIZE; in ath10k_sdio_mbox_rx_alloc() [all …]
|
/linux-6.1.9/net/kcm/ |
D | kcmsock.c | 1106 if (len > stm->full_len) in kcm_recvmsg() 1107 len = stm->full_len; in kcm_recvmsg() 1116 if (copied < stm->full_len) { in kcm_recvmsg() 1123 stm->full_len -= copied; in kcm_recvmsg() 1158 if (len > stm->full_len) in kcm_splice_read() 1159 len = stm->full_len; in kcm_splice_read() 1170 stm->full_len -= copied; in kcm_splice_read()
|
/linux-6.1.9/include/net/ |
D | strparser.h | 53 int full_len; member
|
/linux-6.1.9/drivers/net/wireless/ |
D | wl3501_cs.c | 299 u16 full_len = sizeof(struct wl3501_80211_tx_hdr) + len; in wl3501_get_tx_buffer() local 302 if (full_len > this->tx_buffer_cnt * 254) in wl3501_get_tx_buffer() 305 while (full_len) { in wl3501_get_tx_buffer() 306 if (full_len < 254) in wl3501_get_tx_buffer() 307 full_len = 0; in wl3501_get_tx_buffer() 309 full_len -= 254; in wl3501_get_tx_buffer() 312 if (!full_len) in wl3501_get_tx_buffer() 318 if (!next && full_len) { in wl3501_get_tx_buffer()
|
/linux-6.1.9/drivers/usb/host/ |
D | xhci-ring.c | 3303 unsigned int i, len, full_len, num_trbs = 0; in count_sg_trbs_needed() local 3305 full_len = urb->transfer_buffer_length; in count_sg_trbs_needed() 3310 len = min_t(unsigned int, len, full_len); in count_sg_trbs_needed() 3311 full_len -= len; in count_sg_trbs_needed() 3312 if (full_len == 0) in count_sg_trbs_needed() 3534 unsigned int enqd_len, block_len, trb_buff_len, full_len; in xhci_queue_bulk_tx() local 3543 full_len = urb->transfer_buffer_length; in xhci_queue_bulk_tx() 3554 block_len = full_len; in xhci_queue_bulk_tx() 3580 for (enqd_len = 0; first_trb || enqd_len < full_len; in xhci_queue_bulk_tx() 3588 if (enqd_len + trb_buff_len > full_len) in xhci_queue_bulk_tx() [all …]
|
/linux-6.1.9/Documentation/networking/ |
D | strparser.rst | 180 struct contains two fields: offset and full_len. Offset is 181 where the message starts in the skb, and full_len is the 183 then full_len since strparser does not trim the skb.
|
/linux-6.1.9/drivers/net/wireless/zydas/zd1211rw/ |
D | zd_mac.c | 707 u32 full_len = beacon->len + 4; in zd_mac_config_beacon() local 720 num_cmds = 1 + zd_chip_is_zd1211b(&mac->chip) + full_len; in zd_mac_config_beacon() 760 ioreqs[req_pos].value = full_len - 1; in zd_mac_config_beacon() 764 ioreqs[req_pos].value = full_len - 1; in zd_mac_config_beacon() 824 r = zd_iowrite32_locked(&mac->chip, 0x00000400 | (full_len << 19), in zd_mac_config_beacon()
|
/linux-6.1.9/net/xfrm/ |
D | espintcp.c | 57 int len = rxm->full_len - 2; in espintcp_rcv() 100 if (pskb_trim(skb, rxm->full_len - 2) != 0) { in espintcp_rcv()
|
/linux-6.1.9/drivers/net/wireless/ath/ath6kl/ |
D | htc_mbox.c | 1374 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-6.1.9/net/core/ |
D | skmsg.c | 668 len = stm->full_len; in sk_psock_backlog() 1012 len = stm->full_len; in sk_psock_verdict_apply()
|
D | filter.c | 3569 rxm->full_len += len_diff; in BPF_CALL_4()
|
/linux-6.1.9/net/ipv6/ |
D | mcast.c | 2135 int err, len, payload_len, full_len; in igmp6_send() local 2149 full_len = sizeof(struct ipv6hdr) + payload_len; in igmp6_send() 2153 IPSTATS_MIB_OUT, full_len); in igmp6_send() 2156 skb = sock_alloc_send_skb(sk, hlen + tlen + full_len, 1, &err); in igmp6_send()
|