Home
last modified time | relevance | path

Searched refs:first_len (Results 1 – 12 of 12) sorted by relevance

/linux-5.19.10/net/sctp/
Dchunk.c150 size_t len, first_len, max_data, remaining; in sctp_datamsg_from_user() local
206 first_len = max_data; in sctp_datamsg_from_user()
218 first_len -= SCTP_PAD4(sizeof(struct sctp_sack_chunk)); in sctp_datamsg_from_user()
222 first_len -= SCTP_ARBITRARY_COOKIE_ECHO_LEN; in sctp_datamsg_from_user()
225 if (msg_len >= first_len) { in sctp_datamsg_from_user()
227 if (msg_len > first_len) in sctp_datamsg_from_user()
232 first_len = msg_len; in sctp_datamsg_from_user()
242 len = first_len; in sctp_datamsg_from_user()
/linux-5.19.10/tools/io_uring/
Dio_uring-cp.c30 size_t first_len; member
104 data->first_len = size; in queue_read()
117 data->iov.iov_len = data->first_len; in queue_write()
217 write_left -= data->first_len; in copy_file()
/linux-5.19.10/net/ipv6/
Dnetfilter.c162 unsigned int first_len = skb_pagelen(skb); in br_ip6_fragment() local
166 if (first_len - hlen > mtu || in br_ip6_fragment()
Dip6_output.c672 unsigned int first_len; in ip6_fraglist_init() local
700 first_len = skb_pagelen(skb); in ip6_fraglist_init()
701 skb->data_len = first_len - skb_headlen(skb); in ip6_fraglist_init()
702 skb->len = first_len; in ip6_fraglist_init()
703 ipv6_hdr(skb)->payload_len = htons(first_len - sizeof(struct ipv6hdr)); in ip6_fraglist_init()
889 unsigned int first_len = skb_pagelen(skb); in ip6_fragment() local
893 if (first_len - hlen > mtu || in ip6_fragment()
894 ((first_len - hlen) & 7) || in ip6_fragment()
/linux-5.19.10/drivers/net/wireguard/
Dnoise.c345 size_t first_len, size_t second_len, size_t third_len, in kdf() argument
352 (first_len > BLAKE2S_HASH_SIZE || in kdf()
356 (!first_len || !first_dst)) || in kdf()
362 if (!first_dst || !first_len) in kdf()
368 memcpy(first_dst, output, first_len); in kdf()
/linux-5.19.10/net/bridge/netfilter/
Dnf_conntrack_bridge.c59 unsigned int first_len = skb_pagelen(skb); in nf_br_ip_fragment() local
63 if (first_len - hlen > mtu || in nf_br_ip_fragment()
/linux-5.19.10/net/ipv4/
Dip_output.c599 unsigned int first_len = skb_pagelen(skb); in ip_fraglist_init() local
608 skb->data_len = first_len - skb_headlen(skb); in ip_fraglist_init()
609 skb->len = first_len; in ip_fraglist_init()
610 iph->tot_len = htons(first_len); in ip_fraglist_init()
805 unsigned int first_len = skb_pagelen(skb); in ip_do_fragment() local
807 if (first_len - hlen > mtu || in ip_do_fragment()
808 ((first_len - hlen) & 7) || in ip_do_fragment()
/linux-5.19.10/drivers/scsi/lpfc/
Dlpfc_nvme.c401 int i, rc, xmit_len, first_len; in lpfc_nvme_gen_req() local
433 first_len = 0; in lpfc_nvme_gen_req()
441 first_len = xmit_len; in lpfc_nvme_gen_req()
449 wqe->generic.bde.tus.f.bdeSize = first_len; in lpfc_nvme_gen_req()
454 wqe->gen_req.request_payload_len = first_len; in lpfc_nvme_gen_req()
521 genwqe, pnvme_lsreq, bmp, xmit_len, first_len); in lpfc_nvme_gen_req()
/linux-5.19.10/drivers/net/ethernet/sun/
Dsunhme.c2224 u32 first_len, u32 first_entry, u32 entry) in unmap_partial_tx_skb() argument
2228 dma_unmap_single(hp->dma_dev, first_mapping, first_len, DMA_TO_DEVICE); in unmap_partial_tx_skb()
2286 u32 first_len, first_mapping; in happy_meal_start_xmit() local
2292 first_len = skb_headlen(skb); in happy_meal_start_xmit()
2293 first_mapping = dma_map_single(hp->dma_dev, skb->data, first_len, in happy_meal_start_xmit()
2307 unmap_partial_tx_skb(hp, first_mapping, first_len, in happy_meal_start_xmit()
2320 (tx_flags | TXFLAG_SOP | (first_len & TXFLAG_SIZE)), in happy_meal_start_xmit()
Dsungem.c1037 u32 first_len; in gem_start_xmit() local
1049 first_len = skb_headlen(skb); in gem_start_xmit()
1053 first_len, DMA_TO_DEVICE); in gem_start_xmit()
1083 cpu_to_le64(ctrl | TXDCTRL_SOF | intme | first_len); in gem_start_xmit()
/linux-5.19.10/drivers/scsi/
Dsd.c2634 int first_len; in sd_read_cache_type() local
2645 first_len = 4; in sd_read_cache_type()
2654 first_len = 192; in sd_read_cache_type()
2666 res = sd_do_mode_sense(sdkp, dbd, modepage, buffer, first_len, in sd_read_cache_type()
2674 first_len = 0; in sd_read_cache_type()
2697 if (len > first_len) in sd_read_cache_type()
/linux-5.19.10/drivers/net/ethernet/realtek/
D8139cp.c803 u32 first_len, first_eor, ctrl; in cp_start_xmit() local
811 first_len = skb_headlen(skb); in cp_start_xmit()
813 first_len, DMA_TO_DEVICE); in cp_start_xmit()
859 ctrl = opts1 | first_eor | first_len | FirstFrag; in cp_start_xmit()