Home
last modified time | relevance | path

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

/linux/net/tls/
H A Dtls_strp.c75 strp->stm.full_len); in tls_strp_msg_make_copy()
135 tcp_read_done(strp->sk, strp->stm.full_len); in tls_strp_msg_cow()
166 len = strp->stm.full_len; in tls_strp_msg_hold()
222 if (!strp->stm.full_len) { in tls_strp_copyin_frag()
254 strp->stm.full_len = sz; in tls_strp_copyin_frag()
255 if (!strp->stm.full_len) in tls_strp_copyin_frag()
260 while (len && strp->stm.full_len > skb->len) { in tls_strp_copyin_frag()
261 chunk = min_t(size_t, len, strp->stm.full_len - skb->len); in tls_strp_copyin_frag()
289 if (strp->stm.full_len) in tls_strp_copyin_skb()
290 chunk = strp->stm.full_len - skb->len; in tls_strp_copyin_skb()
[all …]
H A Dtls_sw.c166 int offset = rxm->full_len - TLS_TAG_SIZE - 1; in tls_padding_length()
1449 unsigned int full_len) in tls_alloc_clrtxt_skb() argument
1455 clr_skb = alloc_skb_with_frags(0, full_len, TLS_PAGE_ORDER, in tls_alloc_clrtxt_skb()
1461 clr_skb->len = full_len; in tls_alloc_clrtxt_skb()
1462 clr_skb->data_len = full_len; in tls_alloc_clrtxt_skb()
1504 const int data_len = rxm->full_len - prot->overhead_size; in tls_decrypt_sg()
1512 rxm->full_len - prot->prepend_size); in tls_decrypt_sg()
1527 clear_skb = tls_alloc_clrtxt_skb(sk, skb, rxm->full_len); in tls_decrypt_sg()
1585 tls_make_aad(dctx->aad, rxm->full_len - prot->overhead_size + in tls_decrypt_sg()
1594 rxm->full_len - prot->prepend_size); in tls_decrypt_sg()
[all …]
H A Dtls_device.c862 if (tcp_inq(sk) > rxm->full_len) { in tls_device_core_ctrl_rx_resync()
892 orig_buf = kmalloc(rxm->full_len + TLS_HEADER_SIZE + cipher_desc->iv, in tls_device_reencrypt()
908 rxm->full_len + TLS_HEADER_SIZE + cipher_desc->iv); in tls_device_reencrypt()
920 data_len = rxm->full_len - cipher_desc->tag; in tls_device_reencrypt()
985 trace_tls_device_decrypted(sk, tcp_sk(sk)->copied_seq - rxm->full_len, in tls_device_decrypted()
986 tls_ctx->rx.rec_seq, rxm->full_len, in tls_device_decrypted()
/linux/drivers/net/usb/
H A 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/net/strparser/
H A Dstrparser.c210 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/drivers/usb/cdns3/
H A Dcdnsp-ring.c1727 unsigned int i, len, full_len, num_trbs = 0; in count_sg_trbs_needed() local
1730 full_len = preq->request.length; in count_sg_trbs_needed()
1735 len = min(len, full_len); in count_sg_trbs_needed()
1736 full_len -= len; in count_sg_trbs_needed()
1737 if (full_len == 0) in count_sg_trbs_needed()
1866 unsigned int enqd_len, block_len, trb_buff_len, full_len; in cdnsp_queue_bulk_tx() local
1885 full_len = preq->request.length; in cdnsp_queue_bulk_tx()
1896 block_len = full_len; in cdnsp_queue_bulk_tx()
1903 IS_ALIGNED(full_len, usb_endpoint_maxp(pep->endpoint.desc))) { in cdnsp_queue_bulk_tx()
1939 for (enqd_len = 0; zero_len_trb || first_trb || enqd_len < full_len; in cdnsp_queue_bulk_tx()
[all...]
/linux/drivers/usb/gadget/udc/cdns2/
H A Dcdns2-gadget.c416 unsigned int i, len, full_len, num_trbs = 0; in cdns2_count_sg_trbs() local
420 full_len = req->length; in cdns2_count_sg_trbs()
425 len = min(len, full_len); in cdns2_count_sg_trbs()
452 full_len -= len; in cdns2_count_sg_trbs()
453 if (full_len == 0) in cdns2_count_sg_trbs()
512 u32 full_len; in cdns2_ep_tx_isoc() local
537 full_len = preq->request.length; in cdns2_ep_tx_isoc()
541 for (enqd_len = 0; enqd_len < full_len; in cdns2_ep_tx_isoc()
554 if (trb_buff_len > full_len - enqd_len) in cdns2_ep_tx_isoc()
555 trb_buff_len = full_len in cdns2_ep_tx_isoc()
[all...]
/linux/net/kcm/
H A Dkcmsock.c991 if (len > stm->full_len) in kcm_recvmsg()
992 len = stm->full_len; in kcm_recvmsg()
1001 if (copied < stm->full_len) { in kcm_recvmsg()
1008 stm->full_len -= copied; in kcm_recvmsg()
1048 if (len > stm->full_len) in kcm_splice_read()
1049 len = stm->full_len; in kcm_splice_read()
1060 stm->full_len -= copied; in kcm_splice_read()
/linux/include/net/
H A Dstrparser.h55 int full_len; member
/linux/Documentation/networking/
H A Dstrparser.rst180 struct contains two fields: offset and full_len. Offset is
181 where the message starts in the skb, and full_len is the
183 than full_len since strparser does not trim the skb.
/linux/drivers/net/wireless/zydas/zd1211rw/
H A Dzd_mac.c711 u32 full_len = beacon->len + 4; in zd_mac_config_beacon() local
724 num_cmds = 1 + zd_chip_is_zd1211b(&mac->chip) + full_len; in zd_mac_config_beacon()
764 ioreqs[req_pos].value = full_len - 1; in zd_mac_config_beacon()
768 ioreqs[req_pos].value = full_len - 1; in zd_mac_config_beacon()
828 r = zd_iowrite32_locked(&mac->chip, 0x00000400 | (full_len << 19), in zd_mac_config_beacon()
/linux/drivers/gpu/drm/xe/
H A Dxe_guc_ct.c714 u32 full_len; in h2g_write() local
719 full_len = len + GUC_CTB_HDR_LEN; in h2g_write()
722 xe_gt_assert(gt, full_len <= GUC_CTB_MSG_MAX_LEN); in h2g_write()
756 if (tail + full_len > h2g->info.size) { in h2g_write()
799 h2g->info.tail = (tail + full_len) % h2g->info.size; in h2g_write()
800 h2g_reserve_space(ct, full_len); in h2g_write()
805 trace_xe_guc_ctb_h2g(xe, gt->info.id, *(action - 1), full_len, in h2g_write()
/linux/tools/net/ynl/pyynl/lib/
H A Dynl.py134 self.full_len = (self.payload_len + 3) & ~3
176 offset += attr.full_len
671 offset += item.full_len
823 if offset + attr.full_len <= target:
824 offset += attr.full_len
/linux/net/xfrm/
H A Despintcp.c59 int len = rxm->full_len - 2; in espintcp_rcv()
102 if (pskb_trim(skb, rxm->full_len - 2) != 0) { in espintcp_rcv()
/linux/drivers/net/wireless/ath/ath6kl/
H A Dhtc_mbox.c1373 int status = 0, j, full_len; in ath6kl_htc_rx_setup() local
1376 full_len = CALC_TXRX_PADDED_LEN(target, in ath6kl_htc_rx_setup()
1380 if (!htc_valid_rx_frame_len(target, ep->eid, full_len)) { in ath6kl_htc_rx_setup()
1397 (full_len > ep_cb.rx_alloc_thresh)) { in ath6kl_htc_rx_setup()
1406 full_len); in ath6kl_htc_rx_setup()
/linux/drivers/net/ovpn/
H A Dtcp.c77 size_t pkt_len = msg->full_len - 2; in ovpn_tcp_rcv()
/linux/net/core/
H A Dskmsg.c681 len = stm->full_len; in sk_psock_backlog()
1036 len = stm->full_len; in sk_psock_verdict_apply()
H A Dfilter.c3673 rxm->full_len += len_diff; in BPF_CALL_4()
/linux/net/ipv6/
H A Dmcast.c2165 int err, len, payload_len, full_len; in igmp6_send() local
2187 full_len = sizeof(struct ipv6hdr) + payload_len; in igmp6_send()
2189 skb = alloc_skb(hlen + tlen + full_len, GFP_KERNEL); in igmp6_send()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_rx.c972 int end, from, full_len = len; in mlx5e_shampo_fill_umr() local
983 shampo->ci = (shampo->ci + full_len) & (shampo->hd_per_wq - 1); in mlx5e_shampo_fill_umr()