/linux/net/tls/ |
H A D | tls_strp.c | 75 strp->stm.full_len); in tls_strp_msg_make_copy() 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() 289 if (strp->stm.full_len) in tls_strp_copyin_skb() 330 strp->stm.full_len = sz; in tls_strp_copyin_skb() 361 if (strp->stm.full_len && strp->stm.full_len == skb->len) { in tls_strp_copyin() 493 rxm->full_len = strp->stm.full_len; in tls_strp_msg_load() 523 strp->stm.full_len = sz; in tls_strp_read_sock() [all …]
|
H A D | tls_sw.c | 1432 clr_skb->len = full_len; in tls_alloc_clrtxt_skb() 1668 rxm->full_len -= pad; in tls_decrypt_sw() 1700 rxm->full_len -= pad; in tls_decrypt_device() 1806 if (skip < rxm->full_len) in process_rx_list() 1835 rxm->full_len = rxm->full_len - chunk; in process_rx_list() 1838 if (rxm->full_len - skip) in process_rx_list() 2072 chunk = rxm->full_len; in tls_sw_recvmsg() 2099 rxm->full_len = 0; in tls_sw_recvmsg() 2121 rxm->full_len -= chunk; in tls_sw_recvmsg() 2230 rxm->full_len -= len; in tls_sw_splice_read() [all …]
|
H A D | tls_device.c | 862 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 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/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()
|
/linux/drivers/usb/cdns3/ |
H A D | cdnsp-ring.c | 1724 unsigned int i, len, full_len, num_trbs = 0; in count_sg_trbs_needed() local 1727 full_len = preq->request.length; in count_sg_trbs_needed() 1732 len = min(len, full_len); in count_sg_trbs_needed() 1733 full_len -= len; in count_sg_trbs_needed() 1734 if (full_len == 0) in count_sg_trbs_needed() 1882 full_len = preq->request.length; in cdnsp_queue_bulk_tx() 1893 block_len = full_len; in cdnsp_queue_bulk_tx() 1943 if (enqd_len + trb_buff_len > full_len) in cdnsp_queue_bulk_tx() 1944 trb_buff_len = full_len - enqd_len; in cdnsp_queue_bulk_tx() 1972 if (enqd_len + trb_buff_len >= full_len) { in cdnsp_queue_bulk_tx() [all …]
|
/linux/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 - enqd_len; in cdns2_ep_tx_isoc() [all …]
|
/linux/drivers/net/wireless/ath/ath10k/ |
H A D | sdio.c | 56 size_t act_len, size_t full_len, in ath10k_sdio_mbox_alloc_rx_pkt() argument 60 pkt->skb = dev_alloc_skb(full_len); in ath10k_sdio_mbox_alloc_rx_pkt() 65 pkt->alloc_len = full_len; in ath10k_sdio_mbox_alloc_rx_pkt() 503 size_t full_len, size_t act_len, in ath10k_sdio_mbox_alloc_bundle() argument 528 full_len, in ath10k_sdio_mbox_alloc_bundle() 543 size_t full_len, act_len; in ath10k_sdio_mbox_rx_alloc() local 572 full_len = ath10k_sdio_calc_txrx_padded_len(ar_sdio, act_len); in ath10k_sdio_mbox_rx_alloc() 574 if (full_len > ATH10K_SDIO_MAX_BUFFER_SIZE) { in ath10k_sdio_mbox_rx_alloc() 593 full_len, in ath10k_sdio_mbox_rx_alloc() 614 full_len += ATH10K_HIF_MBOX_BLOCK_SIZE; in ath10k_sdio_mbox_rx_alloc() [all …]
|
/linux/drivers/gpu/drm/xe/ |
H A D | xe_guc_ct.c | 551 u32 full_len; in h2g_write() local 555 full_len = len + GUC_CTB_HDR_LEN; in h2g_write() 558 xe_gt_assert(gt, full_len <= GUC_CTB_MSG_MAX_LEN); in h2g_write() 562 if (tail + full_len > h2g->info.size) { in h2g_write() 602 h2g->info.tail = (tail + full_len) % h2g->info.size; in h2g_write() 603 h2g_reserve_space(ct, full_len); in h2g_write() 608 trace_xe_guc_ctb_h2g(xe, gt->info.id, *(action - 1), full_len, in h2g_write()
|
/linux/net/kcm/ |
H A D | kcmsock.c | 991 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() 1043 if (len > stm->full_len) in kcm_splice_read() 1044 len = stm->full_len; in kcm_splice_read() 1055 stm->full_len -= copied; in kcm_splice_read()
|
/linux/include/net/ |
H A D | strparser.h | 53 int full_len; member
|
/linux/drivers/usb/host/ |
H A D | xhci-ring.c | 3340 full_len = urb->transfer_buffer_length; in count_sg_trbs_needed() 3345 len = min_t(unsigned int, len, full_len); in count_sg_trbs_needed() 3346 full_len -= len; in count_sg_trbs_needed() 3347 if (full_len == 0) in count_sg_trbs_needed() 3577 full_len = urb->transfer_buffer_length; in xhci_queue_bulk_tx() 3588 block_len = full_len; in xhci_queue_bulk_tx() 3622 if (enqd_len + trb_buff_len > full_len) in xhci_queue_bulk_tx() 3623 trb_buff_len = full_len - enqd_len; in xhci_queue_bulk_tx() 3636 if (enqd_len + trb_buff_len < full_len) { in xhci_queue_bulk_tx() 3648 if (enqd_len + trb_buff_len >= full_len) { in xhci_queue_bulk_tx() [all …]
|
/linux/Documentation/networking/ |
H A 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/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()
|
/linux/tools/net/ynl/lib/ |
H A D | ynl.py | 131 self.full_len = (self.payload_len + 3) & ~3 173 offset += attr.full_len 638 offset += item.full_len 782 if offset + attr.full_len <= target: 783 offset += attr.full_len
|
/linux/drivers/input/ |
H A D | input.c | 1350 static int input_print_modalias_parts(char *buf, int size, int full_len, in input_print_modalias_parts() argument 1382 if (full_len && size < full_len + 1 && klen > 3) { in input_print_modalias_parts() 1383 remainder = full_len - len; in input_print_modalias_parts() 1424 int full_len; in input_print_modalias() local 1434 full_len = input_print_modalias_parts(NULL, 0, 0, id); in input_print_modalias() 1435 return input_print_modalias_parts(buf, size, full_len, id); in input_print_modalias()
|
/linux/net/xfrm/ |
H A D | espintcp.c | 59 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 D | htc_mbox.c | 1373 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/net/core/ |
H A D | skmsg.c | 665 len = stm->full_len; in sk_psock_backlog() 1007 len = stm->full_len; in sk_psock_verdict_apply()
|
H A D | filter.c | 3648 rxm->full_len += len_diff; in BPF_CALL_4()
|
/linux/net/ipv6/ |
H A D | mcast.c | 2134 int err, len, payload_len, full_len; in igmp6_send() local 2148 full_len = sizeof(struct ipv6hdr) + payload_len; in igmp6_send() 2154 skb = sock_alloc_send_skb(sk, hlen + tlen + full_len, 1, &err); in igmp6_send()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_rx.c | 969 int end, from, full_len = len; in mlx5e_shampo_fill_umr() local 980 shampo->ci = (shampo->ci + full_len) & (shampo->hd_per_wq - 1); in mlx5e_shampo_fill_umr()
|