Home
last modified time | relevance | path

Searched refs:tot_len (Results 1 – 107 of 107) sorted by relevance

/linux-4.4.14/drivers/mtd/lpddr/
Dlpddr2_nvm.c330 u_long add, current_len, tot_len, target_len, my_data; in lpddr2_nvm_write() local
341 tot_len = 0; in lpddr2_nvm_write()
343 while (tot_len < target_len) { in lpddr2_nvm_write()
345 my_data = write_buf[tot_len]; in lpddr2_nvm_write()
346 my_data += (write_buf[tot_len+1]) << 8; in lpddr2_nvm_write()
348 my_data += (write_buf[tot_len+2]) << 16; in lpddr2_nvm_write()
349 my_data += (write_buf[tot_len+3]) << 24; in lpddr2_nvm_write()
357 tot_len += pcm_data->bus_width; in lpddr2_nvm_write()
359 current_len = min(target_len - tot_len, in lpddr2_nvm_write()
362 0x00, add, current_len, write_buf + tot_len); in lpddr2_nvm_write()
[all …]
/linux-4.4.14/net/ipv6/
Dexthdrs.c718 opt2 = sock_kmalloc(sk, opt->tot_len, GFP_ATOMIC); in ipv6_dup_options()
721 memcpy(opt2, opt, opt->tot_len); in ipv6_dup_options()
766 int tot_len = 0; in ipv6_renew_options() local
773 tot_len += CMSG_ALIGN(ipv6_optlen(opt->hopopt)); in ipv6_renew_options()
775 tot_len += CMSG_ALIGN(ipv6_optlen(opt->dst0opt)); in ipv6_renew_options()
777 tot_len += CMSG_ALIGN(ipv6_optlen(opt->srcrt)); in ipv6_renew_options()
779 tot_len += CMSG_ALIGN(ipv6_optlen(opt->dst1opt)); in ipv6_renew_options()
783 tot_len += CMSG_ALIGN(newoptlen); in ipv6_renew_options()
785 if (!tot_len) in ipv6_renew_options()
788 tot_len += sizeof(*opt2); in ipv6_renew_options()
[all …]
Dtcp_ipv6.c747 unsigned int tot_len = sizeof(struct tcphdr); in tcp_v6_send_response() local
752 tot_len += TCPOLEN_TSTAMP_ALIGNED; in tcp_v6_send_response()
755 tot_len += TCPOLEN_MD5SIG_ALIGNED; in tcp_v6_send_response()
758 buff = alloc_skb(MAX_HEADER + sizeof(struct ipv6hdr) + tot_len, in tcp_v6_send_response()
763 skb_reserve(buff, MAX_HEADER + sizeof(struct ipv6hdr) + tot_len); in tcp_v6_send_response()
765 t1 = (struct tcphdr *) skb_push(buff, tot_len); in tcp_v6_send_response()
772 t1->doff = tot_len / 4; in tcp_v6_send_response()
Dipv6_sockglue.c238 atomic_sub(opt->tot_len, &sk->sk_omem_alloc); in do_ipv6_setsockopt()
441 atomic_sub(opt->tot_len, &sk->sk_omem_alloc); in do_ipv6_setsockopt()
497 opt->tot_len = sizeof(*opt) + optlen; in do_ipv6_setsockopt()
514 atomic_sub(opt->tot_len, &sk->sk_omem_alloc); in do_ipv6_setsockopt()
Dip6_output.c1195 v6_cork->opt = kzalloc(opt->tot_len, sk->sk_allocation); in ip6_setup_cork()
1199 v6_cork->opt->tot_len = opt->tot_len; in ip6_setup_cork()
Dip6_flowlabel.c383 fl->opt->tot_len = sizeof(*fl->opt) + olen; in fl_create()
Daf_inet6.c436 atomic_sub(opt->tot_len, &sk->sk_omem_alloc); in inet6_destroy_sock()
Draw.c827 opt->tot_len = sizeof(struct ipv6_txoptions); in rawv6_sendmsg()
Dudp.c1248 opt->tot_len = sizeof(*opt); in udpv6_sendmsg()
/linux-4.4.14/fs/btrfs/
Dlzo.c282 unsigned long tot_len; in lzo_decompress_biovec() local
287 tot_len = read_compress_length(data_in); in lzo_decompress_biovec()
291 tot_len = min_t(size_t, srclen, tot_len); in lzo_decompress_biovec()
297 while (tot_in < tot_len) { in lzo_decompress_biovec()
333 if (working_bytes == 0 && tot_in >= tot_len) in lzo_decompress_biovec()
389 size_t tot_len; in lzo_decompress() local
396 tot_len = read_compress_length(data_in); in lzo_decompress()
/linux-4.4.14/net/ipv4/
Dxfrm4_input.c53 iph->tot_len = htons(skb->len); in xfrm4_transport_finish()
134 iph->tot_len = htons(ntohs(iph->tot_len) - len); in xfrm4_udp_encap_rcv()
Dinet_lro.c41 (ntohs(iph->tot_len) - IP_HDR_LEN(iph) - TCP_HDR_LEN(tcph))
59 if (ntohs(iph->tot_len) != len) in lro_tcp_ip_check()
118 csum_replace2(&iph->check, iph->tot_len, htons(lro_desc->ip_tot_len)); in lro_update_tcp_ip_header()
119 iph->tot_len = htons(lro_desc->ip_tot_len); in lro_update_tcp_ip_header()
164 lro_desc->ip_tot_len = ntohs(iph->tot_len); in lro_init_desc()
Dxfrm4_mode_transport.c52 ip_hdr(skb)->tot_len = htons(skb->len + ihl); in xfrm4_transport_input()
Dfou.c58 iph->tot_len = htons(ntohs(iph->tot_len) - len); in fou_recv_pull()
139 ip_hdr(skb)->tot_len = htons(ntohs(ip_hdr(skb)->tot_len) - len); in gue_udp_recv()
Dxfrm4_mode_beet.c120 iph->tot_len = htons(skb->len); in xfrm4_beet_input()
Dipconfig.c830 h->tot_len = htons(sizeof(struct bootp_pkt)); in ic_bootp_send_if()
997 if (skb->len < ntohs(h->tot_len)) in ic_bootp_recv()
1006 if (ntohs(h->tot_len) < ntohs(b->udph.len) + sizeof(struct iphdr)) in ic_bootp_recv()
1055 u8 *end = (u8 *) b + ntohs(b->iph.tot_len); in ic_bootp_recv()
Dip_input.c431 len = ntohs(iph->tot_len); in ip_rcv()
Dip_output.c103 iph->tot_len = htons(skb->len); in __ip_local_out()
604 iph->tot_len = htons(first_len); in ip_do_fragment()
618 iph->tot_len = htons(frag->len); in ip_do_fragment()
763 iph->tot_len = htons(len + hlen); in ip_do_fragment()
Dipmr.c979 ip_hdr(skb)->tot_len = htons(ntohs(ip_hdr(pkt)->tot_len) + in ipmr_cache_report()
1001 ip_hdr(skb)->tot_len = htons(skb->len); /* Fix the length */ in ipmr_cache_report()
1666 iph->tot_len = htons(skb->len); in ip_encap()
2061 encap->tot_len == 0 || in __pim_rcv()
2062 ntohs(encap->tot_len) + pimlen > skb->len) in __pim_rcv()
Dip_fragment.c620 iph->tot_len = htons(len); in ip_frag_reasm()
703 len = ntohs(iph.tot_len); in ip_check_defrag()
Daf_inet.c1278 iph->tot_len = htons(skb->len - nhoff); in inet_gso_segment()
1408 csum_replace2(&iph->check, iph->tot_len, newlen); in inet_gro_complete()
1409 iph->tot_len = newlen; in inet_gro_complete()
Dah4.c208 top_iph->tot_len = htons(skb->len); in ah_output()
Digmp.c374 pip->tot_len = 0; /* filled in later */ in igmpv3_newpack()
1386 len = skb_network_offset(skb) + ntohs(iph->tot_len); in ip_mc_check_iphdr()
1460 transport_len = ntohs(ip_hdr(skb)->tot_len) - ip_hdrlen(skb); in __ip_mc_check_igmp()
Draw.c404 iph->tot_len = htons(length); in raw_send_hdrinc()
Dcipso_ipv4.c2287 iph->tot_len = htons(skb->len); in cipso_v4_skbuff_setattr()
/linux-4.4.14/drivers/net/slip/
Dslhc.c399 if(ip->tot_len != cs->cs_ip.tot_len && in slhc_compress()
400 ntohs(cs->cs_ip.tot_len) == hlen) in slhc_compress()
411 deltaS == ntohs(cs->cs_ip.tot_len) - hlen){ in slhc_compress()
418 if(deltaS == ntohs(cs->cs_ip.tot_len) - hlen){ in slhc_compress()
543 i = ntohs(ip->tot_len) - hdrlen; in slhc_uncompress()
551 ntohs(ip->tot_len) - hdrlen); in slhc_uncompress()
601 ip->tot_len = htons(len); in slhc_uncompress()
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx5/core/
Den_rx.c108 u16 tot_len = be32_to_cpu(cqe->byte_cnt) - ETH_HLEN; in mlx5e_lro_update_hdr() local
133 ipv4->tot_len = cpu_to_be16(tot_len); in mlx5e_lro_update_hdr()
139 ipv6->payload_len = cpu_to_be16(tot_len - in mlx5e_lro_update_hdr()
/linux-4.4.14/net/dccp/
Doptions.c507 u8 tot_len, *to; in dccp_insert_fn_opt() local
517 tot_len = 3 + repeat_first + len; in dccp_insert_fn_opt()
519 if (DCCP_SKB_CB(skb)->dccpd_opt_len + tot_len > DCCP_MAX_OPT_LEN) { in dccp_insert_fn_opt()
523 DCCP_SKB_CB(skb)->dccpd_opt_len += tot_len; in dccp_insert_fn_opt()
525 to = skb_push(skb, tot_len); in dccp_insert_fn_opt()
527 *to++ = tot_len; in dccp_insert_fn_opt()
/linux-4.4.14/net/sched/
Dact_csum.c338 ntohs(iph->tot_len))) in tcf_csum_ipv4()
344 ntohs(iph->tot_len))) in tcf_csum_ipv4()
350 ntohs(iph->tot_len))) in tcf_csum_ipv4()
356 ntohs(iph->tot_len), 0)) in tcf_csum_ipv4()
362 ntohs(iph->tot_len), 1)) in tcf_csum_ipv4()
/linux-4.4.14/drivers/staging/rdma/amso1100/
Dc2_qp.c800 u32 tot_len; in c2_post_send() local
847 &tot_len, &actual_sge_count); in c2_post_send()
848 wr.sqwr.send.sge_len = cpu_to_be32(tot_len); in c2_post_send()
870 &tot_len, &actual_sge_count); in c2_post_send()
871 wr.sqwr.rdma_write.sge_len = cpu_to_be32(tot_len); in c2_post_send()
962 u32 tot_len; in c2_post_receive() local
981 ib_wr->num_sge, &tot_len, &actual_sge_count); in c2_post_receive()
/linux-4.4.14/net/netfilter/
Dxt_TCPMSS.c218 newlen = htons(ntohs(iph->tot_len) + ret); in tcpmss_tg4()
219 csum_replace2(&iph->check, iph->tot_len, newlen); in tcpmss_tg4()
220 iph->tot_len = newlen; in tcpmss_tg4()
Dxt_length.c27 u_int16_t pktlen = ntohs(ip_hdr(skb)->tot_len); in length_mt()
Dnf_nat_helper.c65 ip_hdr(skb)->tot_len = htons(skb->len); in mangle_contents()
Dnf_tables_netdev.c37 len = ntohs(iph->tot_len); in nft_netdev_set_pktinfo_ipv4()
Dxt_osf.c215 totlen = ntohs(ip->tot_len); in xt_osf_match_packet()
/linux-4.4.14/drivers/base/regmap/
Dregmap-debugfs.c404 int reg_len, tot_len; in regmap_access_read_file() local
421 tot_len = reg_len + 10; /* ': R W V P\n' */ in regmap_access_read_file()
431 if (buf_pos + tot_len + 1 >= count) in regmap_access_read_file()
443 buf_pos += tot_len; in regmap_access_read_file()
445 p += tot_len; in regmap_access_read_file()
/linux-4.4.14/fs/
Dread_write.c778 size_t tot_len; in do_readv_writev() local
791 tot_len = iov_iter_count(&iter); in do_readv_writev()
792 if (!tot_len) in do_readv_writev()
794 ret = rw_verify_area(type, file, pos, tot_len); in do_readv_writev()
952 compat_ssize_t tot_len; in compat_do_readv_writev() local
965 tot_len = iov_iter_count(&iter); in compat_do_readv_writev()
966 if (!tot_len) in compat_do_readv_writev()
968 ret = rw_verify_area(type, file, pos, tot_len); in compat_do_readv_writev()
Dcompat.c551 compat_ssize_t tot_len; in compat_rw_copy_check_uvector() local
587 tot_len = 0; in compat_rw_copy_check_uvector()
605 if (len > MAX_RW_COUNT - tot_len) in compat_rw_copy_check_uvector()
606 len = MAX_RW_COUNT - tot_len; in compat_rw_copy_check_uvector()
607 tot_len += len; in compat_rw_copy_check_uvector()
613 ret = tot_len; in compat_rw_copy_check_uvector()
/linux-4.4.14/net/bridge/netfilter/
Dnft_reject_bridge.c69 niph->tot_len = htons(nskb->len); in nft_reject_br_send_v4_tcp_reset()
102 if (pskb_trim_rcsum(oldskb, ntohs(ip_hdr(oldskb)->tot_len))) in nft_reject_br_send_v4_unreach()
136 niph->tot_len = htons(nskb->len); in nft_reject_br_send_v4_unreach()
Dnf_tables_bridge.c34 len = ntohs(iph->tot_len); in nft_bridge_iphdr_validate()
/linux-4.4.14/drivers/scsi/fnic/
Dfnic_fcs.c1054 u32 tot_len, eth_hdr_len; in fnic_send_frame() local
1086 tot_len = skb->len; in fnic_send_frame()
1087 BUG_ON(tot_len % 4); in fnic_send_frame()
1094 pa = pci_map_single(fnic->pdev, eth_hdr, tot_len, PCI_DMA_TODEVICE); in fnic_send_frame()
1103 (char *)eth_hdr, tot_len)) != 0) { in fnic_send_frame()
1111 tot_len, PCI_DMA_TODEVICE); in fnic_send_frame()
1116 fnic_queue_wq_desc(wq, skb, pa, tot_len, fr_eof(fp), in fnic_send_frame()
/linux-4.4.14/net/core/
Dtso.c27 iph->tot_len = htons(size + hdr_len - mac_hdr_len); in tso_build_hdr()
Dnetpoll.c457 put_unaligned(htons(ip_len), &(iph->tot_len)); in netpoll_send_udp()
Dpktgen.c2673 iph->tot_len = htons(skb->len - ETH_HLEN); in process_ipsec()
2893 iph->tot_len = htons(iplen); in fill_packet_ipv4()
/linux-4.4.14/include/uapi/linux/
Dip.h96 __be16 tot_len; member
/linux-4.4.14/drivers/infiniband/hw/nes/
Dnes_mgt.c253 u32 tot_len; in get_fpdu_info() local
341 tot_len = fpdu_info->hdr_len + fpdu_len - ETH_HLEN; in get_fpdu_info()
361 iph->tot_len = cpu_to_be16(tot_len); in get_fpdu_info()
527 len = be16_to_cpu(iph->tot_len); in queue_fpdus()
Dnes_cm.c478 iph->tot_len = htons(packetsize); in form_cm_frame()
2817 skb->len = ntohs(iph->tot_len); in mini_cm_recv_pkt()
Dnes_nic.c655 iph->tot_len = htons(tso_wqe_length + original_first_length - nhoffset); in nes_netdev_start_xmit()
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4vf/
Dsge.c1519 if (gl->tot_len <= RX_COPY_THRES) { in t4vf_pktgl_to_skb()
1521 skb = alloc_skb(gl->tot_len, GFP_ATOMIC); in t4vf_pktgl_to_skb()
1524 __skb_put(skb, gl->tot_len); in t4vf_pktgl_to_skb()
1525 skb_copy_to_linear_data(skb, gl->va, gl->tot_len); in t4vf_pktgl_to_skb()
1534 skb->len = gl->tot_len; in t4vf_pktgl_to_skb()
1584 skb->len = gl->tot_len - s->pktshift; in do_gro()
1797 gl.tot_len = len; in process_responses()
Dadapter.h155 unsigned int tot_len; /* total length of fragments */ member
/linux-4.4.14/net/ipv4/netfilter/
Dnf_reject_ipv4.c152 niph->tot_len = htons(nskb->len); in nf_send_reset()
Dnf_log_ipv4.c64 ntohs(ih->tot_len), ih->tos & IPTOS_TOS_MASK, in dump_ipv4_packet()
/linux-4.4.14/drivers/net/ethernet/cavium/thunder/
Dq_struct.h552 u64 tot_len:20; /* W0 */ member
562 u64 tot_len:20;
Dnicvf_queues.c905 atomic64_add(hdr->tot_len, in nicvf_sq_free_used_descs()
993 hdr->tot_len = len; in nicvf_sq_add_hdr_subdesc()
/linux-4.4.14/drivers/misc/mic/host/
Dmic_virtio.c213 size_t partlen, tot_len = 0; in mic_vringh_copy() local
234 tot_len += partlen; in mic_vringh_copy()
247 *out_len = tot_len; in mic_vringh_copy()
/linux-4.4.14/drivers/crypto/
Dn2_core.c879 unsigned int tot_len; in n2_compute_chunks() local
899 tot_len = 0; in n2_compute_chunks()
918 tot_len + this_len > (1 << 16)) { in n2_compute_chunks()
932 tot_len = 0; in n2_compute_chunks()
940 tot_len += this_len; in n2_compute_chunks()
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/
Dsge.c1758 if (gl->tot_len <= RX_COPY_THRES) { in cxgb4_pktgl_to_skb()
1759 skb = dev_alloc_skb(gl->tot_len); in cxgb4_pktgl_to_skb()
1762 __skb_put(skb, gl->tot_len); in cxgb4_pktgl_to_skb()
1763 skb_copy_to_linear_data(skb, gl->va, gl->tot_len); in cxgb4_pktgl_to_skb()
1772 skb->len = gl->tot_len; in cxgb4_pktgl_to_skb()
1862 skb->len = gl->tot_len - s->pktshift; in do_gro()
2083 si.tot_len = len; in process_responses()
Dcxgb4.h503 unsigned int tot_len; /* total length of fragments */ member
/linux-4.4.14/drivers/isdn/i4l/
Disdn_ppp.c1899 unsigned int tot_len; in isdn_ppp_mp_reassembly() local
1917 for (tot_len = n = 0, frag = from; frag != to; frag = frag->next, n++) in isdn_ppp_mp_reassembly()
1918 tot_len += frag->len - MP_HEADER_LEN; in isdn_ppp_mp_reassembly()
1923 (MP_SEQ(from) + n - 1) & MP_LONGSEQ_MASK, tot_len); in isdn_ppp_mp_reassembly()
1924 if ((skb = dev_alloc_skb(tot_len)) == NULL) { in isdn_ppp_mp_reassembly()
1926 "of size %d\n", tot_len); in isdn_ppp_mp_reassembly()
/linux-4.4.14/drivers/infiniband/hw/cxgb4/
Ddevice.c1072 skb = alloc_skb(gl->tot_len + sizeof(struct cpl_pass_accept_req) + in copy_gl_to_skb_pkt()
1077 __skb_put(skb, gl->tot_len + sizeof(struct cpl_pass_accept_req) + in copy_gl_to_skb_pkt()
1093 gl->tot_len - pktshift); in copy_gl_to_skb_pkt()
1155 gl->tot_len); in c4iw_uld_rx_handler()
/linux-4.4.14/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_io.c1328 csum_replace2(&iph->check, iph->tot_len, htons(length)); in qlcnic_process_lro()
1329 iph->tot_len = htons(length); in qlcnic_process_lro()
1851 csum_replace2(&iph->check, iph->tot_len, htons(length)); in qlcnic_83xx_process_lro()
1852 iph->tot_len = htons(length); in qlcnic_83xx_process_lro()
/linux-4.4.14/drivers/net/ethernet/tile/
Dtilegx.c1750 (0xFFFF - ih->tot_len) + in tso_headers_prepare()
1779 ih->tot_len = htons(sh_len + p_len - ih_off); in tso_headers_prepare()
1781 ih->check = csum_long(isum_seed + ih->tot_len + in tso_headers_prepare()
/linux-4.4.14/drivers/net/ipvlan/
Dipvlan_core.c145 pktlen = ntohs(ip4h->tot_len); in ipvlan_get_L3_hdr()
/linux-4.4.14/drivers/nvme/host/
Dscsi.c1279 u8 opcode, u32 tot_len, u32 offset, in nvme_trans_send_download_fw_cmd() argument
1297 c.dlfw.numd = cpu_to_le32((tot_len/BYTES_TO_DWORDS) - 1); in nvme_trans_send_download_fw_cmd()
1301 hdr->dxferp, tot_len, NULL, 0); in nvme_trans_send_download_fw_cmd()
/linux-4.4.14/drivers/net/ppp/
Dpptp.c278 iph->tot_len = htons(skb->len); in pptp_xmit()
/linux-4.4.14/drivers/net/ethernet/sfc/
Dselftest.c385 payload->ip.tot_len = htons(sizeof(*payload) - sizeof(struct ethhdr)); in efx_iterate_state()
Dtx.c1188 tsoh_iph->tot_len = htons(ip_length); in tso_start_new_packet()
/linux-4.4.14/tools/testing/selftests/net/
Dpsock_tpacket.c176 ip->tot_len = htons((uint16_t) *len - sizeof(*eth)); in create_payload()
/linux-4.4.14/net/l2tp/
Dl2tp_ip6.c564 opt->tot_len = sizeof(struct ipv6_txoptions); in l2tp_ip6_sendmsg()
/linux-4.4.14/drivers/net/ethernet/sgi/
Dioc3-eth.c543 (ih->tot_len - (ih->ihl << 2)) + in ioc3_tcpudp_checksum()
1439 ih->tot_len - (ih->ihl << 2), in ioc3_start_xmit()
/linux-4.4.14/net/bridge/
Dbr_netfilter_hooks.c211 len = ntohs(iph->tot_len); in br_validate_ipv4()
Dbr_multicast.c397 iph->tot_len = htons(sizeof(*iph) + sizeof(*ih) + 4); in br_ip4_multicast_alloc_query()
/linux-4.4.14/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_init.c1645 csum_replace2(&iph->check, iph->tot_len, htons(length)); in netxen_process_lro()
1646 iph->tot_len = htons(length); in netxen_process_lro()
/linux-4.4.14/include/net/
Dipv6.h210 int tot_len; member
/linux-4.4.14/drivers/net/hyperv/
Dnetvsc_drv.c599 ip_hdr(skb)->tot_len = 0; in netvsc_start_xmit()
/linux-4.4.14/drivers/net/ethernet/atheros/atl1e/
Datl1e_main.c1656 + ntohs(ip_hdr(skb)->tot_len)); in atl1e_tso_csum()
1669 ip_hdr(skb)->tot_len = 0; in atl1e_tso_csum()
/linux-4.4.14/net/netfilter/ipvs/
Dip_vs_xmit.c930 *payload_len = ntohs(old_iph->tot_len); in ip_vs_prepare_tunneled_skb()
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/
Den_rx.c689 length_for_csum = (be16_to_cpu(iph->tot_len) - (iph->ihl << 2)); in get_fixed_ipv4_csum()
/linux-4.4.14/drivers/net/ethernet/ibm/emac/
Dcore.c1662 int tot_len = dev->rx_sg_skb->len + len; in emac_rx_sg_append() local
1664 if (unlikely(tot_len + 2 > dev->rx_skb_size)) { in emac_rx_sg_append()
/linux-4.4.14/drivers/scsi/lpfc/
Dlpfc_sli.c15300 uint32_t len, tot_len; in lpfc_prep_seq() local
15309 tot_len = 0; in lpfc_prep_seq()
15332 tot_len = bf_get(lpfc_rcqe_length, in lpfc_prep_seq()
15338 if (tot_len > LPFC_DATA_BUF_SIZE) in lpfc_prep_seq()
15342 first_iocbq->iocb.un.cont64[0].tus.f.bdeSize = tot_len; in lpfc_prep_seq()
15346 first_iocbq->iocb.unsli3.rcvsli3.acc_len = tot_len; in lpfc_prep_seq()
15373 tot_len += len; in lpfc_prep_seq()
15399 tot_len += len; in lpfc_prep_seq()
15400 iocbq->iocb.unsli3.rcvsli3.acc_len = tot_len; in lpfc_prep_seq()
/linux-4.4.14/drivers/scsi/qla2xxx/
Dqla_target.c2045 unsigned int tot_len = 0; in qlt_check_srr_debug() local
2051 tot_len += cmd->sg[i].length; in qlt_check_srr_debug()
2056 " cmd->sg_cnt %d)", cmd, se_cmd->tag, tot_len, leave, in qlt_check_srr_debug()
2059 cmd->bufflen = tot_len; in qlt_check_srr_debug()
/linux-4.4.14/drivers/net/ethernet/qlogic/
Dqla3xxx.c2466 u32 tot_len = skb->len; in ql3xxx_send() local
2486 mac_iocb_ptr->data_len = cpu_to_le16((u16) tot_len); in ql3xxx_send()
/linux-4.4.14/drivers/net/ethernet/packetengines/
Dhamachi.c1524 if (ntohs(ih->tot_len) >= 46){ in hamachi_rx()
/linux-4.4.14/drivers/net/ethernet/intel/i40evf/
Di40e_txrx.c1467 iph->tot_len = 0; in i40e_tso()
/linux-4.4.14/drivers/net/ethernet/pasemi/
Dpasemi_mac.c282 if (ntohs(iph->tot_len) < ip_len + tcp_hdrlen(skb)) in get_skb_hdr()
/linux-4.4.14/drivers/net/wireless/ath/wil6210/
Dtxrx.c1276 ip_hdr(skb)->tot_len = 0; in __wil_tx_vring_tso()
/linux-4.4.14/drivers/net/ethernet/neterion/
Ds2io.c8280 return ntohs(ip->tot_len) - (ip->ihl << 2) - (tcp->doff << 2); in get_l4_pyld_length()
8294 lro->total_len = ntohs(ip->tot_len); in initiate_new_session()
8320 csum_replace2(&ip->check, ip->tot_len, htons(lro->total_len)); in update_L3L4_header()
8321 ip->tot_len = htons(lro->total_len); in update_L3L4_header()
/linux-4.4.14/drivers/net/wireless/iwlwifi/mvm/
Dd3.c475 pkt->ip.tot_len = cpu_to_be16(ip_tot_len); in iwl_mvm_build_tcp_packet()
/linux-4.4.14/drivers/net/ethernet/intel/ixgb/
Dixgb_main.c1237 iph->tot_len = 0; in ixgb_tso()
/linux-4.4.14/drivers/scsi/cxgbi/cxgb4i/
Dcxgb4i.c1843 pgl->tot_len); in t4_uld_rx_handler()
/linux-4.4.14/drivers/net/ethernet/intel/igbvf/
Dnetdev.c1937 iph->tot_len = 0; in igbvf_tso()
/linux-4.4.14/drivers/net/ethernet/intel/i40e/
Di40e_txrx.c2218 iph->tot_len = 0; in i40e_tso()
/linux-4.4.14/drivers/net/ethernet/atheros/atl1c/
Datl1c_main.c1999 + ntohs(ip_hdr(skb)->tot_len)); in atl1c_tso_csum()
/linux-4.4.14/drivers/net/usb/
Dhso.c900 frame_len = ntohs(odev->rx_ip_hdr.tot_len); in packetizeRx()
/linux-4.4.14/drivers/net/ethernet/intel/ixgbevf/
Dixgbevf_main.c3303 iph->tot_len = 0; in ixgbevf_tso()
/linux-4.4.14/drivers/net/ethernet/atheros/atlx/
Datl1.c2136 ntohs(iph->tot_len)); in atl1_tso()
/linux-4.4.14/drivers/s390/net/
Dqeth_l3_main.c2812 iph->tot_len = 0; in qeth_tso_fill_header()
/linux-4.4.14/drivers/net/ethernet/brocade/bna/
Dbnad.c2516 iph->tot_len = 0; in bnad_tso_prepare()
/linux-4.4.14/drivers/net/ethernet/broadcom/
Dtg3.c7961 ip_tot_len = iph->tot_len; in tg3_start_xmit()
7963 iph->tot_len = htons(mss + hdr_len); in tg3_start_xmit()
8097 iph->tot_len = ip_tot_len; in tg3_start_xmit()
13414 iph->tot_len = htons((u16)(mss + hdr_len)); in tg3_run_loopback()
/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_cmn.c3711 (__force u32)iph->tot_len - in bnx2x_update_pbds_gso_enc()
/linux-4.4.14/drivers/net/ethernet/intel/e1000/
De1000_main.c2722 iph->tot_len = 0; in e1000_tso()
/linux-4.4.14/drivers/net/ethernet/qlogic/qlge/
Dqlge_main.c2626 len = (ntohs(iph->tot_len) - (iph->ihl << 2)); in ql_hw_csum_setup()
/linux-4.4.14/drivers/net/ethernet/emulex/benet/
Dbe_main.c1072 pskb_trim(skb, eth_hdr_len + ntohs(ip->tot_len)); in be_lancer_xmit_workarounds()
/linux-4.4.14/drivers/net/ethernet/micrel/
Dksz884x.c4981 protocol = iph->tot_len; in csum_verified()
/linux-4.4.14/drivers/net/ethernet/intel/igb/
Digb_main.c4667 iph->tot_len = 0; in igb_tso()
/linux-4.4.14/drivers/net/ethernet/intel/e1000e/
Dnetdev.c5360 iph->tot_len = 0; in e1000_tso()
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/
Dixgbe_main.c6959 iph->tot_len = 0; in ixgbe_tso()