/linux-master/net/ |
H A D | socket.c | 3680 * kernel_sock_ip_overhead - returns the IP overhead imposed by a socket 3683 * This routine returns the IP overhead imposed by a socket i.e. 3693 u32 overhead = 0; local 3700 return overhead; 3705 overhead += sizeof(struct iphdr); 3709 overhead += opt->opt.optlen; 3710 return overhead; 3714 overhead += sizeof(struct ipv6hdr); 3719 overhead += (optv6->opt_flen + optv6->opt_nflen); 3720 return overhead; [all...] |
/linux-master/net/mptcp/ |
H A D | protocol.c | 985 int len = dfrag->data_len + dfrag->overhead; 1108 dfrag->overhead = offset - orig_offset + sizeof(struct mptcp_data_frag); 1854 frag_truesize = dfrag->overhead;
|
H A D | protocol.h | 252 u16 overhead; member in struct:mptcp_data_frag
|
/linux-master/fs/ext4/ |
H A D | super.c | 3412 * Note, this does *not* consider any metadata overhead for vfs i_blocks. 4111 * Note: calculating the overhead so we can be compatible with 4115 * Calculating the exact overhead in the face of clustered allocation 4186 * Compute the overhead and stash it in sbi->s_overhead 4195 ext4_fsblk_t overhead = 0; local 4202 * Compute the overhead (FS structures). This is constant 4208 * All of the blocks before first_data_block are overhead 4210 overhead = EXT4_B2C(sbi, le32_to_cpu(es->s_first_data_block)); 4213 * Add the overhead found in each block group 4219 overhead 6800 ext4_fsblk_t overhead = 0, resv_blocks; local [all...] |
/linux-master/drivers/gpu/drm/i915/display/ |
H A D | intel_dp_mst.c | 69 * Bspec/49259 suggests that the FEC overhead needs to be 71 * or any other overhead is applicable here (that is the actual 82 * overhead needs to be accounted for. 97 int overhead; local 111 overhead = drm_dp_bw_overhead(crtc_state->lane_count, 118 * TODO: clarify whether a minimum required by the fixed FEC overhead 121 return max(overhead, intel_dp_bw_fec_overhead(crtc_state->fec_enable)); 126 int overhead, 137 overhead, 150 * to calculate PBN with the BW overhead passe 124 intel_dp_mst_compute_m_n(const struct intel_crtc_state *crtc_state, const struct intel_connector *connector, int overhead, int bpp_x16, struct intel_link_m_n *m_n) argument [all...] |
/linux-master/drivers/gpu/drm/display/ |
H A D | drm_dp_mst_topology.c | 4756 * peak_kbps *= SSC overhead / 1000000 4762 * the overhead. For now it's assumed that these are 4764 * significant data padding overhead and that there is no DSC 4765 * or FEC overhead. 4767 int overhead = drm_dp_bw_overhead(4, 4096, 0, bpp, local 4771 return DIV64_U64_ROUND_UP(mul_u32_u32(clock * bpp, 64 * overhead >> 4),
|
H A D | drm_dp_helper.c | 4120 * drm_dp_bw_overhead - Calculate the BW overhead of a DP link stream 4127 * Calculate the BW allocation overhead of a DP link stream, depending 4138 * Note that this overhead doesn't account for the 8b/10b, 128b/132b 4142 * Returns the overhead as 100% + overhead% in 1ppm units. 4150 u32 overhead = 1000000; local 4154 DRM_DEBUG_KMS("Invalid BW overhead params: lane_count %d, hactive %d, bpp_x16 %d.%04d\n", 4166 overhead += 6000; 4182 overhead += 24016; 4186 * The FEC overhead fo [all...] |
/linux-master/net/sched/ |
H A D | sch_taprio.c | 289 /* Compensate for L1 overhead from size table, 293 max_frm_len -= stab->szopts.overhead;
|
H A D | sch_htb.c | 1794 if (hopt->rate.overhead || hopt->ceil.overhead) { 1795 NL_SET_ERR_MSG(extack, "HTB offload doesn't support the overhead parameter");
|
H A D | sch_generic.c | 770 * the overhead of the second spin_trylock() in 1544 r->overhead = conf->overhead;
|
H A D | sch_api.c | 574 pkt_len = skb->len + stab->szopts.overhead;
|
/linux-master/net/dsa/ |
H A D | user.c | 2064 int overhead; local 2093 overhead = dsa_tag_protocol_overhead(cpu_dp->tag_ops); 2094 mtu_limit = min_t(int, conduit->max_mtu, dev->max_mtu + overhead); 2096 new_conduit_mtu = largest_mtu + overhead; 2131 dsa_port_mtu_change(cpu_dp, old_conduit_mtu - overhead);
|
/linux-master/include/net/ |
H A D | sch_generic.h | 1261 u16 overhead; member in struct:psched_ratecfg 1270 len += r->overhead; 1296 res->overhead = r->overhead;
|
H A D | flow_offload.h | 283 u16 overhead; member in struct:flow_action_entry::__anon2718::__anon2724
|
/linux-master/drivers/net/usb/ |
H A D | smsc95xx.c | 1933 int overhead = csum ? SMSC95XX_TX_OVERHEAD_CSUM : SMSC95XX_TX_OVERHEAD; local 1940 /* Make writable and expand header space by overhead if required */ 1941 if (skb_cow_head(skb, overhead)) {
|
/linux-master/drivers/net/ethernet/ti/ |
H A D | cpsw_priv.c | 1474 act->police.avrate || act->police.overhead) { 1476 "Offload not supported when bytes per second/peakrate/avrate/overhead is configured");
|
H A D | am65-cpsw-qos.c | 1086 act->police.avrate || act->police.overhead) { 1088 "Offload not supported when bytes per second/peakrate/avrate/overhead is configured");
|
/linux-master/drivers/net/ethernet/sfc/siena/ |
H A D | efx_common.c | 276 * framing, overhead and XDP headroom + tailroom. 278 int overhead = EFX_MAX_FRAME_LEN(0) + sizeof(struct efx_rx_page_state) + local 282 return PAGE_SIZE - overhead;
|
/linux-master/drivers/net/ethernet/sfc/ |
H A D | efx_common.c | 272 * framing, overhead and XDP headroom + tailroom. 274 int overhead = EFX_MAX_FRAME_LEN(0) + sizeof(struct efx_rx_page_state) + local 278 return PAGE_SIZE - overhead;
|
/linux-master/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_flower.c | 43 act->police.avrate || act->police.overhead) { 45 "Offload not supported when peakrate/avrate/overhead is configured");
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_tc.c | 4954 act->police.avrate || act->police.overhead) { 4956 "Offload not supported when peakrate/avrate/overhead is configured");
|
/linux-master/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_tc.c | 224 act->police.avrate || act->police.overhead) { 226 "Offload not supported when peakrate/avrate/overhead is configured");
|
/linux-master/drivers/net/dsa/sja1105/ |
H A D | sja1105_flower.c | 331 act->police.avrate || act->police.overhead) { 333 "Offload not supported when peakrate/avrate/overhead is configured");
|
/linux-master/net/l2tp/ |
H A D | l2tp_eth.c | 201 unsigned int overhead = 0; local 207 overhead += sizeof(struct udphdr); 223 /* Adjust MTU, factor overhead - underlay L3, overlay L2 hdr 224 * UDP overhead, if any, was already factored in above. 226 overhead += session->hdr_len + ETH_HLEN + l3_overhead; 228 mtu = l2tp_tunnel_dst_mtu(tunnel) - overhead; 230 dev->mtu = ETH_DATA_LEN - overhead;
|
/linux-master/drivers/usb/host/ |
H A D | xhci.h | 614 /* Each device speed has a protocol overhead (CRC, bit stuffing, etc) associated 615 * with each byte transferred. SuperSpeed devices have an initial overhead to 616 * set up bursts. These are in blocks, see above. LS overhead has already been 628 * of overhead associated with split transfers crossing microframe boundaries. 629 * 31 blocks is pure protocol overhead. 711 unsigned int overhead[3]; member in struct:xhci_interval_bw
|