/linux/net/sctp/ |
A D | chunk.c | 150 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/tools/io_uring/ |
A D | io_uring-cp.c | 30 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/net/ipv6/ |
A D | netfilter.c | 156 unsigned int first_len = skb_pagelen(skb); in br_ip6_fragment() local 160 if (first_len - hlen > mtu || in br_ip6_fragment()
|
A D | ip6_output.c | 650 unsigned int first_len; in ip6_fraglist_init() local 678 first_len = skb_pagelen(skb); in ip6_fraglist_init() 679 skb->data_len = first_len - skb_headlen(skb); in ip6_fraglist_init() 680 skb->len = first_len; in ip6_fraglist_init() 681 ipv6_hdr(skb)->payload_len = htons(first_len - sizeof(struct ipv6hdr)); in ip6_fraglist_init() 866 unsigned int first_len = skb_pagelen(skb); in ip6_fragment() local 870 if (first_len - hlen > mtu || in ip6_fragment() 871 ((first_len - hlen) & 7) || in ip6_fragment()
|
/linux/drivers/net/wireguard/ |
A D | noise.c | 310 size_t first_len, size_t second_len, size_t third_len, in kdf() argument 317 (first_len > BLAKE2S_HASH_SIZE || in kdf() 321 (!first_len || !first_dst)) || in kdf() 327 if (!first_dst || !first_len) in kdf() 333 memcpy(first_dst, output, first_len); in kdf()
|
/linux/net/ipv4/ |
A D | ip_output.c | 592 unsigned int first_len = skb_pagelen(skb); in ip_fraglist_init() local 601 skb->data_len = first_len - skb_headlen(skb); in ip_fraglist_init() 602 skb->len = first_len; in ip_fraglist_init() 603 iph->tot_len = htons(first_len); in ip_fraglist_init() 798 unsigned int first_len = skb_pagelen(skb); in ip_do_fragment() local 800 if (first_len - hlen > mtu || in ip_do_fragment() 801 ((first_len - hlen) & 7) || in ip_do_fragment()
|
/linux/net/bridge/netfilter/ |
A D | nf_conntrack_bridge.c | 58 unsigned int first_len = skb_pagelen(skb); in nf_br_ip_fragment() local 62 if (first_len - hlen > mtu || in nf_br_ip_fragment()
|
/linux/drivers/scsi/lpfc/ |
A D | lpfc_nvme.c | 392 int i, rc, xmit_len, first_len; in lpfc_nvme_gen_req() local 424 first_len = 0; in lpfc_nvme_gen_req() 432 first_len = xmit_len; in lpfc_nvme_gen_req() 440 wqe->generic.bde.tus.f.bdeSize = first_len; in lpfc_nvme_gen_req() 445 wqe->gen_req.request_payload_len = first_len; in lpfc_nvme_gen_req() 513 genwqe, pnvme_lsreq, bmp, xmit_len, first_len); in lpfc_nvme_gen_req()
|
/linux/drivers/net/ethernet/sun/ |
A D | sunhme.c | 2243 u32 first_len, u32 first_entry, u32 entry) in unmap_partial_tx_skb() argument 2247 dma_unmap_single(hp->dma_dev, first_mapping, first_len, DMA_TO_DEVICE); in unmap_partial_tx_skb() 2305 u32 first_len, first_mapping; in happy_meal_start_xmit() local 2311 first_len = skb_headlen(skb); in happy_meal_start_xmit() 2312 first_mapping = dma_map_single(hp->dma_dev, skb->data, first_len, in happy_meal_start_xmit() 2326 unmap_partial_tx_skb(hp, first_mapping, first_len, in happy_meal_start_xmit() 2339 (tx_flags | TXFLAG_SOP | (first_len & TXFLAG_SIZE)), in happy_meal_start_xmit()
|
A D | sungem.c | 1038 u32 first_len; in gem_start_xmit() local 1050 first_len = skb_headlen(skb); in gem_start_xmit() 1054 first_len, DMA_TO_DEVICE); in gem_start_xmit() 1084 cpu_to_le64(ctrl | TXDCTRL_SOF | intme | first_len); in gem_start_xmit()
|
/linux/drivers/scsi/ |
A D | sd.c | 2733 int first_len; in sd_read_cache_type() local 2744 first_len = 4; in sd_read_cache_type() 2753 first_len = 192; in sd_read_cache_type() 2765 res = sd_do_mode_sense(sdkp, dbd, modepage, buffer, first_len, in sd_read_cache_type() 2773 first_len = 0; in sd_read_cache_type() 2796 if (len > first_len) in sd_read_cache_type()
|
/linux/drivers/net/ethernet/realtek/ |
A D | 8139cp.c | 803 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()
|