/kernel/linux/linux-6.6/net/tls/ |
H A D | tls_strp.c | 74 strp->stm.full_len); in tls_strp_msg_make_copy() 134 tcp_read_done(strp->sk, strp->stm.full_len); in tls_strp_msg_cow() 165 len = strp->stm.full_len; in tls_strp_msg_hold() 221 if (!strp->stm.full_len) { in tls_strp_copyin_frag() 253 strp->stm.full_len = sz; in tls_strp_copyin_frag() 254 if (!strp->stm.full_len) in tls_strp_copyin_frag() 259 while (len && strp->stm.full_len > skb->len) { in tls_strp_copyin_frag() 260 chunk = min_t(size_t, len, strp->stm.full_len - skb->len); in tls_strp_copyin_frag() 288 if (strp->stm.full_len) in tls_strp_copyin_skb() 289 chunk = strp->stm.full_len in tls_strp_copyin_skb() [all...] |
H A D | tls_sw.c | 166 int offset = rxm->full_len - TLS_TAG_SIZE - 1; in tls_padding_length() 1420 unsigned int full_len) in tls_alloc_clrtxt_skb() 1426 clr_skb = alloc_skb_with_frags(0, full_len, TLS_PAGE_ORDER, in tls_alloc_clrtxt_skb() 1432 clr_skb->len = full_len; in tls_alloc_clrtxt_skb() 1433 clr_skb->data_len = full_len; in tls_alloc_clrtxt_skb() 1475 const int data_len = rxm->full_len - prot->overhead_size; in tls_decrypt_sg() 1483 rxm->full_len - prot->prepend_size); in tls_decrypt_sg() 1498 clear_skb = tls_alloc_clrtxt_skb(sk, skb, rxm->full_len); in tls_decrypt_sg() 1556 tls_make_aad(dctx->aad, rxm->full_len - prot->overhead_size + in tls_decrypt_sg() 1565 rxm->full_len in tls_decrypt_sg() 1419 tls_alloc_clrtxt_skb(struct sock *sk, struct sk_buff *skb, unsigned int full_len) tls_alloc_clrtxt_skb() argument [all...] |
H A D | tls_device.c | 868 if (tcp_inq(sk) > rxm->full_len) { in tls_device_core_ctrl_rx_resync() 904 orig_buf = kmalloc(rxm->full_len + TLS_HEADER_SIZE + cipher_desc->iv, in tls_device_reencrypt() 920 rxm->full_len + TLS_HEADER_SIZE + cipher_desc->iv); in tls_device_reencrypt() 932 data_len = rxm->full_len - cipher_desc->tag; in tls_device_reencrypt() 997 trace_tls_device_decrypted(sk, tcp_sk(sk)->copied_seq - rxm->full_len, in tls_device_decrypted() 998 tls_ctx->rx.rec_seq, rxm->full_len, in tls_device_decrypted()
|
/kernel/linux/linux-5.10/drivers/net/usb/ |
H A 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()
|
/kernel/linux/linux-6.6/drivers/net/usb/ |
H A 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()
|
/kernel/linux/linux-5.10/net/tls/ |
H A D | tls_sw.c | 144 if (back > rxm->full_len - prot->prepend_size) in padding_length() 147 rxm->offset + rxm->full_len - back, in padding_length() 195 rxm->full_len -= pad; in tls_decrypt_done() 197 rxm->full_len -= prot->overhead_size; in tls_decrypt_done() 1427 const int data_len = rxm->full_len - prot->overhead_size + in decrypt_internal() 1437 rxm->full_len - prot->prepend_size); in decrypt_internal() 1495 tls_make_aad(aad, rxm->full_len - prot->overhead_size + in decrypt_internal() 1505 rxm->full_len - prot->prepend_size); in decrypt_internal() 1587 rxm->full_len -= pad; in decrypt_skb_update() 1589 rxm->full_len in decrypt_skb_update() [all...] |
H A D | tls_device.c | 851 if (tcp_inq(sk) > rxm->full_len) { in tls_device_core_ctrl_rx_resync() 874 orig_buf = kmalloc(rxm->full_len + TLS_HEADER_SIZE + in tls_device_reencrypt() 888 rxm->full_len + TLS_HEADER_SIZE + in tls_device_reencrypt() 902 data_len = rxm->full_len - TLS_CIPHER_AES_GCM_128_TAG_SIZE; in tls_device_reencrypt() 965 trace_tls_device_decrypted(sk, tcp_sk(sk)->copied_seq - rxm->full_len, in tls_device_decrypted() 966 tls_ctx->rx.rec_seq, rxm->full_len, in tls_device_decrypted()
|
/kernel/linux/linux-5.10/net/strparser/ |
H A 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()
|
/kernel/linux/linux-6.6/net/strparser/ |
H A 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()
|
/kernel/linux/linux-6.6/drivers/usb/cdns3/ |
H A D | cdnsp-ring.c | 1722 unsigned int i, len, full_len, num_trbs = 0; in count_sg_trbs_needed() local 1725 full_len = preq->request.length; in count_sg_trbs_needed() 1730 len = min(len, full_len); in count_sg_trbs_needed() 1731 full_len -= len; in count_sg_trbs_needed() 1732 if (full_len == 0) in count_sg_trbs_needed() 1861 unsigned int enqd_len, block_len, trb_buff_len, full_len; in cdnsp_queue_bulk_tx() local 1880 full_len = preq->request.length; in cdnsp_queue_bulk_tx() 1891 block_len = full_len; in cdnsp_queue_bulk_tx() 1898 IS_ALIGNED(full_len, usb_endpoint_maxp(pep->endpoint.desc))) { in cdnsp_queue_bulk_tx() 1917 for (enqd_len = 0; zero_len_trb || first_trb || enqd_len < full_len; in cdnsp_queue_bulk_tx() [all...] |
/kernel/linux/linux-6.6/drivers/usb/gadget/udc/cdns2/ |
H A D | cdns2-gadget.c | 415 unsigned int i, len, full_len, num_trbs = 0; in cdns2_count_sg_trbs() local 419 full_len = req->length; in cdns2_count_sg_trbs() 424 len = min(len, full_len); in cdns2_count_sg_trbs() 451 full_len -= len; in cdns2_count_sg_trbs() 452 if (full_len == 0) in cdns2_count_sg_trbs() 511 u32 full_len; in cdns2_ep_tx_isoc() local 536 full_len = preq->request.length; in cdns2_ep_tx_isoc() 540 for (enqd_len = 0; enqd_len < full_len; in cdns2_ep_tx_isoc() 553 if (trb_buff_len > full_len - enqd_len) in cdns2_ep_tx_isoc() 554 trb_buff_len = full_len in cdns2_ep_tx_isoc() [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath10k/ |
H A D | sdio.c | 55 size_t act_len, size_t full_len, in ath10k_sdio_mbox_alloc_rx_pkt() 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() 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 in ath10k_sdio_mbox_rx_alloc() 54 ath10k_sdio_mbox_alloc_rx_pkt(struct ath10k_sdio_rx_data *pkt, size_t act_len, size_t full_len, bool part_of_bundle, bool last_in_bundle) ath10k_sdio_mbox_alloc_rx_pkt() argument 499 ath10k_sdio_mbox_alloc_bundle(struct ath10k *ar, struct ath10k_sdio_rx_data *rx_pkts, struct ath10k_htc_hdr *htc_hdr, size_t full_len, size_t act_len, size_t *bndl_cnt) ath10k_sdio_mbox_alloc_bundle() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath10k/ |
H A D | sdio.c | 55 size_t act_len, size_t full_len, in ath10k_sdio_mbox_alloc_rx_pkt() 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() 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 in ath10k_sdio_mbox_rx_alloc() 54 ath10k_sdio_mbox_alloc_rx_pkt(struct ath10k_sdio_rx_data *pkt, size_t act_len, size_t full_len, bool part_of_bundle, bool last_in_bundle) ath10k_sdio_mbox_alloc_rx_pkt() argument 499 ath10k_sdio_mbox_alloc_bundle(struct ath10k *ar, struct ath10k_sdio_rx_data *rx_pkts, struct ath10k_htc_hdr *htc_hdr, size_t full_len, size_t act_len, size_t *bndl_cnt) ath10k_sdio_mbox_alloc_bundle() argument [all...] |
/kernel/linux/linux-6.6/tools/net/ynl/lib/ |
H A D | ynl.py | 104 self.full_len = (self.payload_len + 3) & ~3 171 offset += attr.full_len 509 offset += item.full_len 562 if offset + attr.full_len <= target: 563 offset += attr.full_len
|
/kernel/linux/linux-5.10/include/net/ |
H A D | strparser.h | 53 int full_len; member
|
/kernel/linux/linux-6.6/include/net/ |
H A D | strparser.h | 53 int full_len; member
|
/kernel/linux/linux-5.10/drivers/usb/host/ |
H A D | xhci-ring.c | 3223 unsigned int i, len, full_len, num_trbs = 0; in count_sg_trbs_needed() local 3225 full_len = urb->transfer_buffer_length; in count_sg_trbs_needed() 3230 len = min_t(unsigned int, len, full_len); in count_sg_trbs_needed() 3231 full_len -= len; in count_sg_trbs_needed() 3232 if (full_len == 0) in count_sg_trbs_needed() 3454 unsigned int enqd_len, block_len, trb_buff_len, full_len; in xhci_queue_bulk_tx() local 3463 full_len = urb->transfer_buffer_length; in xhci_queue_bulk_tx() 3474 block_len = full_len; in xhci_queue_bulk_tx() 3500 for (enqd_len = 0; first_trb || enqd_len < full_len; in xhci_queue_bulk_tx() 3508 if (enqd_len + trb_buff_len > full_len) in xhci_queue_bulk_tx() [all...] |
/kernel/linux/linux-6.6/drivers/usb/host/ |
H A D | xhci-ring.c | 3373 unsigned int i, len, full_len, num_trbs = 0; in count_sg_trbs_needed() local 3375 full_len = urb->transfer_buffer_length; in count_sg_trbs_needed() 3380 len = min_t(unsigned int, len, full_len); in count_sg_trbs_needed() 3381 full_len -= len; in count_sg_trbs_needed() 3382 if (full_len == 0) in count_sg_trbs_needed() 3604 unsigned int enqd_len, block_len, trb_buff_len, full_len; in xhci_queue_bulk_tx() local 3613 full_len = urb->transfer_buffer_length; in xhci_queue_bulk_tx() 3624 block_len = full_len; in xhci_queue_bulk_tx() 3650 for (enqd_len = 0; first_trb || enqd_len < full_len; in xhci_queue_bulk_tx() 3658 if (enqd_len + trb_buff_len > full_len) in xhci_queue_bulk_tx() [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/ |
H A 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()
|
/kernel/linux/linux-6.6/drivers/net/wireless/legacy/ |
H A 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()
|
/kernel/linux/linux-5.10/drivers/net/wireless/zydas/zd1211rw/ |
H A 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()
|
/kernel/linux/linux-6.6/drivers/net/wireless/zydas/zd1211rw/ |
H A 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()
|
/kernel/linux/linux-5.10/net/kcm/ |
H A D | kcmsock.c | 1109 if (len > stm->full_len) in kcm_recvmsg() 1110 len = stm->full_len; in kcm_recvmsg() 1119 if (copied < stm->full_len) { in kcm_recvmsg() 1126 stm->full_len -= copied; in kcm_recvmsg() 1162 if (len > stm->full_len) in kcm_splice_read() 1163 len = stm->full_len; in kcm_splice_read() 1174 stm->full_len -= copied; in kcm_splice_read()
|
/kernel/linux/linux-6.6/net/kcm/ |
H A D | kcmsock.c | 987 if (len > stm->full_len) in kcm_recvmsg() 988 len = stm->full_len; in kcm_recvmsg() 997 if (copied < stm->full_len) { in kcm_recvmsg() 1004 stm->full_len -= copied; in kcm_recvmsg() 1039 if (len > stm->full_len) in kcm_splice_read() 1040 len = stm->full_len; in kcm_splice_read() 1051 stm->full_len -= copied; in kcm_splice_read()
|
/kernel/linux/linux-5.10/net/xfrm/ |
H A 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()
|