/linux-4.1.27/drivers/mtd/lpddr/ |
H A D | lpddr2_nvm.c | 330 u_long add, current_len, tot_len, target_len, my_data; lpddr2_nvm_write() local 341 tot_len = 0; lpddr2_nvm_write() 343 while (tot_len < target_len) { lpddr2_nvm_write() 345 my_data = write_buf[tot_len]; lpddr2_nvm_write() 346 my_data += (write_buf[tot_len+1]) << 8; lpddr2_nvm_write() 348 my_data += (write_buf[tot_len+2]) << 16; lpddr2_nvm_write() 349 my_data += (write_buf[tot_len+3]) << 24; lpddr2_nvm_write() 357 tot_len += pcm_data->bus_width; lpddr2_nvm_write() 359 current_len = min(target_len - tot_len, lpddr2_nvm_write() 362 0x00, add, current_len, write_buf + tot_len); lpddr2_nvm_write() 367 tot_len += current_len; lpddr2_nvm_write() 372 *retlen = tot_len; lpddr2_nvm_write()
|
/linux-4.1.27/fs/btrfs/ |
H A D | lzo.c | 282 unsigned long tot_len; lzo_decompress_biovec() local 287 tot_len = read_compress_length(data_in); lzo_decompress_biovec() 291 tot_len = min_t(size_t, srclen, tot_len); lzo_decompress_biovec() 297 while (tot_in < tot_len) { lzo_decompress_biovec() 333 if (working_bytes == 0 && tot_in >= tot_len) lzo_decompress_biovec() 389 size_t tot_len; lzo_decompress() local 396 tot_len = read_compress_length(data_in); lzo_decompress()
|
/linux-4.1.27/net/ipv6/ |
H A D | exthdrs.c | 718 opt2 = sock_kmalloc(sk, opt->tot_len, GFP_ATOMIC); ipv6_dup_options() 721 memcpy(opt2, opt, opt->tot_len); ipv6_dup_options() 766 int tot_len = 0; ipv6_renew_options() local 773 tot_len += CMSG_ALIGN(ipv6_optlen(opt->hopopt)); ipv6_renew_options() 775 tot_len += CMSG_ALIGN(ipv6_optlen(opt->dst0opt)); ipv6_renew_options() 777 tot_len += CMSG_ALIGN(ipv6_optlen(opt->srcrt)); ipv6_renew_options() 779 tot_len += CMSG_ALIGN(ipv6_optlen(opt->dst1opt)); ipv6_renew_options() 783 tot_len += CMSG_ALIGN(newoptlen); ipv6_renew_options() 785 if (!tot_len) ipv6_renew_options() 788 tot_len += sizeof(*opt2); ipv6_renew_options() 789 opt2 = sock_kmalloc(sk, tot_len, GFP_ATOMIC); ipv6_renew_options() 793 memset(opt2, 0, tot_len); ipv6_renew_options() 795 opt2->tot_len = tot_len; ipv6_renew_options() 829 sock_kfree_s(sk, opt2, opt2->tot_len); ipv6_renew_options()
|
H A D | tcp_ipv6.c | 744 unsigned int tot_len = sizeof(struct tcphdr); tcp_v6_send_response() local 749 tot_len += TCPOLEN_TSTAMP_ALIGNED; tcp_v6_send_response() 752 tot_len += TCPOLEN_MD5SIG_ALIGNED; tcp_v6_send_response() 755 buff = alloc_skb(MAX_HEADER + sizeof(struct ipv6hdr) + tot_len, tcp_v6_send_response() 760 skb_reserve(buff, MAX_HEADER + sizeof(struct ipv6hdr) + tot_len); tcp_v6_send_response() 762 t1 = (struct tcphdr *) skb_push(buff, tot_len); tcp_v6_send_response() 769 t1->doff = tot_len / 4; tcp_v6_send_response()
|
H A D | ipv6_sockglue.c | 238 atomic_sub(opt->tot_len, &sk->sk_omem_alloc); do_ipv6_setsockopt() 441 atomic_sub(opt->tot_len, &sk->sk_omem_alloc); do_ipv6_setsockopt() 497 opt->tot_len = sizeof(*opt) + optlen; do_ipv6_setsockopt() 514 atomic_sub(opt->tot_len, &sk->sk_omem_alloc); do_ipv6_setsockopt()
|
H A D | ip6_output.c | 1175 v6_cork->opt = kzalloc(opt->tot_len, sk->sk_allocation); ip6_setup_cork() 1179 v6_cork->opt->tot_len = opt->tot_len; ip6_setup_cork()
|
H A D | af_inet6.c | 433 atomic_sub(opt->tot_len, &sk->sk_omem_alloc); inet6_destroy_sock()
|
H A D | ip6_flowlabel.c | 383 fl->opt->tot_len = sizeof(*fl->opt) + olen; fl_create()
|
H A D | raw.c | 825 opt->tot_len = sizeof(struct ipv6_txoptions); rawv6_sendmsg()
|
H A D | udp.c | 1247 opt->tot_len = sizeof(*opt); udpv6_sendmsg()
|
/linux-4.1.27/net/ipv4/ |
H A D | inet_lro.c | 41 (ntohs(iph->tot_len) - IP_HDR_LEN(iph) - TCP_HDR_LEN(tcph)) 59 if (ntohs(iph->tot_len) != len) lro_tcp_ip_check() 118 csum_replace2(&iph->check, iph->tot_len, htons(lro_desc->ip_tot_len)); lro_update_tcp_ip_header() 119 iph->tot_len = htons(lro_desc->ip_tot_len); lro_update_tcp_ip_header() 164 lro_desc->ip_tot_len = ntohs(iph->tot_len); lro_init_desc()
|
H A D | xfrm4_input.c | 52 iph->tot_len = htons(skb->len); xfrm4_transport_finish() 133 iph->tot_len = htons(ntohs(iph->tot_len) - len); xfrm4_udp_encap_rcv()
|
H A D | xfrm4_mode_transport.c | 52 ip_hdr(skb)->tot_len = htons(skb->len + ihl); xfrm4_transport_input()
|
H A D | xfrm4_mode_beet.c | 120 iph->tot_len = htons(skb->len); xfrm4_beet_input()
|
H A D | fou.c | 58 iph->tot_len = htons(ntohs(iph->tot_len) - len); fou_recv_pull() 135 ip_hdr(skb)->tot_len = htons(ntohs(ip_hdr(skb)->tot_len) - len); gue_udp_recv()
|
H A D | ip_input.c | 431 len = ntohs(iph->tot_len); ip_rcv() 440 * Note this now means skb->len holds ntohs(iph->tot_len). ip_rcv()
|
H A D | ipmr.c | 988 ip_hdr(skb)->tot_len = htons(ntohs(ip_hdr(pkt)->tot_len) + ipmr_cache_report() 1010 ip_hdr(skb)->tot_len = htons(skb->len); /* Fix the length */ ipmr_cache_report() 1675 iph->tot_len = htons(skb->len); ip_encap() 2069 encap->tot_len == 0 || __pim_rcv() 2070 ntohs(encap->tot_len) + pimlen > skb->len) __pim_rcv()
|
H A D | ip_fragment.c | 614 iph->tot_len = htons(len); ip_frag_reasm() 681 len = ntohs(iph.tot_len); ip_check_defrag()
|
H A D | ip_output.c | 98 iph->tot_len = htons(skb->len); __ip_local_out_sk() 577 iph->tot_len = htons(first_len); 591 iph->tot_len = htons(frag->len); 736 iph->tot_len = htons(len + hlen);
|
H A D | ipconfig.c | 816 h->tot_len = htons(sizeof(struct bootp_pkt)); ic_bootp_send_if() 983 if (skb->len < ntohs(h->tot_len)) ic_bootp_recv() 992 if (ntohs(h->tot_len) < ntohs(b->udph.len) + sizeof(struct iphdr)) ic_bootp_recv() 1041 u8 *end = (u8 *) b + ntohs(b->iph.tot_len); ic_bootp_recv()
|
H A D | af_inet.c | 1283 iph->tot_len = htons(skb->len - nhoff); inet_gso_segment() 1413 csum_replace2(&iph->check, iph->tot_len, newlen); inet_gro_complete() 1414 iph->tot_len = newlen; inet_gro_complete()
|
H A D | ah4.c | 208 top_iph->tot_len = htons(skb->len); ah_output()
|
H A D | raw.c | 404 iph->tot_len = htons(length); raw_send_hdrinc()
|
H A D | cipso_ipv4.c | 2287 iph->tot_len = htons(skb->len); cipso_v4_skbuff_setattr()
|
H A D | igmp.c | 372 pip->tot_len = 0; /* filled in later */ igmpv3_newpack()
|
/linux-4.1.27/net/core/ |
H A D | tso.c | 25 iph->tot_len = htons(size + hdr_len - mac_hdr_len); tso_build_hdr()
|
H A D | netpoll.c | 450 put_unaligned(htons(ip_len), &(iph->tot_len)); netpoll_send_udp()
|
H A D | pktgen.c | 2625 iph->tot_len = htons(skb->len - ETH_HLEN); process_ipsec() 2842 iph->tot_len = htons(iplen); fill_packet_ipv4()
|
/linux-4.1.27/net/netfilter/ |
H A D | xt_length.c | 27 u_int16_t pktlen = ntohs(ip_hdr(skb)->tot_len); length_mt()
|
H A D | xt_TCPMSS.c | 218 newlen = htons(ntohs(iph->tot_len) + ret); tcpmss_tg4() 219 csum_replace2(&iph->check, iph->tot_len, newlen); tcpmss_tg4() 220 iph->tot_len = newlen; tcpmss_tg4()
|
H A D | nf_nat_helper.c | 65 ip_hdr(skb)->tot_len = htons(skb->len); mangle_contents()
|
H A D | xt_osf.c | 215 totlen = ntohs(ip->tot_len); xt_osf_match_packet()
|
/linux-4.1.27/net/dccp/ |
H A D | options.c | 507 u8 tot_len, *to; dccp_insert_fn_opt() local 517 tot_len = 3 + repeat_first + len; dccp_insert_fn_opt() 519 if (DCCP_SKB_CB(skb)->dccpd_opt_len + tot_len > DCCP_MAX_OPT_LEN) { dccp_insert_fn_opt() 523 DCCP_SKB_CB(skb)->dccpd_opt_len += tot_len; dccp_insert_fn_opt() 525 to = skb_push(skb, tot_len); dccp_insert_fn_opt() 527 *to++ = tot_len; dccp_insert_fn_opt()
|
/linux-4.1.27/net/sched/ |
H A D | act_csum.c | 227 * Use iph->tot_len, or just ipl. tcf_csum_ipv4_udp() 337 ntohs(iph->tot_len))) tcf_csum_ipv4() 343 ntohs(iph->tot_len))) tcf_csum_ipv4() 349 ntohs(iph->tot_len))) tcf_csum_ipv4() 355 ntohs(iph->tot_len), 0)) tcf_csum_ipv4() 361 ntohs(iph->tot_len), 1)) tcf_csum_ipv4()
|
/linux-4.1.27/drivers/net/slip/ |
H A D | slhc.c | 399 if(ip->tot_len != cs->cs_ip.tot_len && slhc_compress() 400 ntohs(cs->cs_ip.tot_len) == hlen) slhc_compress() 411 deltaS == ntohs(cs->cs_ip.tot_len) - hlen){ slhc_compress() 418 if(deltaS == ntohs(cs->cs_ip.tot_len) - hlen){ slhc_compress() 543 i = ntohs(ip->tot_len) - hdrlen; slhc_uncompress() 551 ntohs(ip->tot_len) - hdrlen); slhc_uncompress() 601 ip->tot_len = htons(len); slhc_uncompress()
|
/linux-4.1.27/drivers/base/regmap/ |
H A D | regmap-debugfs.c | 407 int reg_len, tot_len; regmap_access_read_file() local 424 tot_len = reg_len + 10; /* ': R W V P\n' */ regmap_access_read_file() 434 if (buf_pos + tot_len + 1 >= count) regmap_access_read_file() 446 buf_pos += tot_len; regmap_access_read_file() 448 p += tot_len; regmap_access_read_file()
|
/linux-4.1.27/net/bridge/netfilter/ |
H A D | nft_reject_bridge.c | 69 niph->tot_len = htons(nskb->len); nft_reject_br_send_v4_tcp_reset() 102 if (pskb_trim_rcsum(oldskb, ntohs(ip_hdr(oldskb)->tot_len))) nft_reject_br_send_v4_unreach() 136 niph->tot_len = htons(nskb->len); nft_reject_br_send_v4_unreach()
|
H A D | nf_tables_bridge.c | 34 len = ntohs(iph->tot_len); nft_bridge_iphdr_validate()
|
/linux-4.1.27/include/uapi/linux/ |
H A D | ip.h | 96 __be16 tot_len; member in struct:iphdr
|
/linux-4.1.27/fs/ |
H A D | read_write.c | 778 size_t tot_len; do_readv_writev() local 791 tot_len = iov_iter_count(&iter); do_readv_writev() 792 if (!tot_len) do_readv_writev() 794 ret = rw_verify_area(type, file, pos, tot_len); do_readv_writev() 952 compat_ssize_t tot_len; compat_do_readv_writev() local 965 tot_len = iov_iter_count(&iter); compat_do_readv_writev() 966 if (!tot_len) compat_do_readv_writev() 968 ret = rw_verify_area(type, file, pos, tot_len); compat_do_readv_writev()
|
H A D | compat.c | 551 compat_ssize_t tot_len; compat_rw_copy_check_uvector() local 587 tot_len = 0; compat_rw_copy_check_uvector() 605 if (len > MAX_RW_COUNT - tot_len) compat_rw_copy_check_uvector() 606 len = MAX_RW_COUNT - tot_len; compat_rw_copy_check_uvector() 607 tot_len += len; compat_rw_copy_check_uvector() 613 ret = tot_len; compat_rw_copy_check_uvector()
|
/linux-4.1.27/drivers/infiniband/hw/amso1100/ |
H A D | c2_qp.c | 800 u32 tot_len; c2_post_send() local 847 &tot_len, &actual_sge_count); c2_post_send() 848 wr.sqwr.send.sge_len = cpu_to_be32(tot_len); c2_post_send() 870 &tot_len, &actual_sge_count); c2_post_send() 871 wr.sqwr.rdma_write.sge_len = cpu_to_be32(tot_len); c2_post_send() 962 u32 tot_len; c2_post_receive() local 981 ib_wr->num_sge, &tot_len, &actual_sge_count); c2_post_receive()
|
/linux-4.1.27/drivers/scsi/fnic/ |
H A D | fnic_fcs.c | 1032 u32 tot_len, eth_hdr_len; fnic_send_frame() local 1064 tot_len = skb->len; fnic_send_frame() 1065 BUG_ON(tot_len % 4); fnic_send_frame() 1072 pa = pci_map_single(fnic->pdev, eth_hdr, tot_len, PCI_DMA_TODEVICE); fnic_send_frame() 1075 (char *)eth_hdr, tot_len)) != 0) { fnic_send_frame() 1083 tot_len, PCI_DMA_TODEVICE); fnic_send_frame() 1088 fnic_queue_wq_desc(wq, skb, pa, tot_len, fr_eof(fp), fnic_send_frame()
|
/linux-4.1.27/net/ipv4/netfilter/ |
H A D | nf_reject_ipv4.c | 152 niph->tot_len = htons(nskb->len); nf_send_reset()
|
H A D | nf_log_ipv4.c | 64 ntohs(ih->tot_len), ih->tos & IPTOS_TOS_MASK, dump_ipv4_packet()
|
/linux-4.1.27/drivers/infiniband/hw/nes/ |
H A D | nes_mgt.c | 253 u32 tot_len; get_fpdu_info() local 341 tot_len = fpdu_info->hdr_len + fpdu_len - ETH_HLEN; get_fpdu_info() 361 iph->tot_len = cpu_to_be16(tot_len); get_fpdu_info() 527 len = be16_to_cpu(iph->tot_len); queue_fpdus()
|
H A D | nes_nic.c | 655 iph->tot_len = htons(tso_wqe_length + original_first_length - nhoffset); nes_netdev_start_xmit()
|
H A D | nes_cm.c | 478 iph->tot_len = htons(packetsize); form_cm_frame() 2814 skb->len = ntohs(iph->tot_len); mini_cm_recv_pkt()
|
/linux-4.1.27/drivers/misc/mic/host/ |
H A D | mic_virtio.c | 214 size_t partlen, tot_len = 0; mic_vringh_copy() local 235 tot_len += partlen; mic_vringh_copy() 248 *out_len = tot_len; mic_vringh_copy()
|
/linux-4.1.27/drivers/crypto/ |
H A D | n2_core.c | 879 unsigned int tot_len; n2_compute_chunks() local 899 tot_len = 0; n2_compute_chunks() 918 tot_len + this_len > (1 << 16)) { n2_compute_chunks() 932 tot_len = 0; n2_compute_chunks() 940 tot_len += this_len; n2_compute_chunks()
|
/linux-4.1.27/drivers/infiniband/hw/cxgb4/ |
H A D | device.c | 1080 skb = alloc_skb(gl->tot_len + sizeof(struct cpl_pass_accept_req) + copy_gl_to_skb_pkt() 1085 __skb_put(skb, gl->tot_len + sizeof(struct cpl_pass_accept_req) + copy_gl_to_skb_pkt() 1101 gl->tot_len - pktshift); copy_gl_to_skb_pkt() 1163 gl->tot_len); c4iw_uld_rx_handler()
|
/linux-4.1.27/include/net/ |
H A D | route.h | 39 /* IPv4 datagram length is stored into 16bit field (tot_len) */
|
H A D | ipv6.h | 210 int tot_len; member in struct:ipv6_txoptions
|
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | sge.c | 1731 if (gl->tot_len <= RX_COPY_THRES) { cxgb4_pktgl_to_skb() 1732 skb = dev_alloc_skb(gl->tot_len); cxgb4_pktgl_to_skb() 1735 __skb_put(skb, gl->tot_len); cxgb4_pktgl_to_skb() 1736 skb_copy_to_linear_data(skb, gl->va, gl->tot_len); cxgb4_pktgl_to_skb() 1745 skb->len = gl->tot_len; cxgb4_pktgl_to_skb() 1812 skb->len = gl->tot_len - s->pktshift; do_gro() 2028 si.tot_len = len; process_responses()
|
H A D | cxgb4.h | 472 unsigned int tot_len; /* total length of fragments */ member in struct:pkt_gl
|
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4vf/ |
H A D | sge.c | 1502 if (gl->tot_len <= RX_COPY_THRES) { t4vf_pktgl_to_skb() 1504 skb = alloc_skb(gl->tot_len, GFP_ATOMIC); t4vf_pktgl_to_skb() 1507 __skb_put(skb, gl->tot_len); t4vf_pktgl_to_skb() 1508 skb_copy_to_linear_data(skb, gl->va, gl->tot_len); t4vf_pktgl_to_skb() 1517 skb->len = gl->tot_len; t4vf_pktgl_to_skb() 1567 skb->len = gl->tot_len - s->pktshift; do_gro() 1780 gl.tot_len = len; process_responses()
|
H A D | adapter.h | 155 unsigned int tot_len; /* total length of fragments */ member in struct:pkt_gl
|
/linux-4.1.27/drivers/isdn/i4l/ |
H A D | isdn_ppp.c | 1899 unsigned int tot_len; isdn_ppp_mp_reassembly() local 1917 for (tot_len = n = 0, frag = from; frag != to; frag = frag->next, n++) isdn_ppp_mp_reassembly() 1918 tot_len += frag->len - MP_HEADER_LEN; isdn_ppp_mp_reassembly() 1923 (MP_SEQ(from) + n - 1) & MP_LONGSEQ_MASK, tot_len); isdn_ppp_mp_reassembly() 1924 if ((skb = dev_alloc_skb(tot_len)) == NULL) { isdn_ppp_mp_reassembly() 1926 "of size %d\n", tot_len); isdn_ppp_mp_reassembly()
|
/linux-4.1.27/drivers/net/ethernet/qlogic/qlcnic/ |
H A D | qlcnic_io.c | 1328 csum_replace2(&iph->check, iph->tot_len, htons(length)); qlcnic_process_lro() 1329 iph->tot_len = htons(length); qlcnic_process_lro() 1851 csum_replace2(&iph->check, iph->tot_len, htons(length)); qlcnic_83xx_process_lro() 1852 iph->tot_len = htons(length); qlcnic_83xx_process_lro()
|
/linux-4.1.27/drivers/net/ipvlan/ |
H A D | ipvlan_core.c | 147 pktlen = ntohs(ip4h->tot_len); htons()
|
/linux-4.1.27/drivers/net/ethernet/sfc/ |
H A D | tx.c | 815 * @ip_base_len: IPv4 tot_len or IPv6 payload_len, before TCP payload 1187 tsoh_iph->tot_len = htons(ip_length); tso_start_new_packet()
|
H A D | selftest.c | 376 payload->ip.tot_len = htons(sizeof(*payload) - sizeof(struct ethhdr)); efx_iterate_state()
|
/linux-4.1.27/drivers/block/ |
H A D | nvme-scsi.c | 1570 u8 opcode, u32 tot_len, u32 offset, nvme_trans_send_fw_cmd() 1593 (unsigned long)hdr->dxferp, tot_len); nvme_trans_send_fw_cmd() 1598 length = nvme_setup_prps(dev, iod, tot_len, GFP_KERNEL); nvme_trans_send_fw_cmd() 1599 if (length != tot_len) { nvme_trans_send_fw_cmd() 1606 c.dlfw.numd = cpu_to_le32((tot_len/BYTES_TO_DWORDS) - 1); nvme_trans_send_fw_cmd() 1569 nvme_trans_send_fw_cmd(struct nvme_ns *ns, struct sg_io_hdr *hdr, u8 opcode, u32 tot_len, u32 offset, u8 buffer_id) nvme_trans_send_fw_cmd() argument
|
/linux-4.1.27/drivers/net/ethernet/tile/ |
H A D | tilegx.c | 1749 (0xFFFF - ih->tot_len) + tso_headers_prepare() 1778 ih->tot_len = htons(sh_len + p_len - ih_off); tso_headers_prepare() 1780 ih->check = csum_long(isum_seed + ih->tot_len + tso_headers_prepare()
|
/linux-4.1.27/drivers/net/ppp/ |
H A D | pptp.c | 279 iph->tot_len = htons(skb->len); pptp_xmit()
|
/linux-4.1.27/drivers/net/hyperv/ |
H A D | netvsc_drv.c | 556 ip_hdr(skb)->tot_len = 0; netvsc_start_xmit()
|
/linux-4.1.27/net/l2tp/ |
H A D | l2tp_ip6.c | 562 opt->tot_len = sizeof(struct ipv6_txoptions); l2tp_ip6_sendmsg()
|
/linux-4.1.27/tools/testing/selftests/net/ |
H A D | psock_tpacket.c | 176 ip->tot_len = htons((uint16_t) *len - sizeof(*eth)); create_payload()
|
/linux-4.1.27/drivers/net/ethernet/qlogic/netxen/ |
H A D | netxen_nic_init.c | 1645 csum_replace2(&iph->check, iph->tot_len, htons(length)); netxen_process_lro() 1646 iph->tot_len = htons(length); netxen_process_lro()
|
/linux-4.1.27/drivers/net/ethernet/sgi/ |
H A D | ioc3-eth.c | 543 (ih->tot_len - (ih->ihl << 2)) + ioc3_tcpudp_checksum() 1439 ih->tot_len - (ih->ihl << 2), ioc3_start_xmit()
|
/linux-4.1.27/drivers/net/ethernet/atheros/atl1e/ |
H A D | atl1e_main.c | 1656 + ntohs(ip_hdr(skb)->tot_len)); atl1e_tso_csum() 1669 ip_hdr(skb)->tot_len = 0; atl1e_tso_csum()
|
/linux-4.1.27/net/bridge/ |
H A D | br_multicast.c | 383 iph->tot_len = htons(sizeof(*iph) + sizeof(*ih) + 4); br_ip4_multicast_alloc_query() 1589 len = ntohs(iph->tot_len); br_multicast_ipv4_rcv()
|
H A D | br_netfilter.c | 233 len = ntohs(iph->tot_len); br_parse_ip_options()
|
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/ |
H A D | en_rx.c | 695 length_for_csum = (be16_to_cpu(iph->tot_len) - (iph->ihl << 2)); get_fixed_ipv4_csum()
|
/linux-4.1.27/net/netfilter/ipvs/ |
H A D | ip_vs_xmit.c | 912 *payload_len = ntohs(old_iph->tot_len); ip_vs_prepare_tunneled_skb()
|
/linux-4.1.27/drivers/net/ethernet/ibm/emac/ |
H A D | core.c | 1662 int tot_len = dev->rx_sg_skb->len + len; emac_rx_sg_append() local 1664 if (unlikely(tot_len + 2 > dev->rx_skb_size)) { emac_rx_sg_append()
|
/linux-4.1.27/drivers/net/ethernet/qlogic/ |
H A D | qla3xxx.c | 2468 u32 tot_len = skb->len; ql3xxx_send() local 2488 mac_iocb_ptr->data_len = cpu_to_le16((u16) tot_len); ql3xxx_send()
|
/linux-4.1.27/drivers/net/usb/ |
H A D | hso.c | 900 frame_len = ntohs(odev->rx_ip_hdr.tot_len); packetizeRx() 931 /* Filip actually use .tot_len */ packetizeRx()
|
/linux-4.1.27/drivers/net/ethernet/pasemi/ |
H A D | pasemi_mac.c | 282 if (ntohs(iph->tot_len) < ip_len + tcp_hdrlen(skb)) get_skb_hdr()
|
/linux-4.1.27/drivers/scsi/qla2xxx/ |
H A D | qla_target.c | 2048 unsigned int tot_len = 0; qlt_check_srr_debug() local 2054 tot_len += cmd->sg[i].length; qlt_check_srr_debug() 2059 " cmd->sg_cnt %d)", cmd, cmd->tag, tot_len, leave, qlt_check_srr_debug() 2062 cmd->bufflen = tot_len; qlt_check_srr_debug()
|
/linux-4.1.27/drivers/net/ethernet/intel/i40evf/ |
H A D | i40e_txrx.c | 1441 iph->tot_len = 0; i40e_tso()
|
/linux-4.1.27/drivers/net/ethernet/intel/ixgb/ |
H A D | ixgb_main.c | 1237 iph->tot_len = 0; ixgb_tso()
|
/linux-4.1.27/drivers/net/ethernet/neterion/ |
H A D | s2io.c | 8304 return ntohs(ip->tot_len) - (ip->ihl << 2) - (tcp->doff << 2); get_l4_pyld_length() 8318 lro->total_len = ntohs(ip->tot_len); initiate_new_session() 8344 csum_replace2(&ip->check, ip->tot_len, htons(lro->total_len)); update_L3L4_header() 8345 ip->tot_len = htons(lro->total_len); update_L3L4_header()
|
/linux-4.1.27/drivers/scsi/lpfc/ |
H A D | lpfc_sli.c | 15324 uint32_t len, tot_len; lpfc_prep_seq() local 15333 tot_len = 0; lpfc_prep_seq() 15356 tot_len = bf_get(lpfc_rcqe_length, lpfc_prep_seq() 15362 if (tot_len > LPFC_DATA_BUF_SIZE) lpfc_prep_seq() 15366 first_iocbq->iocb.un.cont64[0].tus.f.bdeSize = tot_len; lpfc_prep_seq() 15370 first_iocbq->iocb.unsli3.rcvsli3.acc_len = tot_len; lpfc_prep_seq() 15397 tot_len += len; lpfc_prep_seq() 15423 tot_len += len; lpfc_prep_seq() 15424 iocbq->iocb.unsli3.rcvsli3.acc_len = tot_len; lpfc_prep_seq()
|
/linux-4.1.27/drivers/net/wireless/iwlwifi/mvm/ |
H A D | d3.c | 481 pkt->ip.tot_len = cpu_to_be16(ip_tot_len); iwl_mvm_build_tcp_packet()
|
/linux-4.1.27/drivers/scsi/cxgbi/cxgb4i/ |
H A D | cxgb4i.c | 1821 pgl->tot_len); t4_uld_rx_handler()
|
/linux-4.1.27/drivers/net/ethernet/emulex/benet/ |
H A D | be_main.c | 1043 /* For padded packets, BE HW modifies tot_len field in IP header be_lancer_xmit_workarounds() 1053 pskb_trim(skb, eth_hdr_len + ntohs(ip->tot_len)); be_lancer_xmit_workarounds()
|
/linux-4.1.27/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_txrx.c | 2152 iph->tot_len = 0; i40e_tso()
|
/linux-4.1.27/drivers/net/ethernet/intel/igbvf/ |
H A D | netdev.c | 1936 iph->tot_len = 0; igbvf_tso()
|
/linux-4.1.27/drivers/net/ethernet/packetengines/ |
H A D | hamachi.c | 1524 if (ntohs(ih->tot_len) >= 46){ hamachi_rx()
|
/linux-4.1.27/drivers/s390/net/ |
H A D | qeth_l3_main.c | 2922 iph->tot_len = 0; qeth_tso_fill_header()
|
/linux-4.1.27/drivers/net/ethernet/atheros/atl1c/ |
H A D | atl1c_main.c | 1990 + ntohs(ip_hdr(skb)->tot_len)); atl1c_tso_csum()
|
/linux-4.1.27/drivers/net/ethernet/atheros/atlx/ |
H A D | atl1.c | 2136 ntohs(iph->tot_len)); atl1_tso()
|
/linux-4.1.27/drivers/net/ethernet/brocade/bna/ |
H A D | bnad.c | 2514 iph->tot_len = 0; bnad_tso_prepare()
|
/linux-4.1.27/drivers/net/ethernet/intel/e1000/ |
H A D | e1000_main.c | 2727 iph->tot_len = 0; e1000_tso()
|
/linux-4.1.27/drivers/net/ethernet/intel/ixgbevf/ |
H A D | ixgbevf_main.c | 3291 iph->tot_len = 0; ixgbevf_tso()
|
/linux-4.1.27/drivers/net/ethernet/qlogic/qlge/ |
H A D | qlge_main.c | 2615 len = (ntohs(iph->tot_len) - (iph->ihl << 2)); ql_hw_csum_setup()
|
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_cmn.c | 3646 (__force u32)iph->tot_len - bnx2x_update_pbds_gso_enc()
|
/linux-4.1.27/drivers/net/ethernet/broadcom/ |
H A D | tg3.c | 7961 ip_tot_len = iph->tot_len; tg3_start_xmit() 7963 iph->tot_len = htons(mss + hdr_len); tg3_start_xmit() 8097 iph->tot_len = ip_tot_len; tg3_start_xmit() 13414 iph->tot_len = htons((u16)(mss + hdr_len)); tg3_run_loopback()
|
/linux-4.1.27/drivers/net/ethernet/intel/e1000e/ |
H A D | netdev.c | 5211 iph->tot_len = 0; e1000_tso()
|
/linux-4.1.27/drivers/net/ethernet/micrel/ |
H A D | ksz884x.c | 4981 protocol = iph->tot_len; csum_verified()
|
/linux-4.1.27/drivers/net/ethernet/intel/igb/ |
H A D | igb_main.c | 4671 iph->tot_len = 0; igb_tso()
|
/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_main.c | 6801 iph->tot_len = 0; ixgbe_tso()
|